apmec/samples/mistral/workflows/input/create_mead.json
2018-05-07 13:25:56 +02:00

11 lines
1.6 KiB
JSON

{
"body":{
"mead":{
"attributes":{
"mead":"tosca_definitions_version: tosca_simple_profile_for_mec_1_0_0\n\ndescription: Demo example\n\nmetadata:\n template_name: sample-tosca-mead\n\ntopology_template:\n node_templates:\n VDU1:\n type: tosca.nodes.mec.VDU.Apmec\n properties:\n image: cirros-0.3.5-x86_64-disk\n flavor: m1.tiny\n availability_zone: nova\n mgmt_driver: noop\n config: |\n param0: key1\n param1: key2\n\n CP1:\n type: tosca.nodes.mec.CP.Apmec\n properties:\n management: true\n anti_spoofing_protection: false\n requirements:\n - virtualLink:\n node: VL1\n - virtualBinding:\n node: VDU1\n\n CP2:\n type: tosca.nodes.mec.CP.Apmec\n properties:\n anti_spoofing_protection: false\n requirements:\n - virtualLink:\n node: VL2\n - virtualBinding:\n node: VDU1\n\n CP3:\n type: tosca.nodes.mec.CP.Apmec\n properties:\n anti_spoofing_protection: false\n requirements:\n - virtualLink:\n node: VL3\n - virtualBinding:\n node: VDU1\n\n VL1:\n type: tosca.nodes.mec.VL\n properties:\n network_name: net_mgmt\n vendor: Apmec\n\n VL2:\n type: tosca.nodes.mec.VL\n properties:\n network_name: net0\n vendor: Apmec\n\n VL3:\n type: tosca.nodes.mec.VL\n properties:\n network_name: net1\n vendor: Apmec\n"
},
"name":"apmec-create-mead"
}
}
}