+ grouping relations-ee {
+ description
+ "Information about the execution environment and endpoint for a relation.
+ The execution environment can be associated to different objects: kdu, vdu, vnf, or ns.
+ To select the object, the profile-id of the object might be needed:
+ Reference to a kdu-level execution enviroment:
+ in the VNFd: the kdu-resource-profile-id is needed.
+ in the NSd: the kdu-resource-profile-id and vnf-profile-id are needed.
+ Reference to a vdu-level execution enviroment:
+ in the VNFd: the vdu-profile-id is needed.
+ in the NSd: the vdu-profile-id and vnf-profile-id are needed.
+ Reference to a vnf-level execution enviroment:
+ in the VNFd: nothing is needed, implicit.
+ in the NSd: the vnf-profile-id is needed.
+ Reference to an ns-level execution enviroment:
+ in the VNFd: cannot be done.
+ in the NSd: nothing is needed, implicit.
+ The reference to the execution environment is only mandatory if there is more than one execution environment
+ in the execution-environment-list of an object.
+ The endpoint is always needed";
+
+ leaf vdu-profile-id {
+ description
+ "If the execution environment is associated to a vdu object,
+ this parameter is the reference to the vdu-profile id.";
+ type leafref {
+ path "/vnfd:vnfd/vnfd:df/vnfd:vdu-profile/vnfd:id";
+ }
+ }
+
+ leaf kdu-resource-profile-id {
+ description
+ "If the execution environment is associated to a kdu resource object,
+ this parameter is the reference to the kdu-resource-profile id.";
+ type string;
+ }
+
+ leaf vnf-profile-id {
+ description
+ "If the execution environment is associated to a vnf object,
+ this parameter is the reference to the vnf-profile id.
+ Only valid in the NSd. The value is implicit in a VNFd.
+ To reference an execution environment associated to a vnf object
+ from the VNFd, none of the profile ids need to be specified.";
+ type leafref {
+ path "/nsd:nsd/nsd:nsd/nsd:df/nsd:vnf-profile/nsd:id";
+ }
+ }
+ leaf execution-environment-ref {
+ description
+ "Optional reference to the execution environment id.
+ Only needed if there is more than one execution environment
+ in the execution-environment-list of an object.";
+ type string;
+ default "";
+ }
+ leaf endpoint {
+ description
+ "Endpoint name of the execution environment.";
+ type string;
+ }
+ }
+
+ grouping relations {