Class: Ansible::Ruby::Modules::Nmcli

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/network/nmcli.rb

Instance Method Summary collapse

Methods inherited from Base

#to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#ageingtimeInteger?

Returns This is only used with bridge - [ageing-time <0-1000000>] the Ethernet MAC address aging time, in seconds.

Returns:

  • (Integer, nil)

    This is only used with bridge - [ageing-time <0-1000000>] the Ethernet MAC address aging time, in seconds



97
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 97

attribute :ageingtime

#arp_intervalObject?

Returns This is only used with bond - ARP interval.

Returns:

  • (Object, nil)

    This is only used with bond - ARP interval



72
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 72

attribute :arp_interval

#arp_ip_targetObject?

Returns This is only used with bond - ARP IP target.

Returns:

  • (Object, nil)

    This is only used with bond - ARP IP target



75
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 75

attribute :arp_ip_target

#autoconnect:yes, ...

Returns Whether the connection should start on boot.,Whether the connection profile can be automatically activated.

Returns:

  • (:yes, :no, nil)

    Whether the connection should start on boot.,Whether the connection profile can be automatically activated



14
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 14

attribute :autoconnect

#conn_nameObject

Returns Where conn_name will be the name used to call the connection. when not provided a default name is generated: <type>[-<num>].

Returns:

  • (Object)

    Where conn_name will be the name used to call the connection. when not provided a default name is generated: <type>[-<num>]



18
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 18

attribute :conn_name

#dns4Object?

Returns A list of upto 3 dns servers, ipv4 format e.g. To add two IPv4 DNS server addresses: [“8.8.8.8 8.8.4.4”].

Returns:

  • (Object, nil)

    A list of upto 3 dns servers, ipv4 format e.g. To add two IPv4 DNS server addresses: [“8.8.8.8 8.8.4.4”]



43
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 43

attribute :dns4

#dns6Object?

Returns A list of upto 3 dns servers, ipv6 format e.g. To add two IPv6 DNS server addresses: [“2001:4860:4860::8888 2001:4860:4860::8844”].

Returns:

  • (Object, nil)

    A list of upto 3 dns servers, ipv6 format e.g. To add two IPv6 DNS server addresses: [“2001:4860:4860::8888 2001:4860:4860::8844”]



52
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 52

attribute :dns6

#downdelayObject?

Returns This is only used with bond - downdelay.

Returns:

  • (Object, nil)

    This is only used with bond - downdelay



66
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 66

attribute :downdelay

#egressObject?

Returns This is only used with VLAN - VLAN egress priority mapping.

Returns:

  • (Object, nil)

    This is only used with VLAN - VLAN egress priority mapping



128
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 128

attribute :egress

#flagsObject?

Returns This is only used with VLAN - flags.

Returns:

  • (Object, nil)

    This is only used with VLAN - flags



122
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 122

attribute :flags

#forwarddelayInteger?

Returns This is only used with bridge - [forward-delay <2-30>] STP forwarding delay, in seconds.

Returns:

  • (Integer, nil)

    This is only used with bridge - [forward-delay <2-30>] STP forwarding delay, in seconds



85
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 85

attribute :forwarddelay

#gw4Object?

Returns The IPv4 gateway for this interface using this format ie: “192.168.100.1”.

Returns:

  • (Object, nil)

    The IPv4 gateway for this interface using this format ie: “192.168.100.1”



40
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 40

attribute :gw4

#gw6Object?

Returns The IPv6 gateway for this interface using this format ie: “2001:db8::1”.

Returns:

  • (Object, nil)

    The IPv6 gateway for this interface using this format ie: “2001:db8::1”



49
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 49

attribute :gw6

#hairpinBoolean?

Returns This is only used with ‘bridge-slave’ - ‘hairpin mode’ for the slave, which allows frames to be sent back out through the slave the frame was received on.

Returns:

  • (Boolean, nil)

    This is only used with ‘bridge-slave’ - ‘hairpin mode’ for the slave, which allows frames to be sent back out through the slave the frame was received on.



112
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 112

attribute :hairpin

#hellotimeInteger?

Returns This is only used with bridge - [hello-time <1-10>] STP hello time, in seconds.

Returns:

  • (Integer, nil)

    This is only used with bridge - [hello-time <1-10>] STP hello time, in seconds



89
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 89

attribute :hellotime

#ifnameString?

Returns Where IFNAME will be the what we call the interface name.,interface to bind the connection to. The connection will only be applicable to this interface name.,A special value of “*” can be used for interface-independent connections.,The ifname argument is mandatory for all connection types except bond, team, bridge and vlan.

Returns:

  • (String, nil)

    Where IFNAME will be the what we call the interface name.,interface to bind the connection to. The connection will only be applicable to this interface name.,A special value of “*” can be used for interface-independent connections.,The ifname argument is mandatory for all connection types except bond, team, bridge and vlan.



22
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 22

attribute :ifname

#ingressObject?

Returns This is only used with VLAN - VLAN ingress priority mapping.

Returns:

  • (Object, nil)

    This is only used with VLAN - VLAN ingress priority mapping



125
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 125

attribute :ingress

#ip4Object?

Returns The IPv4 address to this interface using this format ie: “192.168.1.24/24”.

Returns:

  • (Object, nil)

    The IPv4 address to this interface using this format ie: “192.168.1.24/24”



37
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 37

attribute :ip4

#ip6Object?

Returns The IPv6 address to this interface using this format ie: “abbe::cafe”.

Returns:

  • (Object, nil)

    The IPv6 address to this interface using this format ie: “abbe::cafe”



46
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 46

attribute :ip6

#macObject?

Returns This is only used with bridge - MAC address of the bridge (note: this requires a recent kernel feature, originally introduced in 3.15 upstream kernel).

Returns:

  • (Object, nil)

    This is only used with bridge - MAC address of the bridge (note: this requires a recent kernel feature, originally introduced in 3.15 upstream kernel)



101
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 101

attribute :mac

#masterObject?

Returns master <master (ifname, or connection UUID or conn_name) of bridge, team, bond master connection profile.

Returns:

  • (Object, nil)

    master <master (ifname, or connection UUID or conn_name) of bridge, team, bond master connection profile.



34
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 34

attribute :master

#maxageInteger?

Returns This is only used with bridge - [max-age <6-42>] STP maximum message age, in seconds.

Returns:

  • (Integer, nil)

    This is only used with bridge - [max-age <6-42>] STP maximum message age, in seconds



93
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 93

attribute :maxage

#miimonInteger?

Returns This is only used with bond - miimon.

Returns:

  • (Integer, nil)

    This is only used with bond - miimon



62
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 62

attribute :miimon

#mode:"balance-rr", ...

Returns This is the type of device or network connection that you wish to create for a bond, team or bridge.

Returns:

  • (:"balance-rr", :"active-backup", :"balance-xor", :broadcast, :"802.3ad", :"balance-tlb", :"balance-alb", nil)

    This is the type of device or network connection that you wish to create for a bond, team or bridge.



30
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 30

attribute :mode

#mtuInteger?

Returns The connection MTU, e.g. 9000. This can’t be applied when creating the interface and is done once the interface has been created.,Can be used when modifying Team, VLAN, Ethernet (Future plans to implement wifi, pppoe, infiniband).

Returns:

  • (Integer, nil)

    The connection MTU, e.g. 9000. This can’t be applied when creating the interface and is done once the interface has been created.,Can be used when modifying Team, VLAN, Ethernet (Future plans to implement wifi, pppoe, infiniband)



55
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 55

attribute :mtu

#path_costInteger?

Returns This is only used with ‘bridge-slave’ - [<1-65535>] - STP port cost for destinations via this slave.

Returns:

  • (Integer, nil)

    This is only used with ‘bridge-slave’ - [<1-65535>] - STP port cost for destinations via this slave



108
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 108

attribute :path_cost

#primaryObject?

Returns This is only used with bond and is the primary interface name (for “active-backup” mode), this is the usually the ‘ifname’.

Returns:

  • (Object, nil)

    This is only used with bond and is the primary interface name (for “active-backup” mode), this is the usually the ‘ifname’



59
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 59

attribute :primary

#priorityInteger?

Returns This is only used with ‘bridge’ - sets STP priority.

Returns:

  • (Integer, nil)

    This is only used with ‘bridge’ - sets STP priority



81
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 81

attribute :priority

#slavepriorityInteger?

Returns This is only used with ‘bridge-slave’ - [<0-63>] - STP priority of this slave.

Returns:

  • (Integer, nil)

    This is only used with ‘bridge-slave’ - [<0-63>] - STP priority of this slave



104
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 104

attribute :slavepriority

#state:present, :absent

Returns Whether the device should exist or not, taking action if the state is different from what is stated.

Returns:

  • (:present, :absent)

    Whether the device should exist or not, taking action if the state is different from what is stated.



10
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 10

attribute :state

#stpObject?

Returns This is only used with bridge and controls whether Spanning Tree Protocol (STP) is enabled for this bridge.

Returns:

  • (Object, nil)

    This is only used with bridge and controls whether Spanning Tree Protocol (STP) is enabled for this bridge



78
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 78

attribute :stp

#type:ethernet, ...

Returns This is the type of device or network connection that you wish to create.

Returns:

  • (:ethernet, :team, :"team-slave", :bond, :"bond-slave", :bridge, :vlan, nil)

    This is the type of device or network connection that you wish to create.



26
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 26

attribute :type

#updelayObject?

Returns This is only used with bond - updelay.

Returns:

  • (Object, nil)

    This is only used with bond - updelay



69
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 69

attribute :updelay

#vlandevObject?

Returns This is only used with VLAN - parent device this VLAN is on, can use ifname.

Returns:

  • (Object, nil)

    This is only used with VLAN - parent device this VLAN is on, can use ifname



119
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 119

attribute :vlandev

#vlanidObject?

Returns This is only used with VLAN - VLAN ID in range <0-4095>.

Returns:

  • (Object, nil)

    This is only used with VLAN - VLAN ID in range <0-4095>



116
# File 'lib/ansible/ruby/modules/generated/extras/network/nmcli.rb', line 116

attribute :vlanid