Commit f1ed50a8 authored by Mahesh Jethanandani's avatar Mahesh Jethanandani
Browse files

Fix for bug#95

parent df8a2e67
Pipeline #282 failed with stage
in 0 seconds
...@@ -274,11 +274,17 @@ ...@@ -274,11 +274,17 @@
<max-number-of-instances>1</max-number-of-instances> <max-number-of-instances>1</max-number-of-instances>
<virtual-link-connectivity> <virtual-link-connectivity>
<virtual-link-profile-id>mgmt</virtual-link-profile-id> <virtual-link-profile-id>mgmt</virtual-link-profile-id>
<cpd-id>management</cpd-id> <constituent-cpd-id>
<constituent-base-element-id>firewall</constituent-base-element-id>
<constituent-cpd-id>management</constituent-cpd-id>
</constituent-cpd-id>
</virtual-link-connectivity> </virtual-link-connectivity>
<virtual-link-connectivity> <virtual-link-connectivity>
<virtual-link-profile-id>r2fw</virtual-link-profile-id> <virtual-link-profile-id>r2fw</virtual-link-profile-id>
<cpd-id>outside</cpd-id> <constituent-cpd-id>
<constituent-base-element-id>firewall</constituent-base-element-id>
<constituent-cpd-id>outside</constituent-cpd-id>
</constituent-cpd-id>
</virtual-link-connectivity> </virtual-link-connectivity>
</vnf-profile> </vnf-profile>
<vnf-profile> <vnf-profile>
...@@ -290,11 +296,17 @@ ...@@ -290,11 +296,17 @@
<max-number-of-instances>1</max-number-of-instances> <max-number-of-instances>1</max-number-of-instances>
<virtual-link-connectivity> <virtual-link-connectivity>
<virtual-link-profile-id>mgmt</virtual-link-profile-id> <virtual-link-profile-id>mgmt</virtual-link-profile-id>
<cpd-id>management</cpd-id> <constituent-cpd-id>
<constituent-base-element-id>router</constituent-base-element-id>
<constituent-cpd-id>management</constituent-cpd-id>
</constituent-cpd-id>
</virtual-link-connectivity> </virtual-link-connectivity>
<virtual-link-connectivity> <virtual-link-connectivity>
<virtual-link-profile-id>r2fw</virtual-link-profile-id> <virtual-link-profile-id>r2fw</virtual-link-profile-id>
<cpd-id>right</cpd-id> <constituent-cpd-id>
<constituent-base-element-id>router</constituent-base-element-id>
<constituent-cpd-id>right</constituent-cpd-id>
</constituent-cpd-id>
</virtual-link-connectivity> </virtual-link-connectivity>
</vnf-profile> </vnf-profile>
<virtual-link-profile> <virtual-link-profile>
...@@ -343,15 +355,24 @@ ...@@ -343,15 +355,24 @@
<max-number-of-instances>1</max-number-of-instances> <max-number-of-instances>1</max-number-of-instances>
<virtual-link-connectivity> <virtual-link-connectivity>
<virtual-link-profile-id>fw2dpi</virtual-link-profile-id> <virtual-link-profile-id>fw2dpi</virtual-link-profile-id>
<cpd-id>inside</cpd-id> <constituent-cpd-id>
<constituent-base-element-id>firewall</constituent-base-element-id>
<constituent-cpd-id>inside</constituent-cpd-id>
</constituent-cpd-id>
</virtual-link-connectivity> </virtual-link-connectivity>
<virtual-link-connectivity> <virtual-link-connectivity>
<virtual-link-profile-id>mgmt</virtual-link-profile-id> <virtual-link-profile-id>mgmt</virtual-link-profile-id>
<cpd-id>management</cpd-id> <constituent-cpd-id>
<constituent-base-element-id>firewall</constituent-base-element-id>
<constituent-cpd-id>management</constituent-cpd-id>
</constituent-cpd-id>
</virtual-link-connectivity> </virtual-link-connectivity>
<virtual-link-connectivity> <virtual-link-connectivity>
<virtual-link-profile-id>r2fw</virtual-link-profile-id> <virtual-link-profile-id>r2fw</virtual-link-profile-id>
<cpd-id>outside</cpd-id> <constituent-cpd-id>
<constituent-base-element-id>firewall</constituent-base-element-id>
<constituent-cpd-id>outside</constituent-cpd-id>
</constituent-cpd-id>
</virtual-link-connectivity> </virtual-link-connectivity>
</vnf-profile> </vnf-profile>
<vnf-profile> <vnf-profile>
...@@ -363,11 +384,17 @@ ...@@ -363,11 +384,17 @@
<max-number-of-instances>1</max-number-of-instances> <max-number-of-instances>1</max-number-of-instances>
<virtual-link-connectivity> <virtual-link-connectivity>
<virtual-link-profile-id>mgmt</virtual-link-profile-id> <virtual-link-profile-id>mgmt</virtual-link-profile-id>
<cpd-id>management</cpd-id> <constituent-cpd-id>
<constituent-base-element-id>router</constituent-base-element-id>
<constituent-cpd-id>management</constituent-cpd-id>
</constituent-cpd-id>
</virtual-link-connectivity> </virtual-link-connectivity>
<virtual-link-connectivity> <virtual-link-connectivity>
<virtual-link-profile-id>r2fw</virtual-link-profile-id> <virtual-link-profile-id>r2fw</virtual-link-profile-id>
<cpd-id>right</cpd-id> <constituent-cpd-id>
<constituent-base-element-id>router</constituent-base-element-id>
<constituent-cpd-id>right</constituent-cpd-id>
</constituent-cpd-id>
</virtual-link-connectivity> </virtual-link-connectivity>
</vnf-profile> </vnf-profile>
<pnf-profile> <pnf-profile>
...@@ -375,7 +402,10 @@ ...@@ -375,7 +402,10 @@
<pnfd-id>physical-dpi</pnfd-id> <pnfd-id>physical-dpi</pnfd-id>
<virtual-link-connectivity> <virtual-link-connectivity>
<virtual-link-profile-id>fw2dpi</virtual-link-profile-id> <virtual-link-profile-id>fw2dpi</virtual-link-profile-id>
<cpd-id>outside</cpd-id> <constituent-cpd-id>
<constituent-base-element-id>physical-dpi</constituent-base-element-id>
<constituent-cpd-id>outside</constituent-cpd-id>
</constituent-cpd-id>
</virtual-link-connectivity> </virtual-link-connectivity>
</pnf-profile> </pnf-profile>
<virtual-link-profile> <virtual-link-profile>
...@@ -468,7 +498,10 @@ ...@@ -468,7 +498,10 @@
<max-number-of-instances>1</max-number-of-instances> <max-number-of-instances>1</max-number-of-instances>
<virtual-link-connectivity> <virtual-link-connectivity>
<virtual-link-profile-id>r2fw</virtual-link-profile-id> <virtual-link-profile-id>r2fw</virtual-link-profile-id>
<cpd-id>right</cpd-id> <constituent-cpd-id>
<constituent-base-element-id>router</constituent-base-element-id>
<constituent-cpd-id>right</constituent-cpd-id>
</constituent-cpd-id>
</virtual-link-connectivity> </virtual-link-connectivity>
</vnf-profile> </vnf-profile>
<virtual-link-profile> <virtual-link-profile>
...@@ -502,7 +535,10 @@ ...@@ -502,7 +535,10 @@
<max-number-of-instances>1</max-number-of-instances> <max-number-of-instances>1</max-number-of-instances>
<virtual-link-connectivity> <virtual-link-connectivity>
<virtual-link-profile-id>r2fw</virtual-link-profile-id> <virtual-link-profile-id>r2fw</virtual-link-profile-id>
<cpd-id>outside</cpd-id> <constituent-cpd-id>
<constituent-base-element-id>firewall</constituent-base-element-id>
<constituent-cpd-id>outside</constituent-cpd-id>
</constituent-cpd-id>
</virtual-link-connectivity> </virtual-link-connectivity>
</ns-profile> </ns-profile>
</df> </df>
......
...@@ -807,18 +807,41 @@ submodule etsi-nfv-ns { ...@@ -807,18 +807,41 @@ submodule etsi-nfv-ns {
information element."; information element.";
} }
leaf-list cpd-id { list constituent-cpd-id {
type leafref { key "constituent-base-element-id";
path "deref(../../vnfd-id)/../ext-cpd/id";
}
description description
"References the descriptor of a connection point on a "Describes a connection point on a VNF/PNF or a SAP
VNF/PNF or a SAP which connects to virtual links which connects to virtual links instantiated from
instantiated from the profile identified in the the profile identified in the virtualLinkProfileId
virtualLinkProfileId attribute."; attribute.";
reference reference
"GS NFV IFA014: Section 6.3.7.2, NsVirutalLinkConnectivity "GS NFV IFA014: Section 6.3.7
information element."; 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";
}
} }
} }
} }
...@@ -874,18 +897,41 @@ submodule etsi-nfv-ns { ...@@ -874,18 +897,41 @@ submodule etsi-nfv-ns {
information element."; information element.";
} }
leaf-list cpd-id { list constituent-cpd-id {
type leafref { key "constituent-base-element-id";
path "deref(../../pnfd-id)/../ext-cpd/id";
}
description description
"References the descriptor of a connection point on a "Describes a connection point on a VNF/PNF or a SAP
VNF/PNF or a SAP which connects to virtual links which connects to virtual links instantiated from
instantiated from the profile identified in the the profile identified in the virtualLinkProfileId
virtualLinkProfileId attribute."; attribute.";
reference reference
"GS NFV IFA014: Section 6.3.7.2, NsVirutalLinkConnectivity "GS NFV IFA014: Section 6.3.7
information element."; 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";
}
} }
} }
} }
...@@ -1340,28 +1386,45 @@ submodule etsi-nfv-ns { ...@@ -1340,28 +1386,45 @@ submodule etsi-nfv-ns {
"GS NFV IFA014: Section 6.3.7.2, NsVirutalLinkConnectivity "GS NFV IFA014: Section 6.3.7.2, NsVirutalLinkConnectivity
information element."; information element.";
} }
leaf-list cpd-id {
type leafref { list constituent-cpd-id {
path "deref(../../nsd-id)/../sapd/id"; key "constituent-base-element-id";
}
description description
"References the descriptor of a connection point on a "Describes a connection point on a VNF/PNF or a SAP
VNF/PNF or a SAP which connects to virtual links which connects to virtual links instantiated from
instantiated from the profile identified in the the profile identified in the virtualLinkProfileId
virtualLinkProfileId attribute."; attribute.";
reference reference
"GS NFV IFA014: Section 6.3.7.2, NsVirutalLinkConnectivity "GS NFV IFA014: Section 6.3.7
information element."; NsVirtualLinkConnectivity information element";
}
description leaf constituent-base-element-id {
"Defines the connection information of the NS, it type leafref {
contains connection relationship between an NS SAP and path "../../../id";
a NS virtual Link of the composite NS."; }
reference description
"GS NFV IFA014: Section 6.3.11.2 NsProfile information "Reference to the profile of an NS constituent.";
element"; 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";
}
}
}
}
list dependencies { list dependencies {
key "id"; key "id";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment