Module for running nictagadm command on SmartOS :maintainer: Jorge Schrauwen <sjorge@blackdot.be> :maturity: new :depends: nictagadm binary, dladm binary :platform: smartos
..versionadded:: 2016.11.0
salt.modules.smartos_nictagadm.
add
(name, mac, mtu=1500)¶Add a new nictag
name of new nictag
mac of parent interface or 'etherstub' to create a ether stub
MTU (ignored for etherstubs)
CLI Example:
salt '*' nictagadm.add storage0 etherstub
salt '*' nictagadm.add trunk0 'DE:AD:OO:OO:BE:EF' 9000
salt.modules.smartos_nictagadm.
delete
(name, force=False)¶Delete nictag
nictag to delete
force delete even if vms attached
CLI Example:
salt '*' nictagadm.exists admin
salt.modules.smartos_nictagadm.
exists
(*nictag, **kwargs)¶Check if nictags exists
one or more nictags to check
return list of nictags
CLI Example:
salt '*' nictagadm.exists admin
salt.modules.smartos_nictagadm.
list_nictags
(include_etherstubs=True)¶List all nictags
toggle include of etherstubs
CLI Example:
salt '*' nictagadm.list
salt.modules.smartos_nictagadm.
update
(name, mac=None, mtu=None)¶Update a nictag
name of nictag
optional new mac for nictag
optional new MTU for nictag
CLI Example:
salt '*' nictagadm.update trunk mtu=9000
salt.modules.smartos_nictagadm.
vms
(nictag)¶List all vms connect to nictag
name of nictag
CLI Example:
salt '*' nictagadm.vms admin
Generated on August 05, 2021 at 04:04:00 UTC.
You are viewing docs for the previous stable release, 3000.9. Switch to docs for the latest stable release, 3003.1, or to a recent doc build from the master branch.
© 2021 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy