diff options
Diffstat (limited to 'heat_template/vfw_heat_tenant.yaml')
-rw-r--r-- | heat_template/vfw_heat_tenant.yaml | 521 |
1 files changed, 521 insertions, 0 deletions
diff --git a/heat_template/vfw_heat_tenant.yaml b/heat_template/vfw_heat_tenant.yaml new file mode 100644 index 00000000..f114ac34 --- /dev/null +++ b/heat_template/vfw_heat_tenant.yaml @@ -0,0 +1,521 @@ +{ + "description": "Stack built by the yardstick framework for root on host d891f47de4a1 2017-10-08 19:41:19.\nAll referred generated resources are prefixed with the template\nname (i.e. vfw).", + "heat_template_version": "2013-05-23", + "outputs": { + "vfw.vfw": { + "description": "VM UUID", + "value": { + "get_resource": "vfw.vfw" + } + }, + "vfw.vfw-fip": { + "description": "floating ip vfw.vfw-fip", + "value": { + "get_attr": [ + "vfw.vfw-fip", + "ip" + ] + } + }, + "vfw.vfw-mgmt-port": { + "description": "Address for interface vfw.vfw-mgmt-port", + "value": { + "get_attr": [ + "vfw.vfw-mgmt-port", + "fixed_ips", + 0, + "ip_address" + ] + } + }, + "vfw.vfw-mgmt-port-device_id": { + "description": "Device ID for interface vfw.vfw-mgmt-port", + "value": { + "get_attr": [ + "vfw.vfw-mgmt-port", + "device_id" + ] + } + }, + "vfw.vfw-mgmt-port-mac_address": { + "description": "MAC Address for interface vfw.vfw-mgmt-port", + "value": { + "get_attr": [ + "vfw.vfw-mgmt-port", + "mac_address" + ] + } + }, + "vfw.vfw-mgmt-port-network_id": { + "description": "Network ID for interface vfw.vfw-mgmt-port", + "value": { + "get_attr": [ + "vfw.vfw-mgmt-port", + "network_id" + ] + } + }, + "vfw.vfw-mgmt-port-subnet_id": { + "description": "Address for interface vfw.vfw-mgmt-port", + "value": { + "get_attr": [ + "vfw.vfw-mgmt-port", + "fixed_ips", + 0, + "subnet_id" + ] + } + }, + "vfw.vfw-xe0-port": { + "description": "Address for interface vfw.vfw-xe0-port", + "value": { + "get_attr": [ + "vfw.vfw-xe0-port", + "fixed_ips", + 0, + "ip_address" + ] + } + }, + "vfw.vfw-xe0-port-device_id": { + "description": "Device ID for interface vfw.vfw-xe0-port", + "value": { + "get_attr": [ + "vfw.vfw-xe0-port", + "device_id" + ] + } + }, + "vfw.vfw-xe0-port-mac_address": { + "description": "MAC Address for interface vfw.vfw-xe0-port", + "value": { + "get_attr": [ + "vfw.vfw-xe0-port", + "mac_address" + ] + } + }, + "vfw.vfw-xe0-port-network_id": { + "description": "Network ID for interface vfw.vfw-xe0-port", + "value": { + "get_attr": [ + "vfw.vfw-xe0-port", + "network_id" + ] + } + }, + "vfw.vfw-xe0-port-subnet_id": { + "description": "Address for interface vfw.vfw-xe0-port", + "value": { + "get_attr": [ + "vfw.vfw-xe0-port", + "fixed_ips", + 0, + "subnet_id" + ] + } + }, + "vfw.vfw-xe1-port": { + "description": "Address for interface vfw.vfw-xe1-port", + "value": { + "get_attr": [ + "vfw.vfw-xe1-port", + "fixed_ips", + 0, + "ip_address" + ] + } + }, + "vfw.vfw-xe1-port-device_id": { + "description": "Device ID for interface vfw.vfw-xe1-port", + "value": { + "get_attr": [ + "vfw.vfw-xe1-port", + "device_id" + ] + } + }, + "vfw.vfw-xe1-port-mac_address": { + "description": "MAC Address for interface vfw.vfw-xe1-port", + "value": { + "get_attr": [ + "vfw.vfw-xe1-port", + "mac_address" + ] + } + }, + "vfw.vfw-xe1-port-network_id": { + "description": "Network ID for interface vfw.vfw-xe1-port", + "value": { + "get_attr": [ + "vfw.vfw-xe1-port", + "network_id" + ] + } + }, + "vfw.vfw-xe1-port-subnet_id": { + "description": "Address for interface vfw.vfw-xe1-port", + "value": { + "get_attr": [ + "vfw.vfw-xe1-port", + "fixed_ips", + 0, + "subnet_id" + ] + } + }, + "vfw-flavor": { + "description": "Flavor vfw-flavor ID", + "value": { + "get_resource": "vfw-flavor" + } + }, + "vfw-mgmt-subnet": { + "description": "subnet vfw-mgmt-subnet ID", + "value": { + "get_resource": "vfw-mgmt-subnet" + } + }, + "vfw-mgmt-subnet-cidr": { + "description": "subnet vfw-mgmt-subnet cidr", + "value": { + "get_attr": [ + "vfw-mgmt-subnet", + "cidr" + ] + } + }, + "vfw-mgmt-subnet-gateway_ip": { + "description": "subnet vfw-mgmt-subnet gateway_ip", + "value": { + "get_attr": [ + "vfw-mgmt-subnet", + "gateway_ip" + ] + } + }, + "vfw-secgroup": { + "description": "ID of Security Group", + "value": { + "get_resource": "vfw-secgroup" + } + }, + "vfw-xe0-subnet": { + "description": "subnet vfw-xe0-subnet ID", + "value": { + "get_resource": "vfw-xe0-subnet" + } + }, + "vfw-xe0-subnet-cidr": { + "description": "subnet vfw-xe0-subnet cidr", + "value": { + "get_attr": [ + "vfw-xe0-subnet", + "cidr" + ] + } + }, + "vfw-xe0-subnet-gateway_ip": { + "description": "subnet vfw-xe0-subnet gateway_ip", + "value": { + "get_attr": [ + "vfw-xe0-subnet", + "gateway_ip" + ] + } + }, + "vfw-xe1-subnet": { + "description": "subnet vfw-xe1-subnet ID", + "value": { + "get_resource": "vfw-xe1-subnet" + } + }, + "vfw-xe1-subnet-cidr": { + "description": "subnet vfw-xe1-subnet cidr", + "value": { + "get_attr": [ + "vfw-xe1-subnet", + "cidr" + ] + } + }, + "vfw-xe1-subnet-gateway_ip": { + "description": "subnet vfw-xe1-subnet gateway_ip", + "value": { + "get_attr": [ + "vfw-xe1-subnet", + "gateway_ip" + ] + } + } + }, + "resources": { + "vfw.vfw": { + "depends_on": [ + "vfw-flavor", + "vfw-key", + "vfw.vfw-mgmt-port", + "vfw.vfw-xe0-port", + "vfw.vfw-xe1-port" + ], + "properties": { + "admin_user": "ubuntu", + "config_drive": true, + "flavor": { + "get_resource": "vfw-flavor" + }, + "image": "yardstick-samplevnfs", + "key_name": { + "get_resource": "vfw-key" + }, + "name": "vfw.vfw", + "networks": [ + { + "port": { + "get_resource": "vfw.vfw-mgmt-port" + } + }, + { + "port": { + "get_resource": "vfw.vfw-xe0-port" + } + }, + { + "port": { + "get_resource": "vfw.vfw-xe1-port" + } + } + ] + }, + "type": "OS::Nova::Server" + }, + "vfw.vfw-fip": { + "depends_on": [ + "vfw.vfw-mgmt-port", + "vfw-mgmt-router-if0", + "vfw-secgroup" + ], + "properties": { + "pool": "yardstick-public" + }, + "type": "OS::Nova::FloatingIP" + }, + "vfw.vfw-fip-assoc": { + "depends_on": [ + "vfw.vfw-mgmt-port" + ], + "properties": { + "floatingip_id": { + "get_resource": "vfw.vfw-fip" + }, + "port_id": { + "get_resource": "vfw.vfw-mgmt-port" + } + }, + "type": "OS::Neutron::FloatingIPAssociation" + }, + "vfw.vfw-mgmt-port": { + "depends_on": [ + "vfw-mgmt-subnet", + "vfw-secgroup" + ], + "properties": { + "binding:vnic_type": "normal", + "fixed_ips": [ + { + "subnet": { + "get_resource": "vfw-mgmt-subnet" + } + } + ], + "name": "vfw.vfw-mgmt-port", + "network_id": { + "get_resource": "vfw-mgmt" + }, + "replacement_policy": "AUTO", + "security_groups": [ + "vfw-secgroup" + ] + }, + "type": "OS::Neutron::Port" + }, + "vfw.vfw-xe0-port": { + "depends_on": [ + "vfw-xe0-subnet" + ], + "properties": { + "binding:vnic_type": "normal", + "fixed_ips": [ + { + "subnet": { + "get_resource": "vfw-xe0-subnet" + } + } + ], + "name": "vfw.vfw-xe0-port", + "network_id": { + "get_resource": "vfw-xe0" + }, + "replacement_policy": "AUTO" + }, + "type": "OS::Neutron::Port" + }, + "vfw.vfw-xe1-port": { + "depends_on": [ + "vfw-xe1-subnet" + ], + "properties": { + "binding:vnic_type": "normal", + "fixed_ips": [ + { + "subnet": { + "get_resource": "vfw-xe1-subnet" + } + } + ], + "name": "vfw.vfw-xe1-port", + "network_id": { + "get_resource": "vfw-xe1" + }, + "replacement_policy": "AUTO" + }, + "type": "OS::Neutron::Port" + }, + "vfw-flavor": { + "properties": { + "disk": 6, + "ephemeral": 0, + "extra_specs": { + "hw:cpu_cores": 10, + "hw:cpu_sockets": 1, + "hw:cpu_threads": 1 + }, + "flavorid": "vfw-flavor", + "is_public": true, + "name": "vfw-flavor", + "ram": 20480, + "rxtx_factor": 1.0, + "swap": 0, + "vcpus": 10 + }, + "type": "OS::Nova::Flavor" + }, + "vfw-key": { + "properties": { + "name": "vfw-key", + "public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDpNQ5/uWHvNfs9s5qqx9Nksx3g355aBKuCMwa/tWegva1F22qkTQas9JemZdMbURLntyo7ifYCKPkzWPo3yTY9zOOUD2Ugtuaq4FxuhJqo8WGB0TNQCbtWpoapFvRS0CoKj4GCXl3yVMZrFmTaB/Us326oQoxrdhcHUGxYQLuswdqSqDI/IOXnljRMEPT2KNvRjYI6R6yxeu673qCNpE12RgphCptp9uKUxvLnBmVJgfg4Sn1AzqF/p6Zk+CeyhtiGEDAyaVVvhCMcjsQpG7jkklWnE7ftDxbCvihQhl5amqxArk/MgJRAL6tGvVwKSpXibKhep1dwQVaFbowowxGB\n" + }, + "type": "OS::Nova::KeyPair" + }, + "vfw-mgmt": { + "properties": { + "name": "vfw-mgmt" + }, + "type": "OS::Neutron::Net" + }, + "vfw-mgmt-router": { + "depends_on": [ + "vfw-mgmt-subnet" + ], + "properties": { + "external_gateway_info": { + "network": "yardstick-public" + }, + "name": "vfw-mgmt-router" + }, + "type": "OS::Neutron::Router" + }, + "vfw-mgmt-router-if0": { + "depends_on": [ + "vfw-mgmt-router", + "vfw-mgmt-subnet" + ], + "properties": { + "router_id": { + "get_resource": "vfw-mgmt-router" + }, + "subnet_id": { + "get_resource": "vfw-mgmt-subnet" + } + }, + "type": "OS::Neutron::RouterInterface" + }, + "vfw-mgmt-subnet": { + "depends_on": "vfw-mgmt", + "properties": { + "cidr": "10.0.1.0/24", + "enable_dhcp": "true", + "name": "vfw-mgmt-subnet", + "network_id": { + "get_resource": "vfw-mgmt" + } + }, + "type": "OS::Neutron::Subnet" + }, + "vfw-secgroup": { + "properties": { + "description": "Group allowing icmp and upd/tcp on all ports", + "name": "vfw-secgroup", + "rules": [ + { + "port_range_max": "65535", + "port_range_min": "1", + "protocol": "tcp", + "remote_ip_prefix": "0.0.0.0/0" + }, + { + "port_range_max": "65535", + "port_range_min": "1", + "protocol": "udp", + "remote_ip_prefix": "0.0.0.0/0" + }, + { + "protocol": "icmp", + "remote_ip_prefix": "0.0.0.0/0" + } + ] + }, + "type": "OS::Neutron::SecurityGroup" + }, + "vfw-xe0": { + "properties": { + "name": "vfw-xe0", + "port_security_enabled": false + }, + "type": "OS::Neutron::Net" + }, + "vfw-xe0-subnet": { + "depends_on": "vfw-xe0", + "properties": { + "cidr": "10.0.2.0/24", + "enable_dhcp": "false", + "gateway_ip": null, + "name": "vfw-xe0-subnet", + "network_id": { + "get_resource": "vfw-xe0" + } + }, + "type": "OS::Neutron::Subnet" + }, + "vfw-xe1": { + "properties": { + "name": "vfw-xe1", + "port_security_enabled": false + }, + "type": "OS::Neutron::Net" + }, + "vfw-xe1-subnet": { + "depends_on": "vfw-xe1", + "properties": { + "cidr": "10.0.3.0/24", + "enable_dhcp": "false", + "gateway_ip": null, + "name": "vfw-xe1-subnet", + "network_id": { + "get_resource": "vfw-xe1" + } + }, + "type": "OS::Neutron::Subnet" + } + } +} |