-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathipv6-router.yaml
83 lines (69 loc) · 2.04 KB
/
ipv6-router.yaml
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#
heat_template_version: 2013-05-23
description: >
HOT template that creates a IPV6 network and and IPV6 router.
This is used to verify https://review.openstack.org/#/c/156283/
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.large
ImageId:
type: string
description: ID of the image to use for the instance
public_net:
type: string
description: >
ID or name of public network for which floating IP addresses will be allocated
resources:
ipv6_net:
type: OS::Neutron::Net
properties:
name: ipv6-net
value_specs: { "router:external": True }
# ipv6_subnet:
# type: OS::Neutron::Subnet
# properties:
# cidr: fd01:1::/64
# ip_version: 6
# name: ipv6-subnet
# network: { get_resource: ipv6_net }
## host_routes:
## - {destination: fade:1::ffff:ffff:ffff:fffe, nexthop: fade:1::ffff:ffff:ffff:fffe}
router:
type: OS::Neutron::Router
properties:
external_gateway_info:
network: { get_resource: ipv6_net }
#ipv6_port:
# type: OS::Neutron::Port
# properties:
# network_id: { get_resource: ipv6_net }
#fixed_ips:
#- subnet_id: { get_resource: ipv6_subnet }
#my_instance:
# type: OS::Nova::Server
# properties:
# flavor: { get_param: InstanceType }
# image: { get_param: ImageId }
# key_name: { get_param: KeyName }
# name: ipv6_server
# networks:
# - port: { get_resource: ipv6_port }
outputs:
# address_mode:
# description: The address mode
# value: { get_attr: [ipv6_subnet, ipv6_address_mode] }
# ra_mode:
# description: The RA mode
# value: { get_attr: [ipv6_subnet, ipv6_ra_mode] }
# net:
# description: The net
# value: { get_attr: [ipv6_subnet, network_id] }
# instance_ip:
# description: The IP address of the deployed instance
# value: { get_attr: [my_instance, PublicIp] }