# salt.runners.asam

## Novell ASAM Runner

Added in version 2015.8.0.

Runner to interact with Novell ASAM Fan-Out Driver

codeauthor:

  Nitin Madhok <nmadhok@g.clemson.edu>

To use this runner, set up the Novell Fan-Out Driver URL, username and password in the master configuration at `/etc/salt/master` or `/etc/salt/master.d/asam.conf`:

    asam:
      prov1.domain.com
        username: "testuser"
        password: "verybadpass"
        verify_ssl: true
      prov2.domain.com
        username: "testuser"
        password: "verybadpass"
        verify_ssl: true

Note

Optionally, `protocol` and `port` can be specified if the Fan-Out Driver server is not using the defaults. Default is `protocol: https` and `port: 3451`.

class salt.runners.asam.ASAMHTMLParser
  handle_starttag(tag, attrs)

salt.runners.asam.add_platform(name, platform_set, server_url)

  To add an ASAM platform using the specified ASAM platform set on the Novell Fan-Out Driver

  CLI Example:

      salt-run asam.add_platform my-test-vm test-platform-set prov1.domain.com

salt.runners.asam.list_platform_sets(server_url)

  To list all ASAM platform sets present on the Novell Fan-Out Driver

  CLI Example:

      salt-run asam.list_platform_sets prov1.domain.com

salt.runners.asam.list_platforms(server_url)

  To list all ASAM platforms present on the Novell Fan-Out Driver

  CLI Example:

      salt-run asam.list_platforms prov1.domain.com

salt.runners.asam.remove_platform(name, server_url)

  To remove specified ASAM platform from the Novell Fan-Out Driver

  CLI Example:

      salt-run asam.remove_platform my-test-vm prov1.domain.com