Class: Ansible::Ruby::Modules::Pn_ospf

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

Overview

Execute vrouter-ospf-add, vrouter-ospf-remove command. This command adds/removes Open Shortest Path First(OSPF) routing protocol to a virtual router(vRouter) service.

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

Returns Provide login password if user is not root.

Returns:

  • (Object, nil)

    Provide login password if user is not root.



16
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_ospf.rb', line 16

attribute :pn_clipassword

#pn_cliswitchObject?

Returns Target switch to run the CLI on.

Returns:

  • (Object, nil)

    Target switch to run the CLI on.



19
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_ospf.rb', line 19

attribute :pn_cliswitch

#pn_cliusernameObject?

Returns Provide login username if user is not root.

Returns:

  • (Object, nil)

    Provide login username if user is not root.



13
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_ospf.rb', line 13

attribute :pn_cliusername

#pn_network_ipString

Returns Specify the network IP (IPv4 or IPv6) address.

Returns:

  • (String)

    Specify the network IP (IPv4 or IPv6) address.



30
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_ospf.rb', line 30

attribute :pn_network_ip

#pn_ospf_areaString?

Returns Stub area number for the configuration. Required for vrouter-ospf-add.

Returns:

  • (String, nil)

    Stub area number for the configuration. Required for vrouter-ospf-add.



34
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_ospf.rb', line 34

attribute :pn_ospf_area

#pn_vrouter_nameString

Returns Specify the name of the vRouter.

Returns:

  • (String)

    Specify the name of the vRouter.



26
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_ospf.rb', line 26

attribute :pn_vrouter_name

#state:present, :absent

Returns Assert the state of the ospf. Use ‘present’ to add ospf and ‘absent’ to remove ospf.

Returns:

  • (:present, :absent)

    Assert the state of the ospf. Use ‘present’ to add ospf and ‘absent’ to remove ospf.



22
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_ospf.rb', line 22

attribute :state