82 lines
1.9 KiB
JSON
82 lines
1.9 KiB
JSON
![]() |
{
|
||
|
"ns": {
|
||
|
"name": "ns_test",
|
||
|
"description": "sample NS",
|
||
|
"tenant_id": "058079ca392749bfa58831e0467a5439",
|
||
|
"attributes": {
|
||
|
"param_values": {
|
||
|
"nsd": {
|
||
|
"vl2_name": "net0",
|
||
|
"vl1_name": "net_mgmt"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"nsd_template": {
|
||
|
"imports": [
|
||
|
"VNFD1",
|
||
|
"VNFD2"
|
||
|
],
|
||
|
"tosca_definitions_version": "tosca_simple_profile_for_nfv_1_0_0",
|
||
|
"topology_template": {
|
||
|
"inputs": {
|
||
|
"vl2_name": {
|
||
|
"default": "net0",
|
||
|
"type": "string",
|
||
|
"description": "name of VL2 virtuallink"
|
||
|
},
|
||
|
"vl1_name": {
|
||
|
"default": "net_mgmt",
|
||
|
"type": "string",
|
||
|
"description": "name of VL1 virtuallink"
|
||
|
}
|
||
|
},
|
||
|
"node_templates": {
|
||
|
"VNF1": {
|
||
|
"type": "tosca.nodes.nfv.VNF1",
|
||
|
"requirements": [
|
||
|
{
|
||
|
"virtualLink1": "VL1"
|
||
|
},
|
||
|
{
|
||
|
"virtualLink2": "VL2"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"VNF2": {
|
||
|
"type": "tosca.nodes.nfv.VNF2"
|
||
|
},
|
||
|
"VL1": {
|
||
|
"type": "tosca.nodes.nfv.VL",
|
||
|
"properties": {
|
||
|
"network_name": {
|
||
|
"get_input": "vl1_name"
|
||
|
},
|
||
|
"vendor": "tacker"
|
||
|
}
|
||
|
},
|
||
|
"VNF1": {
|
||
|
"type": "tosca.nodes.nfv.VNF1",
|
||
|
"requirements": [
|
||
|
{
|
||
|
"virtualLink1": "VL1"
|
||
|
},
|
||
|
{
|
||
|
"virtualLink2": "VL2"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"VL2": {
|
||
|
"type": "tosca.nodes.nfv.VL",
|
||
|
"properties": {
|
||
|
"network_name": {
|
||
|
"get_input": "vl2_name"
|
||
|
},
|
||
|
"vendor": "tacker"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|