-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpci.template
50 lines (47 loc) · 1.13 KB
/
pci.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"AWSTemplateFormatVersion" : "2010-09-09",
"Description": "SR-IOV HOT template that just defines a single compute instance",
"Parameters" : {
"KeyName" : {
"Type": "String",
"Description": "Name of an existing key pair to use for the instance",
"Default": "heat_key"
},
"InstanceType": {
"Type": "String",
"Description": "Instance type for the instance to be created",
"Default": "m1.small"
},
"ImageId" : {
"Description": "ID of the image to use for the instance",
"Type": "String",
"Default": "ubuntu_precise"
},
"my_net" : {
"Type": "String",
"Description": "the net",
"Default" : "private"
}
},
"Resources" : {
"my_port" : {
"Type": "OS::Neutron::Port",
"Properties" : {
"network": { "Ref": "my_net" },
"binding:vnic_type": "direct",
"replacement_policy": "AUTO"
}
}
},
"Outputs" : {
"instance_ip": {
"Description": "The IP address of the deployed instance",
"Value": {
"get_attr": [
"my_port",
"status"
]
}
}
}
}