29 lines
636 B
YAML
29 lines
636 B
YAML
heat_template_version: 2013-05-23
|
|
|
|
description: >
|
|
SRIOV example
|
|
|
|
outputs:
|
|
mgmt_ip-VDU1:
|
|
value:
|
|
get_attr: [CP1, fixed_ips, 0, ip_address]
|
|
parameters: {}
|
|
resources:
|
|
CP1:
|
|
properties: {name: sriov, network: net-mgmt}
|
|
type: OS::Neutron::Port
|
|
CP2:
|
|
properties: {'binding:vnic_type': direct, network: sr3010}
|
|
type: OS::Neutron::Port
|
|
VDU1:
|
|
properties:
|
|
availability_zone: nova
|
|
config_drive: false
|
|
flavor: numa-sriov
|
|
image: OpenWRT
|
|
user_data_format: SOFTWARE_CONFIG
|
|
networks:
|
|
- port: {get_resource: CP1}
|
|
- port: {get_resource: CP2}
|
|
type: OS::Nova::Server
|