This change relocates the extraroute resource from the contrib area into the main resource tree, marking it as unsupported. Change-Id: I6a51c9bdfb39d61adac48e5bcdf76f04a94e70a1changes/08/186608/1
parent
6311fa3050
commit
6080985be4
@ -1,40 +0,0 @@
|
||||
ExtraRoute plugin for OpenStack Heat
|
||||
====================================
|
||||
|
||||
This plugin enables using ExtraRoute as a resource in a Heat template.
|
||||
|
||||
This resource allows assigning extra routes to Neutron routers via Heat
|
||||
templates.
|
||||
|
||||
NOTE: Implementing ExtraRoute in the main heat tree is under discussion in the
|
||||
heat community.
|
||||
|
||||
This plugin has been implemented in contrib to provide access to the
|
||||
functionality while the discussion takes place, as some users have an immediate
|
||||
requirement for it.
|
||||
It may be moved to the main heat tree in due-course, depending on the outcome
|
||||
of the community discussion.
|
||||
|
||||
### 1. Install the ExtraRoute plugin in Heat
|
||||
|
||||
NOTE: These instructions assume the value of heat.conf plugin_dirs includes the
|
||||
default directory /usr/lib/heat.
|
||||
|
||||
To install the plugin, from this directory run:
|
||||
sudo python ./setup.py install
|
||||
|
||||
### 2. Restart heat
|
||||
|
||||
Only the process "heat-engine" needs to be restarted to load the newly
|
||||
installed plugin.
|
||||
|
||||
### 3. Example of ExtraRoute
|
||||
|
||||
"router_extraroute": {
|
||||
"Type": "OS::Neutron::ExtraRoute",
|
||||
"Properties": {
|
||||
"router_id": { "Ref" : "router" },
|
||||
"destination": "172.16.0.0/24",
|
||||
"nexthop": "192.168.0.254"
|
||||
}
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
[metadata]
|
||||
name = heat-contrib-extraroute
|
||||
summary = Heat resource for ExtraRoute
|
||||
description-file =
|
||||
README.md
|
||||
author = OpenStack
|
||||
author-email = openstack-dev@lists.openstack.org
|
||||
home-page = http://www.openstack.org/
|
||||
classifier =
|
||||
Environment :: OpenStack
|
||||
Intended Audience :: Information Technology
|
||||
Intended Audience :: System Administrators
|
||||
License :: OSI Approved :: Apache Software License
|
||||
Operating System :: POSIX :: Linux
|
||||
Programming Language :: Python
|
||||
Programming Language :: Python :: 2
|
||||
Programming Language :: Python :: 2.7
|
||||
Programming Language :: Python :: 2.6
|
||||
|
||||
[files]
|
||||
# Copy to /usr/lib/heat for plugin loading
|
||||
data_files =
|
||||
lib/heat/extraroute = extraroute/resources/*
|
||||
|
||||
[global]
|
||||
setup-hooks =
|
||||
pbr.hooks.setup_hook
|
@ -1,30 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
# implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
|
||||
import setuptools
|
||||
|
||||
# In python < 2.7.4, a lazy loading of package `pbr` will break
|
||||
# setuptools if some other modules registered functions in `atexit`.
|
||||
# solution from: http://bugs.python.org/issue15881#msg170215
|
||||
try:
|
||||
import multiprocessing # noqa
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
setuptools.setup(
|
||||
setup_requires=['pbr'],
|
||||
pbr=True)
|
Loading…
Reference in new issue