}
}
+ 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
"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 {
augment "/vnfd:vnfd" {
uses extended-kdu;
uses extended-kdu-configuration;
+ uses extended-kdu-model;
}
augment "/vnfd:vnfd/vnfd:ext-cpd/vnfd:cp-connection" {