cisco.dnac.flow_analysis – Manage FlowAnalysis objects of PathTrace¶
Note
This plugin is part of the cisco.dnac collection (version 2.0.7).
To install it use: ansible-galaxy collection install cisco.dnac
.
To use it in a playbook, specify: cisco.dnac.flow_analysis
.
New in version 1.0.0: of cisco.dnac
Synopsis¶
Returns a summary of all flow analyses stored. Results can be filtered by specified parameters.
Initiates a new flow analysis with periodic refresh and stat collection options. Returns a request id and a task id to get results and follow progress.
Returns result of a previously requested flow analysis by its Flow Analysis id.
Deletes a flow analysis request by its id.
Note
This module has a corresponding action plugin.
Parameters¶
See Also¶
See also
- cisco.dnac.plugins.module_utils.definitions.flow_analysis
The official documentation on the cisco.dnac.plugins.module_utils.definitions.flow_analysis module.
- FlowAnalysis reference
Complete reference of the FlowAnalysis object model.
- FlowAnalysis reference
SDK reference.
Examples¶
- name: retrives_all_previous_pathtraces_summary
cisco.dnac.flow_analysis:
state: query # required
dest_ip: SomeValue # string
dest_port: SomeValue # string
gt_create_time: SomeValue # string
last_update_time: SomeValue # string
limit: SomeValue # string
lt_create_time: SomeValue # string
offset: SomeValue # string
order: SomeValue # string
periodic_refresh: True # boolean
protocol: SomeValue # string
sort_by: SomeValue # string
source_ip: SomeValue # string
source_port: SomeValue # string
status: SomeValue # string
task_id: SomeValue # string
register: nm_retrives_all_previous_pathtraces_summary
- name: initiate_a_new_pathtrace
cisco.dnac.flow_analysis:
state: create # required
destIP: SomeValue # string, required
sourceIP: SomeValue # string, required
controlPath: True # boolean
destPort: SomeValue # string
inclusions:
- SomeValue # string
periodicRefresh: True # boolean
protocol: SomeValue # string
sourcePort: SomeValue # string
- name: retrieves_previous_pathtrace
cisco.dnac.flow_analysis:
state: query # required
flow_analysis_id: SomeValue # string, required
register: nm_retrieves_previous_pathtrace
- name: deletes_pathtrace_by_id
cisco.dnac.flow_analysis:
state: delete # required
flow_analysis_id: SomeValue # string, required
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Rafael Campos (@racampos)