Disabling Segment Routing in an Area
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys/ospf.json
{ "ospfEntity": { "children": [ { "ospfInst": { "attributes": { "name": "Test_1" }, "children": [ { "ospfDom": { "attributes": { "name": "default" }, "children": [ { "ospfArea": { "attributes": { "id": "0.0.48.57", "sgmntRtgMpls": "disable" }}}]}}]}}]}}
Response
{ imdata:[] }
Copy
<System> <ospf-items> <inst-items> <Inst-list> <name>Test_1</name> <dom-items> <Dom-list> <name>default</name> <area-items> <Area-list> <id>0.0.48.57</id> <sgmntRtgMpls>disable</sgmntRtgMpls> </Area-list> </area-items> </Dom-list> </dom-items> </Inst-list> </inst-items> </ospf-items> </System>