X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=generic-resource-api%2Fmodel%2Fsrc%2Fmain%2Fyang%2FGENERIC-RESOURCE-API.yang;h=6f77628786f8c82c636b3e5c6ab3732833722734;hb=a56bab303f781e0c1696f0335eefc7941363d766;hp=4340ae40e53c7d5dbf70903df20a3991c598d203;hpb=8f5add1d3381538caae220d65497bdb8a66bc848;p=sdnc%2Fnorthbound.git diff --git a/generic-resource-api/model/src/main/yang/GENERIC-RESOURCE-API.yang b/generic-resource-api/model/src/main/yang/GENERIC-RESOURCE-API.yang index 4340ae40..6f776287 100644 --- a/generic-resource-api/model/src/main/yang/GENERIC-RESOURCE-API.yang +++ b/generic-resource-api/model/src/main/yang/GENERIC-RESOURCE-API.yang @@ -821,18 +821,24 @@ module GENERIC-RESOURCE-API { } } grouping tunnelxconn-assignments { - leaf vni { - description "The Network Controller will assign a VNI value from the associated vGMUX VNI pool"; - type string; - } - leaf vgmux-bearer-ip { - description "The Network Controller will look up the vgmux bearer ip from the vgmux vf module"; - type inet:ip-address; - } - leaf vgmux-lan-up { - description "The Network Controller will look up the vgmux lan ip from the vgmux vg module"; - type inet:ip-address; - } + container tunnelxconn-assignments { + leaf vni { + description "The Network Controller will assign a VNI value from the associated vGMUX VNI pool"; + type string; + } + leaf vgmux-bearer-ip { + description "The Network Controller will look up the vgmux bearer ip from the vgmux vf module"; + type inet:ip-address; + } + leaf vgmux-lan-ip { + description "The Network Controller will look up the vgmux lan ip from the vgmux vg module"; + type inet:ip-address; + } + leaf vg-ip { + description "The Network Controller will assign the VG IP address from local inventory"; + type inet:ip-address; + } + } } grouping brg-operation-information { uses sdnc-request-header; @@ -863,9 +869,11 @@ module GENERIC-RESOURCE-API { } } grouping brg-assignments { - leaf vbrg-wan-ip { - type inet:ip-address; - } + container brg-assignments { + leaf vbrg-wan-ip { + type inet:ip-address; + } + } } grouping allotted-resource-information { container allotted-resource-information { @@ -1021,6 +1029,8 @@ module GENERIC-RESOURCE-API { enum "DeleteContrailRouteInstance"; enum "CreateSecurityZoneInstance"; enum "DeleteSecurityZoneInstance"; + enum "ActivateDCINetworkInstance"; + enum "DeActivateDCINetworkInstance"; } } leaf source { @@ -1683,7 +1693,7 @@ module GENERIC-RESOURCE-API { uses allotted-resource-status; } } - container brg-allotted-respources { + container brg-allotted-resources { list brg-allotted-resource { key "allotted-resource-id"; leaf allotted-resource-id {