Last active
September 6, 2016 02:00
-
-
Save atyronesmith/e9e790c2ce72ff4874d7b0c4c8f78dab to your computer and use it in GitHub Desktop.
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: Transcoding Centos-7 test NSD | |
| metadata: | |
| ID: Simple Centos-7 test 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.CentOS-7 | |
| properties: | |
| vim_id: openstack-nfvpe # ManageIQ provider entry for openstack cloud | |
| vendor: red hat | |
| id: 1 | |
| version: 1 | |
| ansible_template_name: transcoding-demo | |
| ansible_vim_id: ansible Configuration Manager | |
| requirements: | |
| - virtualLink1: CloudExternal # the subsititution mappings in VNF1 has virtualLink1: [CP1, virtualLink] | |
| - virtualLink2: subscriber # the subsititution mappings in VNF1 has virtualLink2: [CP2, virtualLink] | |
| - virtualLink3: VL1 # the subsititution mappings in VNF1 has virtualLink3: [CP3, virtualLink] | |
| - virtualLink4: # the subsititution mappings in VNF1 has virtualLink4: [CP4, virtualLink] | |
| - virtualLinkMgmt: net_mgmt # 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.CentOS-7 | |
| properties: | |
| vim_id: openstack-nfvpe # ManageIQ provider entry for openstack cloud | |
| vendor: Red Hat | |
| id: 3 | |
| version: 1 | |
| ansible_template_name: transcoding-demo | |
| ansible_vim_id: ansible Configuration Manager | |
| requirements: | |
| - virtualLink1: CloudExternal # the subsititution mappings in VNF1 has virtualLink1: [CP1, virtualLink] | |
| - virtualLink2: VL1 # the subsititution mappings in VNF1 has virtualLink2: [CP2, virtualLink] | |
| - virtualLink3: # the subsititution mappings in VNF1 has virtualLink3: [CP3, virtualLink] | |
| - virtualLink4: # the subsititution mappings in VNF1 has virtualLink4: [CP4, virtualLink] | |
| - virtualLinkMgmt: net_mgmt # 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] | |
| 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 | |
| net_mgmt: | |
| type: tosca.nodes.nfv.VL | |
| properties: | |
| network_type: flat | |
| vendor: openstack | |
| cidr: 10.0.13.0/24 | |
| subscriber: | |
| type: tosca.nodes.nfv.VL | |
| properties: | |
| network_type: flat | |
| vendor: openstack | |
| cidr: 10.0.20.0/24 | |
| CloudExternal: | |
| type: tosca.nodes.nfv.VL | |
| properties: | |
| network_type: flat | |
| vendor: openstack | |
| cidr: 10.2.0.0/24 | |
| VL1: | |
| type: tosca.nodes.nfv.VL | |
| properties: | |
| network_type: something | |
| vendor: openstack | |
| cidr: 10.10.0.0/24 | |
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: transcoding-demo | |
| # NOT USED | |
| #imports: | |
| # - tacker_nfv_defs.yaml | |
| # - tacker_defs.yaml | |
| metadata: | |
| template_name: transcoding | |
| ID: Transcoding Demo Centos-7 | |
| vendor: Red Hat Inc | |
| version: 1 | |
| node_types: | |
| tosca.nodes.nfv.VNF.CentOS-7: | |
| 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.CentOS-7 | |
| 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: CentOS-7 # Pre-existing image in glance | |
| node_templates: | |
| VDU1: | |
| type: tosca.nodes.nfv.VDU.Tacker | |
| capabilities: | |
| nfv_compute: | |
| properties: | |
| disk_size: 20 GB | |
| mem_size: 4096 MB | |
| num_cpus: 2 | |
| properties: | |
| key_name: transcode_vnf_key | |
| service_type: transcoder | |
| 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