Matching MAC List Enteries
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{ "rpmEntity": { "children": [ { "rtmapRule": { "attributes": { "name": "MAP_123" }, "children": [ { "rtmapEntry": { "attributes": { "action": "permit", "order": "10" }, "children": [ { "rtmapMatchRtMacList": { "children": [ { "rtmapRsRtMacListAtt": { "attributes": { "tDn": "sys/rpm/maclist-[mlist]" }}}]}}]}}]}}]}}
Response
{ imdata:[] }
Copy
<System> <rpm-items> <rtmap-items> <Rule-list> <name>MAP_123</name> <ent-items> <Entry-list> <order>10</order> <action>permit</action> <mrtmaclist-items> <rsrtMacListAtt-items> <RsRtMacListAtt-list> <tDn>/System/rpm-items/maclist-items/RuleMac-list[name='mlist']</tDn> </RsRtMacListAtt-list> </rsrtMacListAtt-items> </mrtmaclist-items> </Entry-list> </ent-items> </Rule-list> </rtmap-items> </rpm-items> </System>