Initialize Heat plugin
This patch adds a heat plugin to provide BGPVPN and BGPVPN-NET-ASSOCIATION resources to HEAT. Partially-Implements: blueprint heat-support-bgpvpn-association Change-Id: Ibebbb306abafc8306601fcf5484fc97ee753fba9
This commit is contained in:
Nikolas Hermanns
committed by
Mathieu Rohon
parent
2804d5f01a
commit
de6ab06f6a
5 changed files with 265 additions and 0 deletions
49
doc/source/heat.rst
Normal file
49
doc/source/heat.rst
Normal file
@@ -0,0 +1,49 @@
========
Heat
========
Installation and Configuration
=============================
Devstack will automatically configure bgpvpn heat support.
Other deployments need to add $NETWORKING_BGPVPN_DIR/networking_bgpvpn_heat
to plugin_dirs in the heat config: /etc/heat/heat.conf.
NETWORKING_BGPVPN_DIR can be found out with:
``python -c "import networking_bgpvpn as n;print(n.__file__)"``
The following HOT file can be used with cloud admin privileges in the demo
project. Within devstack, such privileges can be obtained with the command:
``source openrc admin demo``
Heat Orchestration Template (HOT) example
-----------------------------------------
::
description: BGPVPN networking example
heat_template_version: '2013年05月23日'
resources:
Net1:
type: OS::Neutron::Net
SubNet1:
type: OS::Neutron::Subnet
properties:
network: { get_resource: Net1 }
cidr: 192.168.10.0/24
BGPVPN1:
type: OS::Neutron::BGPVPN
properties:
import_targets: [ '100:1001' ]
export_targets: [ '100:1002' ]
route_targets: [ '100:1000', '200:2000' ]
type: l3
BGPVPN_NET_assoc1:
type: OS::Neutron::BGPVPN-NET-ASSOCIATION
properties:
bgpvpn_id: { get_resource: BGPVPN1 }
network_id: { get_resource: Net1 }
@@ -38,6 +38,7 @@ Contents
api
installation
usage
heat
contributing
specs
future/index
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.