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
2015年12月03日 16:30:44 +01:00
committed by Mathieu Rohon
parent 2804d5f01a
commit de6ab06f6a

49
doc/source/heat.rst Normal file
View 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 }

View File

@@ -38,6 +38,7 @@ Contents
api
installation
usage
heat
contributing
specs
future/index
Reference in New Issue
openstack/networking-bgpvpn
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.

The note is not visible to the blocked user.