New tunnelxconn assignment
[sdnc/northbound.git] / generic-resource-api / model / src / main / yang / GENERIC-RESOURCE-API.yang
index 4340ae4..6f77628 100644 (file)
@@ -821,18 +821,24 @@ module GENERIC-RESOURCE-API {
        }\r
    }\r
    grouping tunnelxconn-assignments {\r
-       leaf vni {\r
-           description "The Network Controller will assign a VNI value from the associated vGMUX VNI pool";\r
-           type string;\r
-       }\r
-       leaf vgmux-bearer-ip {\r
-           description "The Network Controller will look up the vgmux bearer ip from the vgmux vf module";\r
-           type inet:ip-address;\r
-       }\r
-       leaf vgmux-lan-up {\r
-           description "The Network Controller will look up the vgmux lan ip from the vgmux vg module";\r
-           type inet:ip-address;\r
-       }\r
+          container tunnelxconn-assignments {\r
+              leaf vni {\r
+                  description "The Network Controller will assign a VNI value from the associated vGMUX VNI pool";\r
+                  type string;\r
+              }\r
+              leaf vgmux-bearer-ip {\r
+                  description "The Network Controller will look up the vgmux bearer ip from the vgmux vf module";\r
+                  type inet:ip-address;\r
+              }\r
+              leaf vgmux-lan-ip {\r
+                  description "The Network Controller will look up the vgmux lan ip from the vgmux vg module";\r
+                  type inet:ip-address;\r
+              }\r
+              leaf vg-ip {\r
+                  description "The Network Controller will assign the VG IP address from local inventory";\r
+                  type inet:ip-address;\r
+              }\r
+          }\r
    }\r
    grouping brg-operation-information {\r
        uses sdnc-request-header;\r
@@ -863,9 +869,11 @@ module GENERIC-RESOURCE-API {
        }\r
    }\r
    grouping brg-assignments {\r
-       leaf vbrg-wan-ip {\r
-           type inet:ip-address;\r
-       }\r
+          container brg-assignments {\r
+              leaf vbrg-wan-ip {\r
+                  type inet:ip-address;\r
+              }\r
+          }\r
    }\r
    grouping allotted-resource-information {\r
       container allotted-resource-information {\r
@@ -1021,6 +1029,8 @@ module GENERIC-RESOURCE-API {
                enum "DeleteContrailRouteInstance";\r
                enum "CreateSecurityZoneInstance";\r
                enum "DeleteSecurityZoneInstance";\r
+               enum "ActivateDCINetworkInstance";\r
+               enum "DeActivateDCINetworkInstance";\r
             }\r
          }\r
          leaf source {\r
@@ -1683,7 +1693,7 @@ module GENERIC-RESOURCE-API {
            uses allotted-resource-status;\r
        }\r
    }\r
-   container brg-allotted-respources {\r
+   container brg-allotted-resources {\r
        list brg-allotted-resource {\r
            key "allotted-resource-id";\r
            leaf allotted-resource-id {\r