# Templates
restapi.sz.templatefile=security-zone-allotted-resource.json
restapi.cr.templatefile=contrail-route-allotted-resource.json
+restapi.brg.templatefile=brg-allotted-resource.json
+restapi.tx.templatefile=tx-allotted-resource.json
restapi.parentsvc.templatefile=parent-provided-allotted-resource.json
restapi.network-ar.templatefile=network-provided-allotted-resources.json
restapi.vnf-ar.templatefile=vnf-provided-allotted-resources.json
# URLs
restapi.cr-allottedresource=/restconf/config/GENERIC-RESOURCE-API:contrail-route-allotted-resources/contrail-route-allotted-resource/{allotted-resource-id}/
restapi.sz-allottedresource=/restconf/config/GENERIC-RESOURCE-API:security-zone-allotted-resources/security-zone-allotted-resource/{allotted-resource-id}/
+restapi.brg-allottedresource=/restconf/config/GENERIC-RESOURCE-API:brg-allotted-resources/brg-allotted-resource/{allotted-resource-id}/
+restapi.tx-allottedresource=/restconf/config/GENERIC-RESOURCE-API:tunnelxconn-allotted-resources/tunnelxconn-allotted-resource/{allotted-resource-id}/
restapi.vnf-provided-allottedresource=/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data/vnfs/vnf/{vnf-id}/vnf-data/vnf-provided-allotted-resources/
restapi.network-provided-allottedresource=/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data/vnfs/vnf/{vnf-id}/vnf-data/vnf-provided-allotted-resources/
restapi.pm-configuration=/restconf/config/GENERIC-RESOURCE-API:port-mirror-configurations/port-mirror-configuration/{configuration-id}/
{
- "tunnelxconn-allotted-resource": [{
+ "brg-allotted-resource": [{
"allotted-resource-id": ${brg-ar.allotted-resource-id},
"allotted-resource-data": {
- "tunnelxconn-topology": {
+ "brg-topology": {
"allotted-resource-identifiers": {
"consuming-service-instance-id": ${brg-ar.allotted-resource-data.brg-topology.allotted-resource-identifiers.consuming-service-instance-id},
"allotted-resource-name": ${brg-ar.allotted-resource-data.brg-topology.allotted-resource-identifiers.allotted-resource-name},
"model-version": ${brg-ar.allotted-resource-data.brg-topology.onap-model-information.model-version}
},
"brg-assignments": {
- "vbrg-wan-ip": ${brg-ar.allotted-resource-data.tunnelxconn-topology.brg-assignments.vbrg-wan-ip},
+ "vbrg-wan-ip": ${brg-ar.allotted-resource-data.brg-topology.brg-assignments.vbrg-wan-ip},
},
"brg-parameters": {
}
--- /dev/null
+{
+ "l2": {
+ "xconnect-outgoing-interface": "${tmp.tunnel-name}"
+ }
+}
--- /dev/null
+{
+ "interface": [
+ {
+ "enabled": "true",
+ "link-up-down-trap-enable": "enabled",
+ "name": "${tmp.tunnel-name}",
+ "type": "v3po:vxlan-tunnel",
+ "vxlan": {
+ "dst": "${tmp.tunnel-dest-ip}",
+ "encap-vrf-id": "0",
+ "src": "${tmp.tunnel-src-ip}",
+ "vni": "${tmp.tunnel-vni}"
+ }
+ }
+ ]
+}