Class: Ansible::Ruby::Modules::Ce_static_route

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

Overview

Manages the static routes on HUAWEI CloudEngine switches.

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

#aftype:v4, :v6

Returns Destination ip address family type of static route.

Returns:

  • (:v4, :v6)

    Destination ip address family type of static route.



20
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_static_route.rb', line 20

attribute :aftype

#descriptionObject?

Returns Name of the route. Used with the name parameter on the CLI.

Returns:

  • (Object, nil)

    Name of the route. Used with the name parameter on the CLI.



39
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_static_route.rb', line 39

attribute :description

#destvrfObject?

Returns VPN instance of next hop ip address.

Returns:

  • (Object, nil)

    VPN instance of next hop ip address.



33
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_static_route.rb', line 33

attribute :destvrf

#maskObject

Returns Destination ip mask of static route.

Returns:

  • (Object)

    Destination ip mask of static route.



16
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_static_route.rb', line 16

attribute :mask

#next_hopObject?

Returns Next hop address of static route.

Returns:

  • (Object, nil)

    Next hop address of static route.



24
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_static_route.rb', line 24

attribute :next_hop

#nhp_interfaceObject?

Returns Next hop interface full name of static route.

Returns:

  • (Object, nil)

    Next hop interface full name of static route.



27
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_static_route.rb', line 27

attribute :nhp_interface

#prefObject?

Returns Preference or administrative difference of route (range 1-255).

Returns:

  • (Object, nil)

    Preference or administrative difference of route (range 1-255).



42
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_static_route.rb', line 42

attribute :pref

#prefixObject

Returns Destination ip address of static route.

Returns:

  • (Object)

    Destination ip address of static route.



12
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_static_route.rb', line 12

attribute :prefix

#state:present, ...

Returns Specify desired state of the resource.

Returns:

  • (:present, :absent, nil)

    Specify desired state of the resource.



45
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_static_route.rb', line 45

attribute :state

#tagObject?

Returns Route tag value (numeric).

Returns:

  • (Object, nil)

    Route tag value (numeric).



36
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_static_route.rb', line 36

attribute :tag

#vrfObject?

Returns VPN instance of destination ip address.

Returns:

  • (Object, nil)

    VPN instance of destination ip address.



30
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_static_route.rb', line 30

attribute :vrf