{"type":"api","title":"Get Network Configuration","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":["Network Configuration"],"summary":"Get Network Configuration","description":"Get network configuration","operationId":"data_network_networks_get","produces":["application/yang-data+json"],"parameters":[{"name":"content","in":"query","description":"controlling descendant nodes in response","required":false,"type":"string","format":"enumeration","default":"config","enum":["config","nonconfig","all"],"$$ref":"#/parameters/content"}],"responses":{"200":{"description":"Create networks to attach VNF","schema":{"type":"object","properties":{"network:networks":{"description":"Create networks to attach VNF (non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"network":{"type":"array","description":"(list)","x-yang":{"type":"list"},"items":{"type":"object","properties":{"name":{"description":"The name of the network. SR-IOV network name must be in format of \u003cinterface\u003e-SRIOV-\u003cvf\u003e (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"vlan":{"type":"array","x-yang":{"type":"leaf-list"},"items":{"description":"list of VLANs for this network (leaf-list)","type":"integer","format":"uint16"}},"vlan-ranges":{"description":"VLAN range for this network (non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"vlan-range":{"type":"array","x-yang":{"type":"leaf-list"},"items":{"description":"VLAN range for this network (leaf-list)","type":"string","format":"string"}}}},"trunk":{"description":"set to trunk mode (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"boolean"},"native-vlan":{"description":"Native VLAN (leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"uint16"},"native-tagged":{"description":"tagged or not (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"boolean"},"bridge":{"description":"attach this network to a bridge (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"leafref"},"sriov":{"description":"SRIOV Network (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"boolean"},"user-id":{"description":"User ID associated with a network (leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"uint16"},"exists":{"description":"Status of the Network if the network exist (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"boolean"},"used-by":{"type":"array","description":"(list)","x-yang":{"type":"list"},"items":{"type":"object","properties":{"deployment-name":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"deployment-nic-id":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"uint16"}}}}}}}}}},"$$ref":"#/definitions/data_network_networks"}},"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_network_networks_get","consumes":["application/yang-data+json"],"method":"get","path":"/data/network:networks"}}