Skip to content

Latest commit

 

History

History
129 lines (103 loc) · 4.74 KB

comware_TelemetryFlowTrace_module.rst

File metadata and controls

129 lines (103 loc) · 4.74 KB

comware_TelemetryFlowTrace

Added in version 1.0

Manage Package information of the message sent to the collector on V7 devices

parameter required default choices comments
sourceID yes The source IP address of the packet package of the uplink collector
destinID yes Destination IP address of the packet package of the uplink collector
sourcePort yes The source port number of the message package of the up sending collector.
destinPort yes Destination port number of the message package of the uplink collector.
state no present
  • present
  • absent
Desired state of the switchport
hostname yes IP Address or hostname of the Comware v7 device that has NETCONF enabled
username yes Username used to login to the switch
password yes Password used to login to the switch
port no 830 NETCONF port number
look_for_keys no False Whether searching for discoverable private key files in ~/.ssh/


# basic config
- comware_TelemetryFlowTrace: sourceID=10.10.10.1 destinID=10.10.10.2 sourcePort=10 destinPort=30 username={{ username }}
   password={{ password }} hostname={{ inventory_hostname }}

# delete config
 -comware_TelemetryFlowTrace: sourceID=10.10.10.1 destinID=10.10.10.2 sourcePort=10 destinPort=30 state=absent
   username={{ username }} password={{ password }} hostname={{ inventory_hostname }}

Note

If state=absent, the config will be removed