{"type":"api","title":"Replace Source VLAN in SPAN","meta":{"id":"/apps/pubhub/media/nfvis-api/e3678dda6abe6c2a26c7698d553a4574e3f45071/262737b2-b3c2-32cd-b07b-fdbdcd23918f","info":{"title":"NFVIS API","description":"NFVIS RESTCONF API Documentation","version":"4.14.1"},"x-parser-conf":{"overview":{"markdownPath":"reference/overview.md"}},"swagger":"2.0","basePath":"/{nfvis_ip}/restconf","schemes":["https"],"securityDefinitions":{"basicAuth":{"type":"basic"}}},"spec":{"tags":["Switching - SPAN/RSPAN"],"summary":"Replace Source VLAN in SPAN","description":"Replace existing vlan with current source vlan to SPAN session","operationId":"data_switch_switch_monitor_put","produces":["application/yang-data+json"],"parameters":[{"name":"monitor","in":"body","description":"","required":true,"schema":{"type":"object","properties":{"switch:monitor":{"description":"(non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"session":{"type":"array","description":"(list)","x-yang":{"type":"list"},"items":{"type":"object","properties":{"session-id":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"byte"},"source":{"description":"(non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"interfaces":{"description":"(non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"tengigabitEthernet":{"type":"array","description":"(list)","x-yang":{"type":"list"},"items":{"type":"object","properties":{"name":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"direction":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"enumeration","default":"rx","enum":["rx","tx","both"]}}}},"gigabitEthernet":{"type":"array","description":"(list)","x-yang":{"type":"list"},"items":{"type":"object","properties":{"name":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"direction":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"enumeration","default":"rx","enum":["rx","tx","both"]}}}}}}}},"destination":{"description":"(non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"interfaces":{"description":"(non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"tengigabitEthernet":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"network":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"[null]"}}}}}}}}}}},"$$ref":"#/definitions/data_switch_switch_monitor"},"$$ref":"#/parameters/data_switch_switch_monitor"}],"responses":{"201":{"description":"container monitor created or replaced"},"204":{"description":"No Content","$$ref":"#/responses/204"},"400":{"description":"Bad Request","$$ref":"#/responses/400"},"401":{"description":"Unauthorized","$$ref":"#/responses/401"},"404":{"description":"Not Found","$$ref":"#/responses/404"},"405":{"description":"Method Not Allowed","$$ref":"#/responses/405"},"409":{"description":"Conflict","$$ref":"#/responses/409"}},"security":[{"basicAuth":[]}],"__originalOperationId":"data_switch_switch_monitor_put","consumes":["application/yang-data+json"],"method":"put","path":"/data/switch:switch/monitor"}}