Class: Ansible::Ruby::Modules::Pn_vrouterif

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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_aliasObject?

Returns Specify an alias for the interface.

Returns:

  • (Object, nil)

    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.

Returns:

  • (:none, :dhcp, :dhcpv6, :autov6, nil)

    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_clipasswordString?

Returns Provide login password if user is not root.

Returns:

  • (String, nil)

    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_cliswitchObject?

Returns Target switch to run the cli on.

Returns:

  • (Object, nil)

    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_cliusernameString?

Returns Provide login username if user is not root.

Returns:

  • (String, nil)

    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_exclusiveObject?

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.

Returns:

  • (Object, nil)

    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.

Returns:

  • (:mgmt, :data, :span, nil)

    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_ipString?

Returns Specify the IP address of the interface in x.x.x.x/n format.

Returns:

  • (String, nil)

    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_l3portObject?

Returns Specify a Layer 3 port for the interface.

Returns:

  • (Object, nil)

    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_enableObject?

Returns Specify if the NIC is enabled or not.

Returns:

  • (Object, nil)

    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_strObject?

Returns Specify the type of NIC. Used for vrouter-interface remove/modify.

Returns:

  • (Object, nil)

    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_macsObject?

Returns Specify a secondary MAC address for the interface.

Returns:

  • (Object, nil)

    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_vlanInteger?

Returns Specify the VLAN identifier. This is a value between 1 and 4092.

Returns:

  • (Integer, nil)

    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_nameString

Returns Specify the name of the vRouter interface.

Returns:

  • (String)

    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_intObject?

Returns Specify a VRRP advertisement interval in milliseconds. The range is from 30 to 40950 with a default value of 1000.

Returns:

  • (Object, nil)

    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_idObject?

Returns Specify the ID for the VRRP interface. The IDs on both vRouters must be the same IS number.

Returns:

  • (Object, nil)

    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_priorityInteger?

Returns Specify the priority for the VRRP interface. This is a value between 1 (lowest) and 255 (highest).

Returns:

  • (Integer, nil)

    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_vxlanObject?

Returns Specify the VXLAN identifier. This is a value between 1 and 16777215.

Returns:

  • (Object, nil)

    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.

Returns:

  • (:present, :absent, :update)

    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