X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=models%2Fplugins%2Fyang%2Fnsr.yang;h=e8b65ae9176dabd4ccd238df883ae52bf054af43;hb=97467c2ec5f6ea2a2e64e59a8a4d2a65714c178c;hp=f7c16fe6325e68946943d5ae9a0652e97a7d4e1c;hpb=f027e7263e0c1e1dfa28d9b4cfd4a747e7f29db9;p=osm%2FSO.git diff --git a/models/plugins/yang/nsr.yang b/models/plugins/yang/nsr.yang index f7c16fe6..e8b65ae9 100644 --- a/models/plugins/yang/nsr.yang +++ b/models/plugins/yang/nsr.yang @@ -133,7 +133,7 @@ module nsr list key-pair { key "name"; - description "Used to configure the list of public keys to be injected as part + description "Used to configure the list of public keys to be injected as part of ns instantiation"; leaf name { description "Name of this key pair"; @@ -151,7 +151,7 @@ module nsr input { leaf name { mandatory true; - description "Name of the Network Service"; + description "Name of the Network Service"; type string; } leaf nsd-ref { @@ -265,8 +265,8 @@ module nsr key "placement-group-ref vnfd-id-ref"; leaf vnfd-id-ref { - description - "A reference to a vnfd. This is a + description + "A reference to a vnfd. This is a leafref to path: ../../../../nsd:constituent-vnfd + [nsr:id = current()/../nsd:id-ref] @@ -327,7 +327,7 @@ module nsr "The SDN account to use when requesting resources for this vnffgr"; type leafref { - path "/rwsdn:sdn-account/rwsdn:name"; + path "/rwsdn:sdn/rwsdn:account/rwsdn:name"; } }