diff options
author | Dan Timoney <dtimoney@att.com> | 2017-11-03 17:24:19 -0400 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2017-11-03 17:47:25 -0400 |
commit | d4d2912f5b8c7f12176ff3304ebbb8f30059f402 (patch) | |
tree | 9de027b587426388c69156cff8c85a95e6246b21 /generic-resource-api/model/src/main/yang | |
parent | ce59c2c4496879cb99a9ecf38075096282fbdc11 (diff) |
Fix GENERIC-RESOURCE-API yang model
Add missing enum values and container to yang model
Also, BRG and tunnelxconn's service instance parent
is VNF-API, not GENERIC-RESOURCE-API, so do not
try to retrieve service data.
Change-Id: I12c977a7e621ce654d0d5d38f8ac8f3ad95487bd
Issue-ID: SDNC-166
Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'generic-resource-api/model/src/main/yang')
-rw-r--r-- | generic-resource-api/model/src/main/yang/GENERIC-RESOURCE-API.yang | 29 |
1 files changed, 19 insertions, 10 deletions
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 6f776287..d82b6305 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 {
@@ -848,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 {
@@ -1031,6 +1036,10 @@ module GENERIC-RESOURCE-API { enum "DeleteSecurityZoneInstance";
enum "ActivateDCINetworkInstance";
enum "DeActivateDCINetworkInstance";
+ enum "CreateTunnelXConnInstance";
+ enum "DeleteTunnelXConnInstance";
+ enum "CreateBRGInstance";
+ enum "DeleteBRGInstance";
}
}
leaf source {
|