diff options
Diffstat (limited to 'heat_template/vacl_heat_provider.yaml')
-rw-r--r-- | heat_template/vacl_heat_provider.yaml | 528 |
1 files changed, 528 insertions, 0 deletions
diff --git a/heat_template/vacl_heat_provider.yaml b/heat_template/vacl_heat_provider.yaml new file mode 100644 index 00000000..e752bc36 --- /dev/null +++ b/heat_template/vacl_heat_provider.yaml @@ -0,0 +1,528 @@ +{ + "description": "Stack built by the yardstick framework for root on host d891f47de4a1 2017-10-08 21:59:14.\nAll referred generated resources are prefixed with the template\nname (i.e. vacl_provider).", + "heat_template_version": "2013-05-23", + "outputs": { + "vacl_vnf.vacl_provider": { + "description": "VM UUID", + "value": { + "get_resource": "vacl_vnf.vacl_provider" + } + }, + "vacl_vnf.vacl_provider-fip": { + "description": "floating ip vacl_vnf.vacl_provider-fip", + "value": { + "get_attr": [ + "vacl_vnf.vacl_provider-fip", + "ip" + ] + } + }, + "vacl_vnf.vacl_provider-mgmt-port": { + "description": "Address for interface vacl_vnf.vacl_provider-mgmt-port", + "value": { + "get_attr": [ + "vacl_vnf.vacl_provider-mgmt-port", + "fixed_ips", + 0, + "ip_address" + ] + } + }, + "vacl_vnf.vacl_provider-mgmt-port-device_id": { + "description": "Device ID for interface vacl_vnf.vacl_provider-mgmt-port", + "value": { + "get_attr": [ + "vacl_vnf.vacl_provider-mgmt-port", + "device_id" + ] + } + }, + "vacl_vnf.vacl_provider-mgmt-port-mac_address": { + "description": "MAC Address for interface vacl_vnf.vacl_provider-mgmt-port", + "value": { + "get_attr": [ + "vacl_vnf.vacl_provider-mgmt-port", + "mac_address" + ] + } + }, + "vacl_vnf.vacl_provider-mgmt-port-network_id": { + "description": "Network ID for interface vacl_vnf.vacl_provider-mgmt-port", + "value": { + "get_attr": [ + "vacl_vnf.vacl_provider-mgmt-port", + "network_id" + ] + } + }, + "vacl_vnf.vacl_provider-mgmt-port-subnet_id": { + "description": "Address for interface vacl_vnf.vacl_provider-mgmt-port", + "value": { + "get_attr": [ + "vacl_vnf.vacl_provider-mgmt-port", + "fixed_ips", + 0, + "subnet_id" + ] + } + }, + "vacl_vnf.vacl_provider-xe0-port": { + "description": "Address for interface vacl_vnf.vacl_provider-xe0-port", + "value": { + "get_attr": [ + "vacl_vnf.vacl_provider-xe0-port", + "fixed_ips", + 0, + "ip_address" + ] + } + }, + "vacl_vnf.vacl_provider-xe0-port-device_id": { + "description": "Device ID for interface vacl_vnf.vacl_provider-xe0-port", + "value": { + "get_attr": [ + "vacl_vnf.vacl_provider-xe0-port", + "device_id" + ] + } + }, + "vacl_vnf.vacl_provider-xe0-port-mac_address": { + "description": "MAC Address for interface vacl_vnf.vacl_provider-xe0-port", + "value": { + "get_attr": [ + "vacl_vnf.vacl_provider-xe0-port", + "mac_address" + ] + } + }, + "vacl_vnf.vacl_provider-xe0-port-network_id": { + "description": "Network ID for interface vacl_vnf.vacl_provider-xe0-port", + "value": { + "get_attr": [ + "vacl_vnf.vacl_provider-xe0-port", + "network_id" + ] + } + }, + "vacl_vnf.vacl_provider-xe0-port-subnet_id": { + "description": "Address for interface vacl_vnf.vacl_provider-xe0-port", + "value": { + "get_attr": [ + "vacl_vnf.vacl_provider-xe0-port", + "fixed_ips", + 0, + "subnet_id" + ] + } + }, + "vacl_vnf.vacl_provider-xe1-port": { + "description": "Address for interface vacl_vnf.vacl_provider-xe1-port", + "value": { + "get_attr": [ + "vacl_vnf.vacl_provider-xe1-port", + "fixed_ips", + 0, + "ip_address" + ] + } + }, + "vacl_vnf.vacl_provider-xe1-port-device_id": { + "description": "Device ID for interface vacl_vnf.vacl_provider-xe1-port", + "value": { + "get_attr": [ + "vacl_vnf.vacl_provider-xe1-port", + "device_id" + ] + } + }, + "vacl_vnf.vacl_provider-xe1-port-mac_address": { + "description": "MAC Address for interface vacl_vnf.vacl_provider-xe1-port", + "value": { + "get_attr": [ + "vacl_vnf.vacl_provider-xe1-port", + "mac_address" + ] + } + }, + "vacl_vnf.vacl_provider-xe1-port-network_id": { + "description": "Network ID for interface vacl_vnf.vacl_provider-xe1-port", + "value": { + "get_attr": [ + "vacl_vnf.vacl_provider-xe1-port", + "network_id" + ] + } + }, + "vacl_vnf.vacl_provider-xe1-port-subnet_id": { + "description": "Address for interface vacl_vnf.vacl_provider-xe1-port", + "value": { + "get_attr": [ + "vacl_vnf.vacl_provider-xe1-port", + "fixed_ips", + 0, + "subnet_id" + ] + } + }, + "vacl_provider-flavor": { + "description": "Flavor vacl_provider-flavor ID", + "value": { + "get_resource": "vacl_provider-flavor" + } + }, + "vacl_provider-mgmt-subnet": { + "description": "subnet vacl_provider-mgmt-subnet ID", + "value": { + "get_resource": "vacl_provider-mgmt-subnet" + } + }, + "vacl_provider-mgmt-subnet-cidr": { + "description": "subnet vacl_provider-mgmt-subnet cidr", + "value": { + "get_attr": [ + "vacl_provider-mgmt-subnet", + "cidr" + ] + } + }, + "vacl_provider-mgmt-subnet-gateway_ip": { + "description": "subnet vacl_provider-mgmt-subnet gateway_ip", + "value": { + "get_attr": [ + "vacl_provider-mgmt-subnet", + "gateway_ip" + ] + } + }, + "vacl_provider-secgroup": { + "description": "ID of Security Group", + "value": { + "get_resource": "vacl_provider-secgroup" + } + }, + "vacl_provider-xe0-subnet": { + "description": "subnet vacl_provider-xe0-subnet ID", + "value": { + "get_resource": "vacl_provider-xe0-subnet" + } + }, + "vacl_provider-xe0-subnet-cidr": { + "description": "subnet vacl_provider-xe0-subnet cidr", + "value": { + "get_attr": [ + "vacl_provider-xe0-subnet", + "cidr" + ] + } + }, + "vacl_provider-xe0-subnet-gateway_ip": { + "description": "subnet vacl_provider-xe0-subnet gateway_ip", + "value": { + "get_attr": [ + "vacl_provider-xe0-subnet", + "gateway_ip" + ] + } + }, + "vacl_provider-xe1-subnet": { + "description": "subnet vacl_provider-xe1-subnet ID", + "value": { + "get_resource": "vacl_provider-xe1-subnet" + } + }, + "vacl_provider-xe1-subnet-cidr": { + "description": "subnet vacl_provider-xe1-subnet cidr", + "value": { + "get_attr": [ + "vacl_provider-xe1-subnet", + "cidr" + ] + } + }, + "vacl_provider-xe1-subnet-gateway_ip": { + "description": "subnet vacl_provider-xe1-subnet gateway_ip", + "value": { + "get_attr": [ + "vacl_provider-xe1-subnet", + "gateway_ip" + ] + } + } + }, + "resources": { + "vacl_vnf.vacl_provider": { + "depends_on": [ + "vacl_provider-flavor", + "vacl_provider-key", + "vacl_vnf.vacl_provider-mgmt-port", + "vacl_vnf.vacl_provider-xe0-port", + "vacl_vnf.vacl_provider-xe1-port" + ], + "properties": { + "admin_user": "ubuntu", + "config_drive": true, + "flavor": { + "get_resource": "vacl_provider-flavor" + }, + "image": "yardstick-samplevnfs", + "key_name": { + "get_resource": "vacl_provider-key" + }, + "name": "vacl_vnf.vacl_provider", + "networks": [ + { + "port": { + "get_resource": "vacl_vnf.vacl_provider-mgmt-port" + } + }, + { + "port": { + "get_resource": "vacl_vnf.vacl_provider-xe0-port" + } + }, + { + "port": { + "get_resource": "vacl_vnf.vacl_provider-xe1-port" + } + } + ], + "scheduler_hints": { + "different_host": [] + } + }, + "type": "OS::Nova::Server" + }, + "vacl_vnf.vacl_provider-fip": { + "depends_on": [ + "vacl_vnf.vacl_provider-mgmt-port", + "vacl_provider-mgmt-router-if0", + "vacl_provider-secgroup" + ], + "properties": { + "pool": "yardstick-public" + }, + "type": "OS::Nova::FloatingIP" + }, + "vacl_vnf.vacl_provider-fip-assoc": { + "depends_on": [ + "vacl_vnf.vacl_provider-mgmt-port" + ], + "properties": { + "floatingip_id": { + "get_resource": "vacl_vnf.vacl_provider-fip" + }, + "port_id": { + "get_resource": "vacl_vnf.vacl_provider-mgmt-port" + } + }, + "type": "OS::Neutron::FloatingIPAssociation" + }, + "vacl_vnf.vacl_provider-mgmt-port": { + "depends_on": [ + "vacl_provider-mgmt-subnet", + "vacl_provider-secgroup" + ], + "properties": { + "binding:vnic_type": "normal", + "fixed_ips": [ + { + "subnet": { + "get_resource": "vacl_provider-mgmt-subnet" + } + } + ], + "name": "vacl_vnf.vacl_provider-mgmt-port", + "network_id": { + "get_resource": "vacl_provider-mgmt" + }, + "replacement_policy": "AUTO", + "security_groups": [ + "vacl_provider-secgroup" + ] + }, + "type": "OS::Neutron::Port" + }, + "vacl_vnf.vacl_provider-xe0-port": { + "depends_on": [ + "vacl_provider-xe0-subnet" + ], + "properties": { + "binding:vnic_type": "normal", + "fixed_ips": [ + { + "subnet": { + "get_resource": "vacl_provider-xe0-subnet" + } + } + ], + "name": "vacl_vnf.vacl_provider-xe0-port", + "network_id": { + "get_resource": "vacl_provider-xe0" + }, + "replacement_policy": "AUTO" + }, + "type": "OS::Neutron::Port" + }, + "vacl_vnf.vacl_provider-xe1-port": { + "depends_on": [ + "vacl_provider-xe1-subnet" + ], + "properties": { + "binding:vnic_type": "normal", + "fixed_ips": [ + { + "subnet": { + "get_resource": "vacl_provider-xe1-subnet" + } + } + ], + "name": "vacl_vnf.vacl_provider-xe1-port", + "network_id": { + "get_resource": "vacl_provider-xe1" + }, + "replacement_policy": "AUTO" + }, + "type": "OS::Neutron::Port" + }, + "vacl_provider-flavor": { + "properties": { + "disk": 6, + "ephemeral": 0, + "extra_specs": { + "hw:cpu_cores": 10, + "hw:cpu_sockets": 1, + "hw:cpu_threads": 1 + }, + "flavorid": "vacl_provider-flavor", + "is_public": true, + "name": "vacl_provider-flavor", + "ram": 20480, + "rxtx_factor": 1.0, + "swap": 0, + "vcpus": 10 + }, + "type": "OS::Nova::Flavor" + }, + "vacl_provider-key": { + "properties": { + "name": "vacl_provider-key", + "public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC4/LMV8dMasxxb6qcfc7LspMZM8zwIm+4jPZdwcEBEdx+LO7T/HUpyeqjwKmH+0dE3YFQfoEH5rkJR+vxGSAFeMABR37JsymD1u/1w3HoTyI9t1XjsEXwrWApcOrlrEZSJRb2qedbGF9FQcV/pNJYhMG6YV6zVnd5gBxKoJuEunWMopxeK6NXsmpDGJsEkNR+uzKzc+1LuOG+6cDG44PiidxlVrX86LFkUBuZ7Wtzdu8fnYYyUbGDk9nLIuEynqg5WbMF8ScLca/r6KP/4QdUKR+U1+VCo7ylFzLPaFmeaHis0H/Xe09+MXX/4sdXJCwUOFH7JCoyxZUPAp2JrLk5L\n" + }, + "type": "OS::Nova::KeyPair" + }, + "vacl_provider-mgmt": { + "properties": { + "name": "vacl_provider-mgmt" + }, + "type": "OS::Neutron::Net" + }, + "vacl_provider-mgmt-router": { + "depends_on": [ + "vacl_provider-mgmt-subnet" + ], + "properties": { + "external_gateway_info": { + "network": "yardstick-public" + }, + "name": "vacl_provider-mgmt-router" + }, + "type": "OS::Neutron::Router" + }, + "vacl_provider-mgmt-router-if0": { + "depends_on": [ + "vacl_provider-mgmt-router", + "vacl_provider-mgmt-subnet" + ], + "properties": { + "router_id": { + "get_resource": "vacl_provider-mgmt-router" + }, + "subnet_id": { + "get_resource": "vacl_provider-mgmt-subnet" + } + }, + "type": "OS::Neutron::RouterInterface" + }, + "vacl_provider-mgmt-subnet": { + "depends_on": "vacl_provider-mgmt", + "properties": { + "cidr": "10.0.1.0/24", + "enable_dhcp": "true", + "name": "vacl_provider-mgmt-subnet", + "network_id": { + "get_resource": "vacl_provider-mgmt" + } + }, + "type": "OS::Neutron::Subnet" + }, + "vacl_provider-secgroup": { + "properties": { + "description": "Group allowing icmp and upd/tcp on all ports", + "name": "vacl_provider-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" + }, + "vacl_provider-xe0": { + "properties": { + "name": "vacl_provider-xe0", + "network_type": "flat", + "physical_network": "phystenant1", + "port_security_enabled": false + }, + "type": "OS::Neutron::ProviderNet" + }, + "vacl_provider-xe0-subnet": { + "depends_on": "vacl_provider-xe0", + "properties": { + "cidr": "10.0.2.0/24", + "enable_dhcp": "true", + "gateway_ip": null, + "name": "vacl_provider-xe0-subnet", + "network_id": { + "get_resource": "vacl_provider-xe0" + } + }, + "type": "OS::Neutron::Subnet" + }, + "vacl_provider-xe1": { + "properties": { + "name": "vacl_provider-xe1", + "network_type": "flat", + "physical_network": "phystenant2", + "port_security_enabled": false + }, + "type": "OS::Neutron::ProviderNet" + }, + "vacl_provider-xe1-subnet": { + "depends_on": "vacl_provider-xe1", + "properties": { + "cidr": "10.0.3.0/24", + "enable_dhcp": "true", + "gateway_ip": null, + "name": "vacl_provider-xe1-subnet", + "network_id": { + "get_resource": "vacl_provider-xe1" + } + }, + "type": "OS::Neutron::Subnet" + } + } +} |