1 tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0 2 3 description: Generic VDU with parameterized image and flavor 4 5 metadata: 6 template_name: OpenWRT 7 8 topology_template: 9 10 inputs: 11 12 image_source: 13 type: string 14 description: Image source for the server 15 default: OpenWRT 16 17 node_templates: 18 19 VDU1: 20 type: tosca.nodes.nfv.VDU.Tacker 21 properties: 22 image: m1.tiny 23 flavor: m1.tiny 24 monitoring_policy: 25 name: ping 26 actions: 27 failure: respawn 28 parameters: 29 count: 3 30 interval: 10 31 artifacts: 32 VNFImage: 33 type: tosca.artifacts.Deployment.Image.VM 34 file: { get_input: image_source } 35 36 CP1: 37 type: tosca.nodes.nfv.CP.Tacker 38 properties: 39 management: true 40 anti_spoofing_protection: false 41 requirements: 42 - virtualLink: 43 node: VL1 44 - virtualBinding: 45 node: VDU1 46 47 CP2: 48 type: tosca.nodes.nfv.CP.Tacker 49 properties: 50 anti_spoofing_protection: false 51 requirements: 52 - virtualLink: 53 node: VL2 54 - virtualBinding: 55 node: VDU1 56 57 CP3: 58 type: tosca.nodes.nfv.CP.Tacker 59 properties: 60 anti_spoofing_protection: false 61 requirements: 62 - virtualLink: 63 node: VL3 64 - virtualBinding: 65 node: VDU1 66 67 VL1: 68 type: tosca.nodes.nfv.VL 69 properties: 70 network_name: net_mgmt 71 vendor: Tacker 72 73 VL2: 74 type: tosca.nodes.nfv.VL 75 properties: 76 network_name: pkt_in 77 vendor: Tacker 78 79 VL3: 80 type: tosca.nodes.nfv.VL 81 properties: 82 network_name: pkt_out 83 vendor: Tacker 84