X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=augments%2Fkdu.yang;h=0cad70154b894f93230d441ba95b0ea03821047e;hb=refs%2Fchanges%2F19%2F8919%2F3;hp=edc93f416bf9f2d73455f4382bfe035bcb049424;hpb=65c2b955d2c3d38682dde8a2d1b47dceb12d9057;p=osm%2FIM.git diff --git a/augments/kdu.yang b/augments/kdu.yang index edc93f4..0cad701 100644 --- a/augments/kdu.yang +++ b/augments/kdu.yang @@ -64,6 +64,36 @@ module kdu { } } + grouping extended-kdu-model { + list kdu-model { + key "id"; + + leaf id { + description + "Internal identifier for the KDU model"; + type string; + } + + leaf kdu-model-type { + description + "Indicates the KDU model, either as a helm-chart or as a juju-bundle."; + + type enumeration { + enum helm-chart; + enum juju-bundle; + } + } + + leaf kdu-model-locator { + description + "Indicates the KDU model location, either as a path to a folder in the + package or as a URL where to fetch the model."; + + type string; + } + } + } + grouping extended-kdu { list kdu { description @@ -81,26 +111,6 @@ module kdu { "Description of the KDU."; type string; } - - container kdu-model { - leaf kdu-model-type { - description - "Indicates the KDU model, either as a helm-chart or as a juju-bundle."; - - type enumeration { - enum helm-chart; - enum juju-bundle; - } - } - - leaf kdu-model-locator { - description - "Indicates the KDU model location, either as a path to a folder in the - package or as a URL where to fetch the model."; - - type string; - } - } } container k8s-cluster { @@ -146,6 +156,7 @@ module kdu { augment "/vnfd:vnfd" { uses extended-kdu; uses extended-kdu-configuration; + uses extended-kdu-model; } augment "/vnfd:vnfd/vnfd:ext-cpd/vnfd:cp-connection" {