Defining a Policy Map
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys/ipqos/queuing/p.json
{ "ipqosPMapEntity": { "children": [ { "ipqosPMapInst": { "attributes": { "matchType": "match-all", "name": "foo" }}}]}}
Response
{ imdata:[] }
Copy
<System> <ipqos-items> <queuing-items> <p-items> <name-items> <PMapInst-list> <name>foo</name> <matchType>match-all</matchType> </PMapInst-list> </name-items> </p-items> </queuing-items> </ipqos-items> </System>