feat(configurations): now VNF/VDU/KDU configurations are in the same place, compatible with SOL006
Change-Id: Ia2d03e26987b7c319373005d7afed7d42ec54e3a
Signed-off-by: bravof <fbravo@whitestack.com>
diff --git a/models/augments/day1-2.yang b/models/augments/day1-2.yang
index e66ce16..cf3b841 100644
--- a/models/augments/day1-2.yang
+++ b/models/augments/day1-2.yang
@@ -29,37 +29,31 @@
}
grouping extended-vnf-configuration {
- list vnf-configuration {
+ list day1-2 {
key "id";
leaf id {
description
- "Internal identifier for the VNF configuration";
+ "Internal identifier for the VNF/VDU/KNF/KDU configuration";
type string;
}
uses common:vnfc-configuration;
uses common:vnfc-relations;
uses common:vdu-config-access;
- }
- }
- grouping extended-vdu-configuration {
- list vdu-configuration {
- key "id";
- leaf id {
+ leaf-list blacklist-config-primitive {
description
- "Internal identifier for the VDU configuration";
- type string;
+ "List of blacklisted config primitives from the list of
+ default kdu config primitives";
+
+ type enumeration {
+ enum upgrade;
+ enum rollback;
+ }
}
- uses common:vnfc-configuration;
- uses common:vdu-config-access;
}
}
- augment "/vnfd:vnfd" {
+ augment "/vnfd:vnfd/vnfd:df/vnfd:lcm-operations-configuration/vnfd:operate-vnf-op-config" {
uses extended-vnf-configuration;
}
-
- augment "/vnfd:vnfd" {
- uses extended-vdu-configuration;
- }
}
\ No newline at end of file