Configuring a Flow Record
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/netflow.json
{ "netflowNetflow": { "children": [ { "netflowInst": { "attributes": { "mode": "netflow" }, "children": [ { "netflowRecordP": { "attributes": { "name": "record_1" }}}]}}]}}
Response
{ imdata:[] }
Copy
<System> <hwtelemetry-items> <netflow-items> <inst-items> <Inst-list> <mode>netflow</mode> <recordp-items> <RecordP-list> <name>record_1</name> </RecordP-list> </recordp-items> </Inst-list> </inst-items> </netflow-items> </hwtelemetry-items> </System>