Newer
Older
include etsi-nfv-vnf;
include etsi-nfv-pnf;
description
"Models for NS according to ETSI GS NFV-IFA 014.";
Common data structure to support NSD according to:
ETSI GS NFV-IFA 014 Ed261v252";
"ETSI GS NFV-IFA 014 Ed261v252";
}
grouping resource-handle {
leaf vim-id {
type string;
}
type string;
}
leaf resource-id {
type string;
}
}
grouping nsd {
list nsd {
key "id";
leaf id {
type string;
description
"Identifier of this NSD information element. It Globally
uniquely identifies an instance of the NSD.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
}
leaf designer {
type string;
description
"Identifies the designer of the NSD.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
}
leaf version {
type string;
description
"Identifies the version of the NSD.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
}
leaf name {
type string;
description
"Provides the human readable name of the NSD.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
}
leaf invariant-id {
type string;
description
"Identifies an NSD in a version independent manner. This
attribute is invariant across versions of the network
service descriptor.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
leaf-list nested-nsd-id {
must ". != ../id";
description
"References the NSD of a constituent nested NS.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
leaf-list vnfd-id {
type leafref {
path "../../vnfd/id";
description
"References the VNFD of a constituent VNF.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
leaf-list pnfd-id {
type leafref {
path "../../pnfd/id";
}
description
"References the PNFD of a constituent PNF.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
}
list sapd {
"Provides the descriptor of a service access point of the
network service.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
description
"Identifier of this Cpd information element.";
reference
"GS NFV IFA014: Section 6.6.3.1 Cpd information element";
"Specify whether the SAP address assignment is under the
responsibility of management and orchestration functions
or not. If it is set to True, management and
orchestration functions are responsible for assigning
addresses to the access points instantiated from this
SAPD.";
reference
"GS NFV IFA014: Section 6.2.3.2 Sapd information element";
choice cpd-or-virtual-link {
leaf virtual-link-desc {
type leafref {
path "../../virtual-link-desc/id";
}
description
"References the descriptor of the NS VL instance to
which the SAP instantiated from this SAPD connects to.";
reference
"GS NFV IFA014: Section 6.2.3.2 Sapd information element";
choice associated-cpd-id {
container vnf {
leaf vnfd-id {
mandatory true;
type leafref {
path "../../../../nfv:vnfd/nfv:id";
}
must "boolean(../../../vnfd-id[.=current()])";
leaf ext-cpd-id {
mandatory true;
type leafref {
path "deref(../vnfd-id)/../nfv:ext-cpd/nfv:id";
}
container pnf {
leaf pnfd-id {
mandatory true;
path "../../../../nfv:pnfd/nfv:id";
}
must "boolean(../pnfd-id[.=current()])";
leaf ext-cpd-id {
mandatory true;
type leafref {
path "deref(../pnfd-id)/../nfv:ext-cpd/nfv:id";
}
container ns {
leaf nsd-id {
mandatory true;
type leafref {
path "../../../../nfv:nsd/nfv:id";
}
must "boolean(../nsd-id[.=current()])";
leaf ext-cpd-id {
mandatory true;
type leafref {
path "deref(../nsd-id)/../nfv:sapd/nfv:id";
}
list virtual-link-desc {
key "id";
description
"Provides the constituent VLDs.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
description
"Identifier of the NsVirtualLinkDesc information element.
It uniquely identifies a VLD.";
reference
"GS NFV IFA014: Section 6.5.2.2 NsVirtualLinkDesc
information element";
description
"The VirtualLinkDf information element specifies
properties for instantiating a VL according to a
specific flavour.";
reference
"GS NFV IFA014: Section 6.5.2.2 NsVirtualLinkDesc
information element";
description
"Identifies this VirtualLinkDf information element
within a VLD.";
reference
"GS NFV IFA014: Section 6.5.4.2 VirtualLinkDf
information element";
description
"The QoS information element specifies quality of
service parameters applicable to a VL.";
reference
"GS NFV IFA014: Section 6.5.4.2 VirtualLinkDf
information element";
leaf latency {
mandatory true;
type uint32;
units "ms";
description
"Specifies the maximum latency in ms.";
reference
"GS NFV IFA014: Section 6.5.6.2 QoS information
element";
}
leaf packet-delay-variation {
mandatory true;
type uint32;
units "ms";
description
"Specifies the maximum jitter in ms.";
reference
"GS NFV IFA014: Section 6.5.6.2 QoS information
element";
}
leaf packet-loss-ratio {
type decimal64 {
fraction-digits "2";
range "0..1.00";
}
description
"Specifies the maximum packet loss ratio.";
reference
"GS NFV IFA014: Section 6.5.6.2 QoS information
element";
description
"Specifies the priority level in case of
congestion on the underlying physical links.";
reference
"GS NFV IFA014: Section 6.5.6.2 QoS information
element";
leaf service-availability-level {
type enumeration {
enum "level-1";
enum "level-2";
enum "level-3";
}
description
"Specifies one of the three levels defined in ETSI
ETSI GS NFV-REL 001 [i.5]
* Level 1.
* Level 2.
* Level 3.";
reference
"GS NFV IFA014: Section 6.5.4.2 VirtualLinkDf
information element";
}
}
leaf test-access {
type enumeration {
enum none;
enum passive-monitoring;
enum active;
}
description
"Specifies test access facilities expected on the VL.";
reference
"GS NFV IFA014: Section 6.5.2.2 NsVirtualLinkDesc
information element";
}
leaf description {
type string;
description
"Provides human-readable information on the purpose of
the virtual link (e.g. VL for control plane traffic).";
reference
"GS NFV IFA014: Section 6.5.2.2 NsVirtualLinkDesc
information element";
description
"Provides the descriptors of the applicable forwarding
graphs.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
description
"Identifier of this Vnffgd information element. It
uniquely identifies a VNFFGD.";
reference
"GS NFV IFA014: Section 6.4.2.2 Vnffgd information
element";
leaf-list vnf-profile-id {
type leafref {
path "../../df/vnf-profile/id";
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
description
"References the VnfProfile of a constituent VNF.";
reference
"GS NFV IFA014: Section 6.4.2.2 Vnffgd information
element";
}
leaf-list pnf-profile-id {
type leafref {
path "../../df/pnf-profile/id";
}
description
"References the PnfProfile of a constituent PNF.";
reference
"GS NFV IFA014: Section 6.4.2.2 Vnffgd information
element";
}
leaf-list nested-ns-profile-id {
type leafref {
path "../../df/ns-profile/id";
}
description
"References the NsProfile of a nestedNS.";
reference
"GS NFV IFA014: Section 6.4.2.2 Vnffgd information
element";
}
leaf virtual-link-profile-id {
type leafref {
path "../../df/virtual-link-profile/id";
}
description
"References the Virtual Link Profile of a constituent
VL.";
reference
"GS NFV IFA014: Section 6.4.2.2 Vnffgd information
element";
}
list cpd-pool {
key "id";
description
"Describes a pool of descriptors of connection points
attached to one of the constituent VNFs and PNFs and/or
one of the SAPs of the parent NS or of a nested NS.";
reference
"GS NFV IFA014: Section 6.4.2.2 Vnffgd information
element";
leaf id {
type string;
mandatory "true";
container vnf-profile {
leaf vnf-profile-id {
must ". = deref(../../vnfd-profile-id)" {
}
type leafref {
path "/nfv/nsd/df/vnf-profile/id";
}
}
}
container pnf-profile {
leaf pnf-profile-id {
must ". = deref(../../pnfd-profile-id)" {
}
type leafref {
path "/nfv/nsd/df/pnf-profile/id";
}
}
}
leaf ns-profile-id {
must ". = deref(../../ns-profile-id)" {
}
type leafref {
path "/nfv/nsd/df/ns-profile/id";
}
}
}
"GS NFV IFA014: Section 6.4.8 CpdInConstituentElement
information element";
container vnf {
leaf vnfd-id {
must ". = deref(../../vnfd-profile-id)/../vnfd-id" {
}
type leafref {
path "/nfv/vnfd/id";
}
}
leaf cpd-id {
type leafref {
path "deref(../vnfd-id)/../nfv:ext-cpd/nfv:id";
}
container pnf {
leaf pnfd-id {
must ". = deref(../../pnfd-profile-id)/../pnfd-id" {
}
type leafref {
path "/nfv/pnfd/id";
}
}
leaf pnf-cpd-id {
type leafref {
path "deref(../pnfd-id)/../nfv:ext-cpd/nfv:id";
}
}
}
container ns {
leaf nsd-id {
must ". = deref(../../nested-ns-profile-id)/" +
"../nsd-id" {
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
}
type leafref {
path "/nfv/nsd/id";
}
}
leaf sap-cpd-id {
type leafref {
path "deref(../nsd-id)/../nfv:sapd/nfv:id";
}
}
}
description
"A reference to the descriptor of a connection point
attached to one of the constituent VNFs and PNFs or to
the descriptor of a NS SAP.";
reference
"GS NFV IFA014: Section 6.4.4.2 CpdPool information
element";
}
}
list nfpd {
key "id";
description
"The network forwarding path associated to the VNFFG.";
reference
"GS NFV IFA014: Section 6.4.2.2 Vnffgd information
element";
leaf id {
type string;
description
"Identifies this nfpd information element within a
VNFFGD.";
reference
"GS NFV IFA014: Section 6.4.3.2 Nfpd information
element";
}
leaf rule {
type string;
description
"Provides an NFP classification and selection rule.
The rule may be expressed as a criteria constructed
out of atomic assertions linked by Boolean operators
AND, OR and NOT.";
reference
"GS NFV IFA014: Section 6.4.3.2 Nfpd information
element";
}
list position-desc-id {
key "id";
description
"Describes a position in the NFP in terms of one or
more CP profiles and rules for distributing the
traffic among CP and SAP instances created from the
CPD or SAPD associated to these profiles. This shall
be connection point profile, which is either a CPD
associated with the VnfProfile of a constituent VNF,
or a CPD associated with the PnfProfile of a
constituent PNF, or a SAPD associated with the
NsProfile of a nested NS. The related VnfProfile,
PnfProfile and NsProfile shall be included in the
parent VNFFGD.";
reference
"GS NFV IFA014: Section 6.4.3.2 Nfpd information
element";
leaf id {
type string;
description
"Identifier of this NfpPositionDesc element.";
reference
"GS NFV IFA014: Section 6.4.5.2 NfpPositionDesc
information element";
}
list cp-profile-id {
key "id";
description
"References the profile of a connection point to be
traversed by the traffic flows matching the criteria.
This shall be a connection point attached to one of
the constituent VNFs and PNFs of the parent VNFFG,
or a SAP of one of the constituent nested NSs of the
parent VNFFG.";
reference
"GS NFV IFA014: Section 6.4.5.2 NfpPositionDesc
information element";
leaf id {
type string;
description
"Identifier of this CpProfile information element.
It uniquely identifies a CpProfile.";
reference
"GS NFV IFA014: Section 6.4.6.2 CpProfile
information element";
}
list constituent-profile-elements {
key "id";
description
"Specifies the constituents of the CpProfile.";
reference
"GS NFV IFA014: Section 6.4.6.2 CpProfile
information element";
leaf id {
type string;
description
"Specifies the constituents of the CpProfile.";
reference
"GS NFV IFA014: Section 6.4.7.2
ConstituentProfileElements information element";
}
leaf cpd-id {
type string;
description
"References the VNF external CPD for a given
VnfProfile, or the PNF external CPD for a given
PnfProfile, or a NS SAPD for a give NsProfile
identified by the constituentBasedElementId.";
reference
"GS NFV IFA014: Section 6.4.7.2
ConstituentProfileElements information element";
}
leaf-list autoscale-rule {
type string;
}
list lifecycle-management-script {
key "event";
leaf event {
type string;
}
leaf script {
type string;
}
}
must "default-instantiation-level or " +
"count(ns-instantiation-level) = 1" {
error-message
"default-instantiation-level must be present if there " +
"multiple instantion-level";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
}
"Identifies a DF within the scope of an NSD.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
description
"Identifies this NsDf information element. It identifies
a NS DF within the NSD.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
description
"Assurance parameter against which this flavour is being
described.
The key can be a combination of multiple assurance
parameters with a logical relationship between them.
The parameters should be present as a monitoredInfo
attribute in the NSD.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
must "min-number-of-instances <= max-number-of-instances";
must "boolean(../../vnfd-id[.=current()/vnfd-id])" {
error-message "VNFDs in the profile has to be listed as a " +
"dependency of the network service " +
"descriptor.";
description
"VNF profile to be used for the NS flavour.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
description
"Identifier of this vnfProfile information element. It
uniquely identifies a VnfProfile.";
reference
"GS NFV IFA014: Section 6.3.3.2 VnfProfile information
element";
description
"References a VNFD.";
reference
"GS NFV IFA014: Section 6.3.3.2 VnfProfile information
element";
path "deref(../vnfd-id)/../df/id";
description
"Identifies a flavour within the VNFD.";
reference
"GS NFV IFA014: Section 6.3.3.2 VnfProfile information
element";
}
leaf instantiation-level {
mandatory true;
type leafref {
path "deref(../flavour-id)/../instantiation-level/id";
description
"Identifier of the instantiation level of the VNF DF
to be used for instantiation. If not present, the
default instantiation level as declared in the VNFD
shall be used.";
reference
"GS NFV IFA014: Section 6.3.3.2 VnfProfile information
element";
}
leaf min-number-of-instances {
type uint16;
description
"Minimum number of instances of the VNF based on this
VNFD that is permitted to exist for this VnfProfile.";
reference
"GS NFV IFA014: Section 6.3.3.2 VnfProfile information
element";
type uint16;
description
"Maximum number of instances of the VNF based on this
VNFD that is permitted to exist for this VnfProfile.";
reference
"GS NFV IFA014: Section 6.3.3.2 VnfProfile information
element";
list affinity-or-anti-affinity-group {
key "id";
description
"Identifier(s) of the affinity or anti-affinity
group(s) the VnfProfile belongs to.";
reference
"GS NFV IFA014: Section 6.3.3.2 VnfProfile information
element";
path "../../../affinity-or-anti-affinity-group/id";
}
}
}
list virtual-link-connectivity {
key "virtual-link-profile-id";
description
"Defines the connection information of the VNF, it
contains connection relationship between a VNF
connection point and a NS Virtual Link.";
reference
"GS NFV IFA014: Section 6.3.3.2 VnfProfile information
element";
path "../../../virtual-link-profile/id";
description
"Reference an NS VL profile.";
reference
"GS NFV IFA014: Section 6.3.7.2, NsVirutalLinkConnectivity
information element.";
list constituent-cpd-id {
key "constituent-base-element-id";
"Describes a connection point on a VNF/PNF or a SAP
which connects to virtual links instantiated from
the profile identified in the virtualLinkProfileId
attribute.";
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
"GS NFV IFA014: Section 6.3.7
NsVirtualLinkConnectivity information element";
leaf constituent-base-element-id {
type leafref {
path "../../../id";
}
description
"Reference to the profile of an NS constituent.";
reference
"GS NFV IFA014: Section 6.4.8
CpdInConstituentElement information element";
}
leaf constituent-cpd-id {
type leafref {
path "deref(../../../vnfd-id)/../nfv:ext-cpd/nfv:id";
}
description
"A reference to the descriptor of a connection point
attached to one of the constituent VNFs and PNFs or to
the descriptor of a NS SAP.";
reference
"GS NFV IFA014: Section 6.4.4.2 CpdPool information
element";
}
list pnf-profile {
key "id";
must "boolean(../../pnfd-id[.=current()/pnfd-id])" {
error-message "PNFDs in the profile has to be listed as a " +
"dependency of the network service " +
"descriptor.";
}
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
leaf id {
type string;
description
"Identifier of this PnfProfile information element.
It uniquely identifies a PnfProfile.";
reference
"GS NFV IFA014: Section 6.3.6.2 PnfProfile information
element";
}
leaf pnfd-id {
type leafref {
path "/nfv/pnfd/id";
}
description
"References a PNFD.";
reference
"GS NFV IFA014: Section 6.3.6.2 PnfProfile information
element";
}
list virtual-link-connectivity {
key "virtual-link-profile-id";
description
"Defines the connection information of the PNF, it
contains connection relationship between a PNF
connection point and a NS Virtual Link.";
reference
"GS NFV IFA014: Section 6.3.6.2 PnfProfile information
element";
leaf virtual-link-profile-id {
path "../../../virtual-link-profile/id";
description
"Reference an NS VL profile.";
reference
"GS NFV IFA014: Section 6.3.7.2, NsVirutalLinkConnectivity
information element.";
list constituent-cpd-id {
key "constituent-base-element-id";
"Describes a connection point on a VNF/PNF or a SAP
which connects to virtual links instantiated from
the profile identified in the virtualLinkProfileId
attribute.";
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
"GS NFV IFA014: Section 6.3.7
NsVirtualLinkConnectivity information element";
leaf constituent-base-element-id {
type leafref {
path "../../../id";
}
description
"Reference to the profile of an NS constituent.";
reference
"GS NFV IFA014: Section 6.4.8
CpdInConstituentElement information element";
}
leaf constituent-cpd-id {
type leafref {
path "deref(../../../pnfd-id)/../nfv:ext-cpd/nfv:id";
}
description
"A reference to the descriptor of a connection point
attached to one of the constituent VNFs and PNFs or to
the descriptor of a NS SAP.";
reference
"GS NFV IFA014: Section 6.4.4.2 CpdPool information
element";
}
list virtual-link-profile {
key "id";
description
"VL profile to be used for the NS flavour.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
leaf id {
type string;
description
"Uniquely identifies this VirtualLinkProfile
information element.";
reference
"GS NFV IFA014: Section 6.3.2.2 VirtualLinkProfile
information element";
path "../../../virtual-link-desc/id";
description
"Uniquely references a VLD.";
reference
"GS NFV IFA014: Section 6.3.2.2 VirtualLinkProfile
information element";
path "deref(../virtual-link-desc-id)/../df/id";
description
"Identifies a flavour within the VLD.";
reference
"GS NFV IFA014: Section 6.3.2.2 VirtualLinkProfile
information element";
list affinity-or-anti-affinity-group {
key "id";
description
"Identifies an affinity or anti-affinity group the
VLs instantiated according to the VlProfile belong
to.";
reference
"GS NFV IFA014: Section 6.3.4.2 VirtualLinkProfile
information element";
path "../../../affinity-or-anti-affinity-group/id";
}
}
}
container max-bitrate-requirements {
description
"Specifies the maximum bitrate requirements for a VL
instantiated according to this profile.";
reference
"GS NFV IFA014: Section 6.3.4.2 VirtualLinkProfile
information element";
}
container min-bitrate-requirements {
description
"Specifies the minimum bitrate requirements for a VL
instantiated according to this profile.";
reference
"GS NFV IFA014: Section 6.3.4.2 VirtualLinkProfile
information element";
}
}
list scaling-aspect {
key "id";
description
"The scaling aspects supported by this DF of the NS.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
leaf id {
description
"Identifier of this NsScalingAspect information element.
It uniquely identifies the NS scaling aspect in an
NSD.";
reference
"GS NFV IFA014: Section 6.7.2.2 NsScalingAspect
information element";
description
"Provides a human readable name of the NS scaling
aspect.";
reference
"GS NFV IFA014: Section 6.7.2.2 NsScalingAspect
information element";
leaf description {
type string;
description
"Provides a human readable description of the NS
scaling aspect.";
reference
"GS NFV IFA014: Section 6.7.2.2 NsScalingAspect
information element";
leaf scaling-level {
type leafref {
path "../../ns-instantiation-level/id";
description
"Describes the details of an NS level.";
reference
"GS NFV IFA014: Section 6.7.2.2 NsScalingAspect
information element";
}
}
list affinity-or-anti-affinity-group {
key "id";
description
"Specifies affinity or anti-affinity relationship
applicable between the VNF instances created using
different VNFDs, the Virtual Link instances created
using different NsVirtualLinkDescs or the nested NS
instances created using different NSDs in the same
affinity or anti-affinity group.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
AffinityOrAntiAffinityGroup information element.";
reference
"GS NFV IFA014: Section 6.3.5.2 AffinityOrAntiAffinity
information element";
}
leaf affinity-type {
mandatory true;
description
"Specifies the type of relationship that the members of
the group have: 'affinity' or 'anti-affinity.'";
reference
"GS NFV IFA014: Section 6.3.5.2 AffinityOrAntiAffinity
information element";
}
leaf affinity-scope {
mandatory true;
description
"Specifies the scope of the affinity or anti-affinity
relationship e.g. a NFVI node, an NFVI PoP, etc.";
reference
"GS NFV IFA014: Section 6.3.5.2 AffinityOrAntiAffinity
information element";
description
"Describes the details of an NS level.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element
GS NFV IFA014: Section 6.7.2.2 NsScaling information
element";
description
"Identifier of this NsLevel information element. It
uniquely identifies an NS level within the DF.";
reference
"GS NFV IFA014: Section 6.3.9.2 NsLevel information
element";
}
leaf description {
type string;
description
"Human readable description of the NS level.";
reference
"GS NFV IFA014: Section 6.3.9.2 NsLevel information
element";
}
list vnf-to-level-mapping {
key "vnf-profile-id";
description
"Specifies the profile of the VNFs involved in this NS
level and, for each of them, the required number of
instances.";
reference
"GS NFV IFA014: Section 6.3.9.2 NsLevel information
element";
description
"Identifies the profile to be used for a VNF
involved in an NS level.";
reference
"GS NFV IFA014: Section 6.7.4.2 VnfToLevelMapping
information element";
}
leaf number-of-instances {
description
"Specifies the number of VNF instances required for
an NS level.";
reference
"GS NFV IFA014: Section 6.7.4.2 VnfToLevelMapping
information element";
list virtual-link-to-level-mapping {
key "virtual-link-profile-id";
description
"Specifies the profile of the VLs involved in this NS
level and, for each of them, the needed bandwidth.";
reference
"GS NFV IFA014: Section 6.3.9.2 NsLevel information
element";
leaf virtual-link-profile-id {
path "../../../virtual-link-profile/id";
description
"Identifies the profile to be used for a VL involved
in an NS level.";
reference
"GS NFV IFA014: Section 6.7.5.2
VirtualLinkToLevelMapping information element";
}
list ns-to-level-mapping {
key "ns-profile-id";
description
"Specifies the profile of the nested NSs involved in
this NS level and, for each of them, the required
number of instances.";
reference
"GS NFV IFA014: Section 6.3.9.2 NsLevel information
element";
leaf ns-profile-id {
path "../../../ns-profile/id";
description
"Identifies the profile to be used for a nested NS
involved in the NS level.";
reference
"GS NFV IFA014: Section 6.7.6.2 NsToLevel information
element";
}
leaf number-of-instances {
description
"Specifies the number of nested NS instances required
for the NS scale level.";
reference
"GS NFV IFA014: Section 6.7.6.2 NsToLevel information
element";
must "(count(vnf-to-level-mapping) + " +
"count(virtual-link-to-level-mapping) + " +
"count(ns-to-level-mapping)) > 0" {
error-message "At least one attribute between " +
"vnf-to-level-mapping, " +
"virtual-link-to-level-mapping and " +
"ns-to-level-mapping shall be present.";
description
"At least one attribute between vnfToLevelMapping,
vlirtualLinkToLevelMapping and nsToLevelMapping shall
be present.";
reference
"GS NFV IFA014: Section 6.3.9.2 NsLevel information
element";
}
}
leaf default-instantiation-level {
type leafref {
path "../ns-instantiation-level/id";
description
"Identifies the NS level which represents the default NS
instantiation level for this DF. It shall be present if
there are multiple 'nsIinstantiationLevel' entries.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
must "min-number-of-instances <= max-number-of-instances" {
error-message
"min-number-of-instances has to be less than or equal" +
"max-number-of-instances.";
}
must "boolean(../../nested-nsd-id[.=current()/nsd-id])" {
error-message "PNFDs in the profile has to be listed as a " +
"dependency of the network service " +
"descriptor.";
}
key "id";
description
"Specifies a NS Profile supported by this NS DF.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
leaf id {
type string;
description
"Identifies an NS profile.";
reference
"GS NFV IFA014: Section 6.3.11.2 NsProfile information
element";
}
leaf nsd-id {
mandatory true;
description
"Identifies the NSD applicable to NS instantiated
according to this profile.";
reference
"GS NFV IFA014: Section 6.3.11.2 NsProfile information
element";
leaf ns-df-id {
mandatory true;
path "deref(../nsd-id)/../df/id";
description
"Identifies the applicable network service DF within
the scope of the NSD.";
reference
"GS NFV IFA014: Section 6.3.11.2 NsProfile information
element";
leaf instantiation-level-id {
mandatory true;
path "deref(../ns-df-id)/../ns-instantiation-level/id";
description
"Identifies the NS level within the referenced NS DF to
be used in the context of the parent NS instantiation.
If not present, the default NS instantiation level as
declared in the referenced NSD shall be used.";
reference
"GS NFV IFA014: Section 6.3.11.2 NsProfile information
element";
}
leaf min-number-of-instances {
type uint16;
description
"Minimum number of nested NS instances based on the
referenced NSD that is permitted to exist for this
NsProfile.";
reference
"GS NFV IFA014: Section 6.3.11.2 NsProfile information
element";
}
leaf max-number-of-instances {
type uint16;
description
"Maximum number of nested NS instances based on the
referenced NSD that is permitted to exist for this
NsProfile.";
reference
"GS NFV IFA014: Section 6.3.11.2 NsProfile information
element";
list affinity-or-anti-affinity-group-id {
description
"Identifies an affinity or anti-affinity group the NSs
created according to this NsProfile belongs to.";
reference
"GS NFV IFA014: Section 6.3.11.2 NsProfile information
element";
path "../../../affinity-or-anti-affinity-group/id";
list virtual-link-connectivity {
key "virtual-link-profile-id";
leaf virtual-link-profile-id {
type leafref {
path "../../../virtual-link-profile/id";
}
description
"Reference an NS VL profile.";
reference
"GS NFV IFA014: Section 6.3.7.2, NsVirutalLinkConnectivity
information element.";
}
list constituent-cpd-id {
key "constituent-base-element-id";
description
"Describes a connection point on a VNF/PNF or a SAP
which connects to virtual links instantiated from
the profile identified in the virtualLinkProfileId
attribute.";
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
"GS NFV IFA014: Section 6.3.7
NsVirtualLinkConnectivity information element";
leaf constituent-base-element-id {
type leafref {
path "../../../id";
}
description
"Reference to the profile of an NS constituent.";
reference
"GS NFV IFA014: Section 6.4.8
CpdInConstituentElement information element";
}
leaf constituent-cpd-id {
type leafref {
path "deref(../../../nsd-id)/../nfv:sapd/nfv:id";
}
description
"A reference to the descriptor of a connection point
attached to one of the constituent VNFs and PNFs or to
the descriptor of a NS SAP.";
reference
"GS NFV IFA014: Section 6.4.4.2 CpdPool information
element";
}
}
}
}
description
"Specifies the order in which instances of the VNFs and/or
nested NSs have to be created.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
leaf primary-vnf-profile {
type leafref {
path "../../vnf-profile/vnfd-id";
}
}
leaf primary-ns-profile {
type leafref {
path "../../ns-profile/nsd-id";
description
"References a VnfProfile or NsProfile.";
reference
"GS NFV IFA014: Section 6.3.12.2 Dependencies
information element";
leaf secondary-vnf-profile {
type leafref {
path "../../vnf-profile/vnfd-id";
}
}
leaf secondary-ns-profile {
type leafref {
path "../../ns-profile/nsd-id";
description
"References a VnfProfile or NsProfile.";
reference
"GS NFV IFA014: Section 6.3.12.2 Dependencies
information element";
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
list monitored-info {
key "id";
leaf id {
type string;
}
container vnf-indicator-info {
leaf vnfd-id {
type leafref {
path "/nfv/vnfd/id";
}
description
"Identifies a VNFD.";
reference
"GS NFV IFA014: Section 6.2.7.2 VnfIndicatorData
information element";
}
leaf vnf-indicator {
mandatory true;
type leafref {
path "deref(../vnfd-id)/../indicator/id";
}
description
"Identifies a VNF indicator within the VNFD.";
reference
"GS NFV IFA014: Section 6.2.7.2 VnfIndicatorData
information element";
}
description
"Uniquely identifies this VNF Indicator information
element.";
reference
"GS NFV IFA014: Section 6.2.6.2 MonitoredData
information element";
}
// monitoringParameter in IFA014 is defined by MonitoredData
// whereas monitoringParameter in IFA011 is defined by
// MonitoringParameter.
container monitoring-parameter {
leaf id {
type string;
description
"Unique identifier of this monitoring parameter
information element.";
reference
"GS NFV IFA014: Section 6.2.8.2 MonitoringParameter
information element";
}
leaf name {
type string;
description
"Human readable name of the monitoring parameter.";
reference
"GS NFV IFA014: Section 6.2.8.2 MonitoringParameter
information element";
}
leaf performance-metric {
mandatory true;
type string;
description
"Defines the virtualised resource-related performance
metric.";
reference
"GS NFV IFA014: Section 6.2.8.2 MonitoringParameter
information element";
}
leaf collection-period {
type string;
description
"An attribute that describes the periodicity at
which to collect the performance information.";
reference
"GS NFV IFA014: Section 6.2.8.2 MonitoringParameter
information element";
}