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=3b751b139b1a3877b64dd12ec67bb308197da968;hb=f9fa722e44042ae612d3a2103f355d6199034978;hp=31582d8d6ff07287ad33c4875b42ebf628ea46e2;hpb=3bccabac70d77c10128f8441c9758fbf0b527f61;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 31582d8d..3b751b13 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 @@ -806,8 +806,11 @@ module GENERIC-RESOURCE-API { uses tunnelxconn-request-input; } grouping tunnelxconn-request-input { - leaf brg-wan-mac-address { - type string; + + container tunnelxconn-request-input { + leaf brg-wan-mac-address { + type string; + } } } grouping tunnelxconn-topology { @@ -821,18 +824,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-ip { - 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; @@ -842,14 +851,16 @@ module GENERIC-RESOURCE-API { uses brg-request-input; } grouping brg-request-input { - leaf vgmux-bearer-ip { - type inet:ip-address; - } - leaf vni { - type string; - } - leaf brg-wan-ip-address { - type inet:ip-address; + container brg-request-input { + leaf vgmux-bearer-ip { + type inet:ip-address; + } + leaf vni { + type string; + } + leaf brg-wan-mac-address { + type string; + } } } grouping brg-topology { @@ -863,9 +874,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 { @@ -1023,6 +1036,10 @@ module GENERIC-RESOURCE-API { enum "DeleteSecurityZoneInstance"; enum "ActivateDCINetworkInstance"; enum "DeActivateDCINetworkInstance"; + enum "CreateTunnelXConnInstance"; + enum "DeleteTunnelXConnInstance"; + enum "CreateBRGInstance"; + enum "DeleteBRGInstance"; } } leaf source { @@ -1159,6 +1176,12 @@ module GENERIC-RESOURCE-API { enum "DeleteContrailRouteInstance"; enum "CreateSecurityZoneInstance"; enum "DeleteSecurityZoneInstance"; + enum "ActivateDCINetworkInstance"; + enum "DeActivateDCINetworkInstance"; + enum "CreateTunnelXConnInstance"; + enum "DeleteTunnelXConnInstance"; + enum "CreateBRGInstance"; + enum "DeleteBRGInstance"; } } leaf last-svc-request-id {