summaryrefslogtreecommitdiffstats
path: root/generic-resource-api/model
diff options
context:
space:
mode:
authorramu.n <ramu.n@huawei.com>2017-09-21 20:18:18 +0530
committerramu.n <ramu.n@huawei.com>2017-09-21 20:19:10 +0530
commit6e3b19181ee1c502cc040bae86da4325a5126108 (patch)
tree02b4f04bad0ae612a02f9339eb80bbc64344bb11 /generic-resource-api/model
parent046922b6bd05cfcc4759985368a858f0a7b25cd9 (diff)
Fix GENERIC-RESOURCE-API yang validation issues
when validate GENERIC-RESOURCE-API.yang with "pyang" has some issues Change-Id: Ibdc71e5a369a6815766e42667beacc4a262dc196 Issue-Id: SDNC-99 Signed-off-by: Ramu N <ramu.n@huawei.com>
Diffstat (limited to 'generic-resource-api/model')
-rw-r--r--generic-resource-api/model/src/main/yang/GENERIC-RESOURCE-API.yang4
1 files changed, 2 insertions, 2 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 233fbaf8..f1b80145 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
@@ -1229,7 +1229,7 @@ module GENERIC-RESOURCE-API {
}
}
list vnf-networks {
- key "";
+ key "network-role";
uses vnf-network;
uses sriov-vlan-filter-list;
}
@@ -1253,7 +1253,7 @@ module GENERIC-RESOURCE-API {
}
}
list vm-networks {
- key "";
+ key "network-role";
uses vm-network;
}
}