43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
tosca_definitions_version: tosca_simple_profile_for_mec_1_0_0
|
|
metadata:
|
|
template_name: sample-tosca-mead-for-meac
|
|
|
|
topology_template:
|
|
node_templates:
|
|
firewall_meac:
|
|
type: tosca.nodes.mec.MEAC.Apmec
|
|
requirements:
|
|
- host: VDU1
|
|
interfaces:
|
|
Standard:
|
|
create: install_meac.sh
|
|
|
|
VDU1:
|
|
type: tosca.nodes.mec.VDU.Apmec
|
|
properties:
|
|
flavor: m1.small
|
|
mgmt_driver: noop
|
|
config: |
|
|
param0: key1
|
|
param1: key2
|
|
artifacts:
|
|
fedora:
|
|
type: tosca.artifacts.Deployment.Image.VM
|
|
file: https://github.com/bharaththiruveedula/dotfiles/raw/master/fedora-sw.qcow2
|
|
CP1:
|
|
type: tosca.nodes.mec.CP.Apmec
|
|
properties:
|
|
management: true
|
|
anti_spoofing_protection: false
|
|
requirements:
|
|
- virtualLink:
|
|
node: VL1
|
|
- virtualBinding:
|
|
node: VDU1
|
|
|
|
VL1:
|
|
type: tosca.nodes.mec.VL
|
|
properties:
|
|
network_name: private
|
|
vendor: Apmec
|