Commit Graph

14 Commits

Author SHA1 Message Date
LeopardMa 30c55cb81b Change openstack-dev to openstack-discuss
Change-Id: I7179d695647abfa9702f494553bf4206bc31c75d
2018-12-04 03:06:57 -05:00
shangxiaobj 4acc278260 Replace http with https for doc links in gluon
1) Update doc links according to OpenStack document migration
2) Use https instead of http for docs links

Change-Id: I3d01190d4010d77676173125196fb521b8cf45c7
2017-08-28 19:38:59 -07:00
Omar Tleimat 2fe5276a56 Resolve warnings in Sphinx documentation
Currently several warnings are being thrown when running
tox -e docs, this is an attempt to fix those warnings

Change-Id: I26f3e1d83f2bfc7c5d5cd2a9393b24c992ff1122
2017-08-16 09:36:34 -07:00
JinLi 9c8902cc26 Moving hardcoded constants to config file
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
2017-06-13 12:21:14 -07:00
Bin Hu 467ca53879 Updated Requirements and py35 Support
(1) Updated requirements.txt
(2) Updated test-requirements.txt
(3) updated setup.cfg for py35
(4) updated tox.ini for py35

Change-Id: I9f0be2b903fe9f25af458e032d0c1953cfcdd13b
Signed-off-by: Bin Hu <bh526r@att.com>
2017-02-09 10:47:28 -08:00
Thomas Hambleton 1ef4f87b28 Update code to comply with Gluon API Spec
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
2017-01-22 10:39:27 -06:00
Georg Kunz eb89344383 Config option for model handlers and backends
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>
2017-01-16 23:30:44 +01:00
Jenkins 5cda5853c3 Merge "Add entry point to our Neutron plugin" 2017-01-10 19:14:09 +00:00
Ian Wells 308342001e Add entry point to our Neutron plugin
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
2017-01-10 19:05:21 +00:00
Georg Kunz b93d0174a8 Adding ODL backend to generic shim layer framework
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>
2017-01-10 10:04:24 +01:00
Thomas Hambleton dcf1f75cb3 Proton server to support multiple API models
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
2016-11-17 10:54:52 -06:00
Thomas Hambleton a96e019251 Synchronize Port Bind Operation
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
2016-10-16 22:58:12 -05:00
Thomas Hambleton 6d6d3f8152 Initial Gluon Code
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>
2016-09-21 19:48:56 +00:00
Bin Hu 4fa03fa960 Initial repo from cookiecutter
Change-Id: I4c08babb4b1de8d47728c3562d1129521dc62c83
Signed-off-by: Bin Hu <bh526r@att.com>
2016-06-29 14:26:40 -07:00