1) Update doc links according to OpenStack document migration
2) Use https instead of http for docs links
Change-Id: I3d01190d4010d77676173125196fb521b8cf45c7
Currently several warnings are being thrown when running
tox -e docs, this is an attempt to fix those warnings
Change-Id: I26f3e1d83f2bfc7c5d5cd2a9393b24c992ff1122
This is the first commit that starts the process of moving hardcoded
constants into config files. There will be more commits in future
as we identify more hardcoded constants in our code.
Change-Id: I0605567c8fa34cb0e809525b4b9194ebd02751eb
Many changes to support new Gluon API Spec.
Summary of changes:
- gluon-api-tool: New command line tool to validate an API Model.
- Restructured models directory
- Removed proton directory
- Created a directory for the base objects file
- Created directory for net-l3vpn and change filename to api.yaml
- Created directory for a test API
- Updated manager code to automatically create default interface
object when a port object is created.
- Updated shim layer code to track the interface object and to
handle service binding to interface instead of port
- Added new API types and validation logic
- Updated API and Database generator code to process the new
model constructs
- Updated the test cases to complete with the new model format.
- Reworked code to support parent/child API relationships. The
SubObjectController now works for one level.
Change-Id: I995b46076e9fded11e4eda789dacd41a1a3b43c7
Implements: blueprint gluon-api-spec
The model handlers and their corresponding backends can now be
specified in the configuration file of the shim layer. For every
model handler, one particular backend can be specified in a
dict.
Change-Id: I5866e921850b9bfc16f5815744f692bfe432b330
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
This allows Neutron to load it by short name as well as with the full
path -
core_drivers = path.to.GluonPluginClass (before)
core_drivers = gluon (new)
so that it can be used from Neutron using the modern stevedore
discovery mechanism. The old mechanism will, at some point,
be deprecated.
Change-Id: I9b357e58ac76474e15d6d273dd710d106cea00dd
This patch extends the existing shim layer framework with an ODL
backend for the L3VPN service. To this end, the following changes
have been applied:
* the example_shim layer has been renamed to shim to make it the
default shim layer framework
* within the L3API handler, update and delete requests were not
forwarded to the backend implementation if some port were not
bound. These checks seemed overly restrictive and have been
removed. Corresponding checks can and shall be introduced in
the respective backend implementation
* the ODL backend is currently hard-wired in the shim. A means
to configure this through a config file will be added later.
Change-Id: I456f1d9e71756aab0a6b99d66a6a18917efe9a0d
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
This commit adds the capability for the proton-server to support
multiple API models.
Adding this capability required a large amount of restructuring and
refactoring of code. The following is a summary of the changes:
- Created loadable modules for managers using Stevedore
- Moved all generic manager functionality to a base mangager class
- Reworked generated API structure to start at /proton instead of /v1
- The proton_controller is now the root controller for API generation
- Removed objects/base.py and moved functionality to ApiBaseObject
- Database tables names are prefixed with API name for uniqueness
- Added --api argument to cli to specify API to use
- Many other improvements to code (pep8, better error checking, etc)
Change-Id: I1a9aee74d2970d77a5c4eff2c2ce139dfd1355b0
Implements: blueprint multiple-api-support
Currently the proton-server does not wait for the bind operation in the shim
layer to complete. Also, the vif information from the bind operation is not
updated in the baseport object.
This commit contains changes to use etcd to synchronize the bind operation
between the proton-server and the shim layer server. An example shim
layer server is provided to show how the interaction works. A few minor
bugs were fixed as well.
Change-Id: Iec1feb2ae4a43afb9e1fb70881603a4a1d1faf68
Implements: blueprint proton-shim-sync
This commit contains the first semi-working version of the code to use
the ML2 plugin wrapper class (GluonPlugin).
Previous repositories contained a standalone Gluon service. This has
been deprecated and its functionality is now in the GluonPlugin class.
Implements: blueprint gluon-ml2-plugin
Change-Id: I7a5c68332c302413f3e8be71763a37e861df2460
Co-Authored-By: Ian Wells <iawells@cisco.com>
Co-Authored-By: Thomas Hambleton <Thomas.Hambleton@nokia.com>
Co-Authored-By: Nikolas Hermanns <nikolas.hermanns@ericsson.com>