Class: Ansible::Ruby::Modules::Ce_netstream_export

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

Overview

Configure NetStream flow statistics exporting and versions for exported packets 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

#as_option:origin, ...

Returns Specifies the AS number recorded in the statistics as the original or the peer AS number.

Returns:

  • (:origin, :peer, nil)

    Specifies the AS number recorded in the statistics as the original or the peer AS number.



32
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_netstream_export.rb', line 32

attribute :as_option

#bgp_nexthop:enable, ...

Returns Configures the statistics to carry BGP next hop information. Currently, only V9 supports the exported packets carrying BGP next hop information.

Returns:

  • (:enable, :disable, nil)

    Configures the statistics to carry BGP next hop information. Currently, only V9 supports the exported packets carrying BGP next hop information.



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

attribute :bgp_nexthop

#host_ipObject?

Returns Specifies destination address which can be IPv6 or IPv4 of the exported NetStream packet.

Returns:

  • (Object, nil)

    Specifies destination address which can be IPv6 or IPv4 of the exported NetStream packet.



19
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_netstream_export.rb', line 19

attribute :host_ip

#host_portObject?

Returns Specifies the destination UDP port number of the exported packets. The value is an integer that ranges from 1 to 65535.

Returns:

  • (Object, nil)

    Specifies the destination UDP port number of the exported packets. The value is an integer that ranges from 1 to 65535.



22
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_netstream_export.rb', line 22

attribute :host_port

#host_vpnObject?

Returns Specifies the VPN instance of the exported packets carrying flow statistics. Ensure the VPN instance has been created on the device.

Returns:

  • (Object, nil)

    Specifies the VPN instance of the exported packets carrying flow statistics. Ensure the VPN instance has been created on the device.



25
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_netstream_export.rb', line 25

attribute :host_vpn

#source_ipObject?

Returns Specifies source address which can be IPv6 or IPv4 of the exported NetStream packet.

Returns:

  • (Object, nil)

    Specifies source address which can be IPv6 or IPv4 of the exported NetStream packet.



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

attribute :source_ip

#state:present, ...

Returns Manage the state of the resource.

Returns:

  • (:present, :absent, nil)

    Manage the state of the resource.



40
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_netstream_export.rb', line 40

attribute :state

#type:ip, :vxlan

Returns Specifies NetStream feature.

Returns:

  • (:ip, :vxlan)

    Specifies NetStream feature.



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

attribute :type

#version5, ...

Returns Sets the version of exported packets.

Returns:

  • (5, 9, nil)

    Sets the version of exported packets.



28
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_netstream_export.rb', line 28

attribute :version