Last active
June 2, 2016 07:59
-
-
Save atyronesmith/41c84ca48e0fd4ca76b6e562af090207 to your computer and use it in GitHub Desktop.
NSD and related translated VNFDs for demo, the cf-vnfd-xlate-N.yaml files are what the translated files should look like. The cr-vnfd.yaml file is the base untranslated file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0 | |
description: OPNFV demo NSD | |
metadata: | |
ID: OPNFV demo # ID of this Network Service Descriptor | |
vendor: Red Hat Inc. # Provider or vendor of the Network Service | |
version: 1 # Version of the Network Service Descriptor | |
topology_template: | |
inputs: | |
node_templates: | |
VNF1: | |
type: tosca.nodes.nfv.VNF.CloudRouter | |
properties: | |
vim_id: openstack-nfvpe # ManageIQ provider entry for openstack cloud | |
vendor: cloudrouter | |
id: 1 | |
version: 0.2 | |
requirements: | |
- virtualLink1: VL1 # the subsititution mappings in VNF1 has virtualLink1: [CP1, virtualLink] | |
- virtualLink2: VL2 # the subsititution mappings in VNF1 has virtualLink2: [CP2, virtualLink] | |
- virtualLink3: CloudExternal # the subsititution mappings in VNF1 has virtualLink3: [CP3, virtualLink] | |
- virtualLink4: # the subsititution mappings in VNF1 has virtualLink4: [CP4, virtualLink] | |
- virtualLinkMgmt: NetMgmt # the subsititution mappings in VNF1 has virtualLinkMgmt: [CP5, virtualLink] | |
capabilities: | |
forwarder1: # the subsititution mappings in VNF1 has forwarder1: [CP1, forwarder] | |
forwarder2: # the subsititution mappings in VNF1 has forwarder2: [CP2, forwarder] | |
forwarder3: # the subsititution mappings in VNF1 has forwarder3: [CP3, forwarder] | |
VNF2: | |
type: tosca.nodes.nfv.VNF.CloudRouter | |
properties: | |
vim_id: openstack-nfvpe # ManageIQ provider entry for openstack cloud | |
vendor: cloudrouter | |
id: 2 | |
version: 0.2 | |
requirements: | |
- virtualLink1: VL2 # the subsititution mappings in VNF1 has virtualLink1: [CP1, virtualLink] | |
- virtualLink2: VL3 # the subsititution mappings in VNF1 has virtualLink2: [CP2, virtualLink] | |
- virtualLink3: CloudExternal # the subsititution mappings in VNF1 has virtualLink3: [CP3, virtualLink] | |
- virtualLink4: # the subsititution mappings in VNF1 has virtualLink4 [CP4, virtualLink] | |
- virtualLinkMgmt: NetMgmt # the subsititution mappings in VNF1 has virtualLinkMgmt: [CP5, virtualLink] | |
capabilities: | |
- forwarder1: # the subsititution mappings in VNF1 has forwarder1: [CP1, forwarder] | |
- forwarder2: # the subsititution mappings in VNF1 has forwarder2: [CP2, forwarder] | |
- forwarder3: # the subsititution mappings in VNF1 has forwarder3: [CP3, forwarder] | |
VNF3: | |
type: tosca.nodes.nfv.VNF.CloudRouter | |
properties: | |
vim_id: openstack-nfvpe # ManageIQ provider entry for openstack cloud | |
vendor: cloudrouter | |
id: 3 | |
version: 0.2 | |
requirements: | |
- virtualLink1: VL1 # the subsititution mappings in VNF1 has virtualLink1: [CP1, virtualLink] | |
- virtualLink2: VL2 # the subsititution mappings in VNF1 has virtualLink2: [CP2, virtualLink] | |
- virtualLink3: # the subsititution mappings in VNF1 has virtualLink3: [CP3, virtualLink] | |
- virtualLink4: InterCloud # the subsititution mappings in VNF1 has virtualLink4: [CP4, virtualLink] | |
- virtualLinkMgmt: NetMgmt # the subsititution mappings in VNF1 has virtualLinkMgmt: [CP5, virtualLink] | |
capabilities: | |
forwarder1: # the subsititution mappings in VNF1 has forwarder1: [CP1, forwarder] | |
forwarder2: # the subsititution mappings in VNF1 has forwarder2: [CP2, forwarder] | |
forwarder4: # the subsititution mappings in VNF1 has forwarder4: [CP4, forwarder] | |
VNF4: | |
type: tosca.nodes.nfv.VNF.CloudRouter | |
properties: | |
vim_id: aws-openshift # ManageIQ provider entry for AWS VPC | |
image: ami-0d70f666 # This will generate a parameter override in the inputs section | |
vendor: cloudrouter | |
id: 4 | |
version: 0.2 | |
requirements: | |
- virtualLink1: # the subsititution mappings in VNF1 has virtualLink1: [CP1, virtualLink] | |
- virtualLink2: # the subsititution mappings in VNF1 has virtualLink2: [CP2, virtualLink] | |
- virtualLink3: CloudExternal # the subsititution mappings in VNF1 has virtualLink3: [CP3, virtualLink] | |
- virtualLink4: InterCloud # the subsititution mappings in VNF1 has virtualLink4: [CP4, virtualLink] | |
- virtualLinkMgmt: NetMgmt # the subsititution mappings in VNF1 has virtualLinkMgmt: [CP5, virtualLink] | |
capabilities: | |
forwarder3: # the subsititution mappings in VNF1 has forwarder3: [CP3, forwarder] | |
forwarder4: # the subsititution mappings in VNF1 has forwarder4: [CP4, forwarder] | |
CPnsd1: | |
type: tosca.nodes.nfv.CP | |
properties: | |
type: | |
requirements: | |
- virtualBinding: | |
node: VNF1 | |
- virtualLink: | |
node: CloudExternal | |
CPnsd2: | |
type: tosca.nodes.nfv.CP | |
properties: | |
type: | |
requirements: | |
- virtualBinding: | |
node: VNF2 | |
- virtualLink: | |
node: CloudExternal | |
CPnsd3: #endpoints of NS | |
type: tosca.nodes.nfv.CP | |
properties: | |
type: | |
requirements: | |
- virtualBinding: | |
node: VNF4 | |
- virtualLink: | |
node: VLIMS | |
NetMgmt: | |
type: tosca.nodes.nfv.VL | |
properties: | |
vendor: openstack | |
CloudExternal: | |
type: tosca.nodes.nfv.VL | |
properties: | |
vendor: openstack | |
VL1: | |
type: tosca.nodes.nfv.VL | |
properties: | |
vendor: openstack | |
VL2: | |
type: tosca.nodes.nfv.VL | |
properties: | |
vendor: openstack | |
VL3: | |
type: tosca.nodes.nfv.VL | |
properties: | |
vendor: openstack | |
InterCloud: | |
type: tosca.nodes.nfv.VL | |
properties: | |
vendor: openstack | |
VLIMS: | |
type: tosca.nodes.nfv.VL | |
properties: | |
vendor: openstack | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0 | |
description: OPNFV-Demo-flavor | |
# NOT USED | |
#imports: | |
# - tacker_nfv_defs.yaml | |
# - tacker_defs.yaml | |
metadata: | |
template_name: demo-flavor | |
ID: OPNFV Demo CloudRouter | |
vendor: Red Hat Inc | |
version: 1.0 | |
node_types: | |
tosca.nodes.nfv.VNF.CloudRouter: | |
derived_from: tosca.nodes.nfv.VNF | |
capabilities: | |
forwarder1: | |
type: tosca.capabilities.nfv.Forwarder | |
forwarder2: | |
type: tosca.capabilities.nfv.Forwarder | |
forwarder3: | |
type: tosca.capabilities.nfv.Forwarder | |
forwarder4: | |
type: tosca.capabilities.nfv.Forwarder | |
topology_template: | |
substitution_mappings: | |
node_type: tosca.nodes.nfv.VNF.CloudRouter | |
requirements: | |
virtualLink1: [CP1, virtualLink] | |
virtualLink2: [CP2, virtualLink] | |
virtualLink3: [CP3, virtualLink] | |
virtualLink4: [CP4, virtualLink] | |
virtualLinkMgmt: [CP5, virtualLink] | |
capabilities: | |
forwarder1: [CP1, forwarder] | |
forwarder2: [CP2, forwarder] | |
forwarder3: [CP3, forwarder] | |
forwarder4: [CP4, forwarder] | |
inputs: | |
image: | |
type: string | |
default: cloudRouter # Pre-existing image in glance | |
node_templates: | |
VDU1: | |
type: tosca.nodes.nfv.VDU.Tacker | |
capabilities: | |
nfv_compute: | |
properties: | |
disk_size: 1 GB | |
mem_size: 512 MB | |
num_cpus: 1 | |
properties: | |
service_type: router | |
image: { get_input: image } | |
availability_zone: nova | |
mgmt_driver: noop | |
CP1: | |
type: tosca.nodes.nfv.CP.Tacker | |
properties: | |
anti_spoofing_protection: true | |
requirements: | |
- virtualLink: | |
node: virtualLink1 | |
- virtualBinding: | |
node: VDU1 | |
virtualLink1: | |
type: tosca.nodes.nfv.VL | |
properties: | |
network_name: VL1 | |
vendor: Tacker | |
CP2: | |
type: tosca.nodes.nfv.CP.Tacker | |
properties: | |
anti_spoofing_protection: true | |
requirements: | |
- virtualLink: | |
node: virtualLink2 | |
- virtualBinding: | |
node: VDU1 | |
virtualLink2: | |
type: tosca.nodes.nfv.VL | |
properties: | |
network_name: VL2 | |
vendor: Tacker | |
CP3: | |
type: tosca.nodes.nfv.CP.Tacker | |
properties: | |
anti_spoofing_protection: true | |
requirements: | |
- virtualLink: | |
node: virtualLink3 | |
- virtualBinding: | |
node: VDU1 | |
virtualLink3: | |
type: tosca.nodes.nfv.VL | |
properties: | |
network_name: CloudExternal | |
vendor: Tacker | |
# CP4 Not Connected | |
CP5: | |
type: tosca.nodes.nfv.CP.Tacker | |
properties: | |
anti_spoofing_protection: true | |
requirements: | |
- virtualLink: | |
node: virtualLinkMgmt | |
- virtualBinding: | |
node: VDU1 | |
virtualLinkMgmt: | |
type: tosca.nodes.nfv.VL | |
properties: | |
network_name: NetMgmt | |
vendor: Tacker |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0 | |
description: OPNFV-Demo-flavor | |
# NOT USED | |
#imports: | |
# - tacker_nfv_defs.yaml | |
# - tacker_defs.yaml | |
metadata: | |
template_name: demo-flavor | |
ID: OPNFV Demo CloudRouter | |
vendor: Red Hat Inc | |
version: 1.0 | |
node_types: | |
tosca.nodes.nfv.VNF.CloudRouter: | |
derived_from: tosca.nodes.nfv.VNF | |
capabilities: | |
forwarder1: | |
type: tosca.capabilities.nfv.Forwarder | |
forwarder2: | |
type: tosca.capabilities.nfv.Forwarder | |
forwarder3: | |
type: tosca.capabilities.nfv.Forwarder | |
forwarder4: | |
type: tosca.capabilities.nfv.Forwarder | |
topology_template: | |
substitution_mappings: | |
node_type: tosca.nodes.nfv.VNF.CloudRouter | |
requirements: | |
virtualLink1: [CP1, virtualLink] | |
virtualLink2: [CP2, virtualLink] | |
virtualLink3: [CP3, virtualLink] | |
virtualLink4: [CP4, virtualLink] | |
virtualLinkMgmt: [CP5, virtualLink] | |
capabilities: | |
forwarder1: [CP1, forwarder] | |
forwarder2: [CP2, forwarder] | |
forwarder3: [CP3, forwarder] | |
forwarder4: [CP4, forwarder] | |
inputs: | |
image: | |
type: string | |
default: cloudRouter # Pre-existing image in glance | |
node_templates: | |
VDU1: | |
type: tosca.nodes.nfv.VDU.Tacker | |
capabilities: | |
nfv_compute: | |
properties: | |
disk_size: 1 GB | |
mem_size: 512 MB | |
num_cpus: 1 | |
properties: | |
service_type: router | |
image: { get_input: image } | |
availability_zone: nova | |
mgmt_driver: noop | |
CP1: | |
type: tosca.nodes.nfv.CP.Tacker | |
properties: | |
anti_spoofing_protection: true | |
requirements: | |
- virtualLink: | |
node: virtualLink1 | |
- virtualBinding: | |
node: VDU1 | |
virtualLink1: | |
type: tosca.nodes.nfv.VL | |
properties: | |
network_name: VL2 | |
vendor: Tacker | |
CP2: | |
type: tosca.nodes.nfv.CP.Tacker | |
properties: | |
anti_spoofing_protection: true | |
requirements: | |
- virtualLink: | |
node: virtualLink2 | |
- virtualBinding: | |
node: VDU1 | |
virtualLink2: | |
type: tosca.nodes.nfv.VL | |
properties: | |
network_name: VL3 | |
vendor: Tacker | |
CP3: | |
type: tosca.nodes.nfv.CP.Tacker | |
properties: | |
anti_spoofing_protection: true | |
requirements: | |
- virtualLink: | |
node: virtualLink3 | |
- virtualBinding: | |
node: VDU1 | |
virtualLink3: | |
type: tosca.nodes.nfv.VL | |
properties: | |
network_name: CloudExternal | |
vendor: Tacker | |
# CP4 Not Connected | |
CP5: | |
type: tosca.nodes.nfv.CP.Tacker | |
properties: | |
anti_spoofing_protection: true | |
requirements: | |
- virtualLink: | |
node: virtualLinkMgmt | |
- virtualBinding: | |
node: VDU1 | |
virtualLinkMgmt: | |
type: tosca.nodes.nfv.VL | |
properties: | |
network_name: NetMgmt | |
vendor: Tacker |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0 | |
description: OPNFV-Demo-flavor | |
# NOT USED | |
#imports: | |
# - tacker_nfv_defs.yaml | |
# - tacker_defs.yaml | |
metadata: | |
template_name: demo-flavor | |
ID: OPNFV Demo CloudRouter | |
vendor: Red Hat Inc | |
version: 1.0 | |
node_types: | |
tosca.nodes.nfv.VNF.CloudRouter: | |
derived_from: tosca.nodes.nfv.VNF | |
capabilities: | |
forwarder1: | |
type: tosca.capabilities.nfv.Forwarder | |
forwarder2: | |
type: tosca.capabilities.nfv.Forwarder | |
forwarder3: | |
type: tosca.capabilities.nfv.Forwarder | |
forwarder4: | |
type: tosca.capabilities.nfv.Forwarder | |
topology_template: | |
substitution_mappings: | |
node_type: tosca.nodes.nfv.VNF.CloudRouter | |
requirements: | |
virtualLink1: [CP1, virtualLink] | |
virtualLink2: [CP2, virtualLink] | |
virtualLink3: [CP3, virtualLink] | |
virtualLink4: [CP4, virtualLink] | |
virtualLinkMgmt: [CP5, virtualLink] | |
capabilities: | |
forwarder1: [CP1, forwarder] | |
forwarder2: [CP2, forwarder] | |
forwarder3: [CP3, forwarder] | |
forwarder4: [CP4, forwarder] | |
inputs: | |
image: | |
type: string | |
default: cloudRouter # Pre-existing image in glance | |
node_templates: | |
VDU1: | |
type: tosca.nodes.nfv.VDU.Tacker | |
capabilities: | |
nfv_compute: | |
properties: | |
disk_size: 1 GB | |
mem_size: 512 MB | |
num_cpus: 1 | |
properties: | |
service_type: router | |
image: { get_input: image } | |
availability_zone: nova | |
mgmt_driver: noop | |
# CP1 Not Connected | |
# CP2 Not Connected | |
CP3: | |
type: tosca.nodes.nfv.CP.Tacker | |
properties: | |
anti_spoofing_protection: true | |
requirements: | |
- virtualLink: | |
node: virtualLink3 | |
- virtualBinding: | |
node: VDU1 | |
virtualLink3: | |
type: tosca.nodes.nfv.VL | |
properties: | |
network_name: CloudExternal | |
vendor: Tacker | |
CP4: | |
type: tosca.nodes.nfv.CP.Tacker | |
properties: | |
anti_spoofing_protection: true | |
requirements: | |
- virtualLink: | |
node: virtualLink4 | |
- virtualBinding: | |
node: VDU1 | |
virtualLink4: | |
type: tosca.nodes.nfv.VL | |
properties: | |
network_name: InterExternal | |
vendor: Tacker | |
CP5: | |
type: tosca.nodes.nfv.CP.Tacker | |
properties: | |
anti_spoofing_protection: true | |
requirements: | |
- virtualLink: | |
node: virtualLinkMgmt | |
- virtualBinding: | |
node: VDU1 | |
virtualLinkMgmt: | |
type: tosca.nodes.nfv.VL | |
properties: | |
network_name: NetMgmt | |
vendor: Tacker |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0 | |
description: OPNFV-Demo-flavor | |
# NOT USED | |
#imports: | |
# - tacker_nfv_defs.yaml | |
# - tacker_defs.yaml | |
metadata: | |
template_name: demo-flavor | |
ID: OPNFV Demo CloudRouter | |
vendor: Red Hat Inc | |
version: 1.0 | |
node_types: | |
tosca.nodes.nfv.VNF.CloudRouter: | |
derived_from: tosca.nodes.nfv.VNF | |
capabilities: | |
forwarder1: | |
type: tosca.capabilities.nfv.Forwarder | |
forwarder2: | |
type: tosca.capabilities.nfv.Forwarder | |
forwarder3: | |
type: tosca.capabilities.nfv.Forwarder | |
forwarder4: | |
type: tosca.capabilities.nfv.Forwarder | |
topology_template: | |
substitution_mappings: | |
node_type: tosca.nodes.nfv.VNF.CloudRouter | |
requirements: | |
virtualLink1: [CP1, virtualLink] | |
virtualLink2: [CP2, virtualLink] | |
virtualLink3: [CP3, virtualLink] | |
virtualLink4: [CP4, virtualLink] | |
virtualLinkMgmt: [CP5, virtualLink] | |
capabilities: | |
forwarder1: [CP1, forwarder] | |
forwarder2: [CP2, forwarder] | |
forwarder3: [CP3, forwarder] | |
forwarder4: [CP4, forwarder] | |
inputs: | |
image: | |
type: string | |
default: cloudRouter # Pre-existing image in glance | |
node_templates: | |
VDU1: | |
type: tosca.nodes.nfv.VDU.Tacker | |
capabilities: | |
nfv_compute: | |
properties: | |
disk_size: 1 GB | |
mem_size: 512 MB | |
num_cpus: 1 | |
properties: | |
service_type: router | |
image: { get_input: image } | |
availability_zone: nova | |
mgmt_driver: noop | |
CP1: | |
type: tosca.nodes.nfv.CP.Tacker | |
properties: | |
anti_spoofing_protection: true | |
requirements: | |
- virtualBinding: | |
node: VDU1 | |
CP2: | |
type: tosca.nodes.nfv.CP.Tacker | |
properties: | |
anti_spoofing_protection: true | |
requirements: | |
- virtualBinding: | |
node: VDU1 | |
CP3: | |
type: tosca.nodes.nfv.CP.Tacker | |
properties: | |
anti_spoofing_protection: true | |
requirements: | |
- virtualBinding: | |
node: VDU1 | |
CP4: | |
type: tosca.nodes.nfv.CP.Tacker | |
properties: | |
anti_spoofing_protection: true | |
requirements: | |
- virtualBinding: | |
node: VDU1 | |
CP5: | |
type: tosca.nodes.nfv.CP.Tacker | |
properties: | |
anti_spoofing_protection: false | |
requirements: | |
- virtualBinding: | |
node: VDU1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment