X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=models%2Fplugins%2Fyang%2Fnsr.yang;h=c2b7d06b371dc73cbfd9ba82750c28a6e365d70c;hb=f22a6845feac83432bce632a7a82b7fc4081df25;hp=78c86ad3b13bfe6dc94089e8c88e45a4cb9744bc;hpb=6b732c720ec31351624871f83ab156e50d93c940;p=osm%2FSO.git diff --git a/models/plugins/yang/nsr.yang b/models/plugins/yang/nsr.yang index 78c86ad3..c2b7d06b 100644 --- a/models/plugins/yang/nsr.yang +++ b/models/plugins/yang/nsr.yang @@ -111,13 +111,22 @@ module nsr description "Name of the user "; type string; } - leaf gecos { + leaf user-info { description "The user name's real name"; type string; } - leaf passwd { - description "The user password"; - type string; + list ssh-authorized-key { + key "key-pair-ref"; + + description "Used to configure the list of public keys to be injected as part + of ns instantiation"; + + leaf key-pair-ref { + description "A reference to the key pair entry in the global key pair table"; + type leafref { + path "/nsr:key-pair/nsr:name"; + } + } } } } @@ -148,7 +157,9 @@ module nsr leaf nsd-ref { description "Reference to NSR ID ref"; mandatory true; - type string; + type leafref { + path "/nsd:nsd-catalog/nsd:nsd/nsd:id"; + } } uses ns-instance-config-params; } @@ -161,6 +172,8 @@ module nsr } } + + container ns-instance-config { list nsr {