{"type":"api","title":"Create Bridge 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":["Bridge Configuration"],"summary":"Create Bridge Configuration","description":"Create a bridge configuration","operationId":"data_network_bridges_post","produces":["application/yang-data+json"],"parameters":[{"name":"bridges","in":"body","description":"Create bridges for VNF","required":true,"schema":{"type":"object","properties":{"network:bridge":{"type":"array","description":"(list)","x-yang":{"type":"list"},"items":{"type":"object","properties":{"name":{"description":"name of the bridge (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"type":{"description":"type of the bridge (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"enumeration","default":"ethernet","enum":["ethernet","cellular"]},"port":{"type":"array","description":"(list)","x-yang":{"type":"list"},"items":{"type":"object","properties":{"name":{"description":"list of ports assigned to the bridge (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"}}}},"ip":{"description":"IPV4 address configuration (presence)","type":"object","x-yang":{"type":"container","is_presence":"true"},"properties":{"address":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"netmask":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"}}},"ipv6":{"description":"IPV6 address configuration (non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"address":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"union"}}},"vlan":{"description":"VLAN tag for management traffic on bridge (leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"uint16"},"mac-aging-time":{"description":"Maximum number of seconds to retain a MAC learning entry for which no packets have been seen (leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"uint16"},"enable-flow-control":{"description":"enable flow control on the bridge. When set to true communication from VM to VM on the bridge will not be permitted (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"boolean"},"ip-address-pool":{"description":"IP address pool. If pool is configured an ip from the given range will be automatically assigned\nto an interface at VM creation time. This only applies if an IP is NOT provided as part of the deployment\npayload. VMLC manages this pool allocating / de-allocating as required (non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"range-start":{"description":"Starting IP address in the range (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"range-end":{"description":"Ending IP address in the range (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"}}}}}}},"$$ref":"#/definitions/data_network_bridges-post"},"$$ref":"#/parameters/data_network_bridges-post"}],"responses":{"201":{"description":"container bridges created"},"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_bridges_post","consumes":["application/yang-data+json"],"method":"post","path":"/data/network:bridges"}}