Class: Ansible::Ruby::Modules::Pn_vrouterif
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Pn_vrouterif
- Defined in:
- lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb
Overview
Execute vrouter-interface-add, vrouter-interface-remove, vrouter-interface-modify command. You configure interfaces to vRouter services on a fabric, cluster, standalone switch or virtual network(VNET).
Instance Method Summary collapse
-
#pn_alias ⇒ Object?
Specify an alias for the interface.
-
#pn_assignment ⇒ :none, ...
Specify the DHCP method for IP address assignment.
-
#pn_clipassword ⇒ String?
Provide login password if user is not root.
-
#pn_cliswitch ⇒ Object?
Target switch to run the cli on.
-
#pn_cliusername ⇒ String?
Provide login username if user is not root.
-
#pn_exclusive ⇒ Object?
Specify if the interface is exclusive to the configuration.
-
#pn_interface ⇒ :mgmt, ...
Specify if the interface is management, data or span interface.
-
#pn_interface_ip ⇒ String?
Specify the IP address of the interface in x.x.x.x/n format.
-
#pn_l3port ⇒ Object?
Specify a Layer 3 port for the interface.
-
#pn_nic_enable ⇒ Object?
Specify if the NIC is enabled or not.
-
#pn_nic_str ⇒ Object?
Specify the type of NIC.
-
#pn_secondary_macs ⇒ Object?
Specify a secondary MAC address for the interface.
-
#pn_vlan ⇒ Integer?
Specify the VLAN identifier.
-
#pn_vrouter_name ⇒ String
Specify the name of the vRouter interface.
-
#pn_vrrp_adv_int ⇒ Object?
Specify a VRRP advertisement interval in milliseconds.
-
#pn_vrrp_id ⇒ Object?
Specify the ID for the VRRP interface.
-
#pn_vrrp_priority ⇒ Integer?
Specify the priority for the VRRP interface.
-
#pn_vxlan ⇒ Object?
Specify the VXLAN identifier.
-
#state ⇒ :present, ...
State the action to perform.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#pn_alias ⇒ Object?
Returns Specify an alias for the interface.
51 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 51 attribute :pn_alias |
#pn_assignment ⇒ :none, ...
Returns Specify the DHCP method for IP address assignment.
40 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 40 attribute :pn_assignment |
#pn_clipassword ⇒ String?
Returns Provide login password if user is not root.
17 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 17 attribute :pn_clipassword |
#pn_cliswitch ⇒ Object?
Returns Target switch to run the cli on.
21 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 21 attribute :pn_cliswitch |
#pn_cliusername ⇒ String?
Returns Provide login username if user is not root.
13 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 13 attribute :pn_cliusername |
#pn_exclusive ⇒ Object?
Returns Specify if the interface is exclusive to the configuration. Exclusive means that other configurations cannot use the interface. Exclusive is specified when you configure the interface as span interface and allows higher throughput through the interface.
54 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 54 attribute :pn_exclusive |
#pn_interface ⇒ :mgmt, ...
Returns Specify if the interface is management, data or span interface.
47 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 47 attribute :pn_interface |
#pn_interface_ip ⇒ String?
Returns Specify the IP address of the interface in x.x.x.x/n format.
36 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 36 attribute :pn_interface_ip |
#pn_l3port ⇒ Object?
Returns Specify a Layer 3 port for the interface.
70 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 70 attribute :pn_l3port |
#pn_nic_enable ⇒ Object?
Returns Specify if the NIC is enabled or not.
57 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 57 attribute :pn_nic_enable |
#pn_nic_str ⇒ Object?
Returns Specify the type of NIC. Used for vrouter-interface remove/modify.
76 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 76 attribute :pn_nic_str |
#pn_secondary_macs ⇒ Object?
Returns Specify a secondary MAC address for the interface.
73 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 73 attribute :pn_secondary_macs |
#pn_vlan ⇒ Integer?
Returns Specify the VLAN identifier. This is a value between 1 and 4092.
32 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 32 attribute :pn_vlan |
#pn_vrouter_name ⇒ String
Returns Specify the name of the vRouter interface.
28 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 28 attribute :pn_vrouter_name |
#pn_vrrp_adv_int ⇒ Object?
Returns Specify a VRRP advertisement interval in milliseconds. The range is from 30 to 40950 with a default value of 1000.
67 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 67 attribute :pn_vrrp_adv_int |
#pn_vrrp_id ⇒ Object?
Returns Specify the ID for the VRRP interface. The IDs on both vRouters must be the same IS number.
60 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 60 attribute :pn_vrrp_id |
#pn_vrrp_priority ⇒ Integer?
Returns Specify the priority for the VRRP interface. This is a value between 1 (lowest) and 255 (highest).
63 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 63 attribute :pn_vrrp_priority |
#pn_vxlan ⇒ Object?
Returns Specify the VXLAN identifier. This is a value between 1 and 16777215.
44 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 44 attribute :pn_vxlan |
#state ⇒ :present, ...
Returns State the action to perform. Use ‘present’ to add vrouter interface, ‘absent’ to remove vrouter interface and ‘update’ to modify vrouter interface.
24 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 24 attribute :state |