From 6e3b19181ee1c502cc040bae86da4325a5126108 Mon Sep 17 00:00:00 2001 From: "ramu.n" Date: Thu, 21 Sep 2017 20:18:18 +0530 Subject: 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 --- generic-resource-api/model/src/main/yang/GENERIC-RESOURCE-API.yang | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'generic-resource-api/model/src/main/yang') 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; } } -- cgit 1.2.3-korg