X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=models%2Fplugins%2Fyang%2Fnsr.yang;h=c6bb4ec9a8e492458d68fb2bf0b3a79d17c5d1d1;hb=255ff03a528a3090ce7f46f0a63b65da3e6f9bcf;hp=78c86ad3b13bfe6dc94089e8c88e45a4cb9744bc;hpb=6b732c720ec31351624871f83ab156e50d93c940;p=osm%2FSO.git diff --git a/models/plugins/yang/nsr.yang b/models/plugins/yang/nsr.yang index 78c86ad3..c6bb4ec9 100644 --- a/models/plugins/yang/nsr.yang +++ b/models/plugins/yang/nsr.yang @@ -98,9 +98,7 @@ module nsr 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"; - } + type string; } } list user { @@ -111,13 +109,24 @@ 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 key-pair { + key "name"; + 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"; + type string; + } + + leaf key { + description "Key associated with this key pair"; + type string; + } } } } @@ -161,6 +170,8 @@ module nsr } } + + container ns-instance-config { list nsr {