Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NFV - Network Functions Virtualisation
SOL006
Commits
1979b02d
Commit
1979b02d
authored
May 17, 2022
by
ppree
Browse files
issue
#54
New CP type to model networking MCIOs
Signed-off-by:
Preethika
<
preethika.p@tataelxsi.co.in
>
parent
8cb93f0a
Pipeline
#11459
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/yang/etsi-nfv-vnf.yang
View file @
1979b02d
...
...
@@ -1563,8 +1563,7 @@ submodule etsi-nfv-vnf {
description
"Reference to the internal Virtual Link Descriptor (VLD)
to which CPs instantiated from this external CP
Descriptor (CPD) connect. Either intVirtualLinkDesc or
intCpd shall be present."
;
Descriptor (CPD) connect."
;
type
leafref
{
path
"/nfv:nfv/nfv:vnfd/nfv:int-virtual-link-desc/nfv:id"
;
}
...
...
@@ -1591,13 +1590,23 @@ submodule etsi-nfv-vnf {
description
"Reference to the VIP CPD which is used to instantiate CPs
to hold virtual IP addresses. These CPs are, in turn,
exposed as external CPs defined by this external CPD.
One and only one of the following attributes shall be
present: intVirtualLinkDesc or intCpd or vipCpd ."
;
exposed as external CPs defined by this external CPD."
;
reference
"GS NFV-IFA011: Section 7.1.3.2, VnfExtCpd information
element"
;
}
leaf
virtual-cpd
{
type
leafref
{
path
"../../virtual-cpd/id"
;
}
description
"References the Virtual CPD which is used to describe a
virtual connection point allowing to access a set of
VNFC instances (based on their respective VDUs)."
;
reference
"GS NFV-IFA011: Section 7.1.3.2, VnfExtCpd information
element"
;
}
}
uses
virtual-network-interface-requirements
;
...
...
@@ -1694,6 +1703,105 @@ submodule etsi-nfv-vnf {
"GS NFV IFA011: Section 7.1.2, VNFD information element."
;
}
list
virtual-cpd
{
key
"id"
;
leaf-list
vdu
{
type
leafref
{
path
"../../vdu/id"
;
}
description
"References the VDU(s) which implement this service."
;
reference
"GS NFV IFA011: Section 7.1.18.2, Information elements
related to VirtualCpd."
;
}
container
additional-service-data
{
list
port-data
{
key
"name"
;
leaf
name
{
type
string
;
description
"The name of the port exposed by the VirtualCp."
;
reference
"GS NFV IFA011: Section 7.1.18.4, ServicePortData
information element."
;
}
leaf
protocol
{
type
enumeration
{
enum
tcp
;
enum
udp
;
enum
sctp
;
}
description
"The L4 protocol for this port exposed by the VirtualCp.
Values:
• TCP
• UDP
• SCTP"
;
reference
"GS NFV IFA011: Section 7.1.18.4, ServicePortData
information element."
;
}
leaf
port
{
type
uint64
;
description
"The L4 port number exposed by the VirtualCp."
;
reference
"GS NFV IFA011: Section 7.1.18.4, ServicePortData
information element."
;
}
leaf
port-configurable
{
type
boolean
;
description
"Specifies whether the port attribute value
is allowed to be configurable."
;
reference
"GS NFV IFA011: Section 7.1.18.4, ServicePortData
information element."
;
}
description
"Service port numbers exposed by the VirtualCp."
;
reference
"GS NFV IFA011: Section 7.1.18.3, AdditionalServiceData
information element"
;
}
list
service-data
{
key
"key"
;
max-elements
"1"
;
leaf
key
{
type
string
;
}
leaf
value
{
type
string
;
}
description
"Service matching information exposed by the VirtualCp."
;
reference
"GS NFV IFA011: Section 7.1.18.3, AdditionalServiceData
information element"
;
}
description
"Additional service identification data of the VirtualCp
exposed to NFV-MANO."
;
reference
"GS NFV IFA011: Section 7.1.18.2, Information elements
related to VirtualCpd"
;
}
uses
cpd
;
description
"Describes a virtual connection point allowing to access a
set of VNFC instances (based on their respective VDUs)."
;
reference
"GS NFV IFA011: Section 7.1.2, VNFD information element."
;
}
list
df
{
must
"default-instantiation-level or "
+
"count(instantiation-level) = 1"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment