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?
51 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 51 attribute :pn_alias |
#pn_assignment ⇒ :none, ...
40 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 40 attribute :pn_assignment |
#pn_clipassword ⇒ String?
17 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 17 attribute :pn_clipassword |
#pn_cliswitch ⇒ Object?
21 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 21 attribute :pn_cliswitch |
#pn_cliusername ⇒ String?
13 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 13 attribute :pn_cliusername |
#pn_exclusive ⇒ Object?
54 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 54 attribute :pn_exclusive |
#pn_interface ⇒ :mgmt, ...
47 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 47 attribute :pn_interface |
#pn_interface_ip ⇒ String?
36 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 36 attribute :pn_interface_ip |
#pn_l3port ⇒ Object?
70 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 70 attribute :pn_l3port |
#pn_nic_enable ⇒ Object?
57 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 57 attribute :pn_nic_enable |
#pn_nic_str ⇒ Object?
76 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 76 attribute :pn_nic_str |
#pn_secondary_macs ⇒ Object?
73 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 73 attribute :pn_secondary_macs |
#pn_vlan ⇒ Integer?
32 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 32 attribute :pn_vlan |
#pn_vrouter_name ⇒ String
28 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 28 attribute :pn_vrouter_name |
#pn_vrrp_adv_int ⇒ Object?
67 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 67 attribute :pn_vrrp_adv_int |
#pn_vrrp_id ⇒ Object?
60 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 60 attribute :pn_vrrp_id |
#pn_vrrp_priority ⇒ Integer?
63 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 63 attribute :pn_vrrp_priority |
#pn_vxlan ⇒ Object?
44 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 44 attribute :pn_vxlan |
#state ⇒ :present, ...
24 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_vrouterif.rb', line 24 attribute :state |