Beryllium 新版功能.
Runner to interact with Novell ASAM Fan-Out Driver
codeauthor: | Nitin Madhok <nmadhok@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"
prov2.domain.com
username: "testuser"
password: "verybadpass"
注解
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
.
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