Uncommenting a previously commented import statement. This import
statement is needed to load the configuration options of the
proton server.
Change-Id: I507070825d9e3d9064d0924eaea4d6e610590c48
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
(cherry picked from commit c99134524a)
The sqlite_db config option was deprecated and has now been
removed from oslo.db which breaks this basic test. We use a
simple hardcoded database name instead.
Change-Id: I164f3523d3561340bdc85433075f49e551a6a3da
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
(cherry picked from commit 1b7b3c9474)
Romove unused import statements from unitest files.
Also comment out unused import statements from non-test files,
keep them there in case they are needed in the future.
Change-Id: Id2d900839ec364c0b9108ef1c81e71ffe51207ff
(cherry picked from commit 458c177871)
Because we already have stable/ocata branch, the installation
instruction needs update so that users will only clone from
stable/ocata branch. Thus the option of cloning from master
branch is removed.
Change-Id: I8307929ad4b0cc55e243a9df083fc6e1cb3acb42
Signed-off-by: Bin Hu <bh526r@att.com>
(cherry picked from commit ec3fcb10d9)
When accessing Base URL, a description text will be shown.
Current description text is out of date. This patch updates
the description text to match current Gluon design.
Change-Id: I19613f43a29d66d36168f7bef037bdce541123b8
Signed-off-by: Bin Hu <bh526r@att.com>
Return the correct verion in RootController's get method
The RootController's get method returns 'v1' as the default version.
It should have returned "proton" instead
Change-Id: I723e5e1486c026aaad58a0c09267740c33e830e9
Closes-Bug: #1661108
(cherry picked from commit 6316e37eb5)
This is a set of documentation for Gluon in Ocata Release, including
- README.rst for overview of Gluon project, and related resources
- In doc/source: updated
* index.rst for overall documentation
* contributing.rst with license header information
* readme.rst with license header information
* installation.rst that covers Gluon installation procedure
* usage.rst that is Gluon's User Guide
- In doc/source/installation: added for details of installation procedure
* install_etcd.rst
* install_gluon.rst
* install_contrail.rst
- In doc/source/devref: updated Developers' Guide, including
* index.rst with current developer documentation
* high_level_design.rst with updated high level design of Gluon Ocata
* repo_structure.rst with current repository structure
Change-Id: I1aa04d3a85bbda6c5a8114115c34042e43a4a0c9
Signed-off-by: Bin Hu <bh526r@att.com>
This patch modifies the ODl shim layer to comply with the revised
port and interface binding model in Gluon.
Change-Id: Ib4c7800203165474b4b72ac40ab5ef363d831d0c
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
In OPNFV Apex deployments, the etcd server listens only at a
specific host IP address, not localhost. As a result, the Gluon
plugin cannot talk to etcd in such deployments.
This fix (mis-)uses the Neutron bind_host configuration option
to allow the Gluon ML2 plugin wrapper to idenify the IP etcd
is listening on. This should be replaced by a proper config
option later on.
Change-Id: Ib9d958c267d0364889e1213f9fc7c93b4fd04d89
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
This commit adds information about how to install ML2 Mechanism Driver for Contrail
Change-Id: Id8d9f4706900ecfcd8ab8da4a70bccafa007557b
Implements: blueprint gluon-contrail-integration
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
RST files don't need execute permission. This commit simply removes
the execute permission bits from gluon_api_spec.rst.
Change-Id: If65954410f59535f93c3980f4c27f833d932191f
Contains changes to support keystone
authentication for cli (protonclient). This is
required since we enabled keystone support on REST
APIs.
Change-Id: I63ebc7f801bce172bb930d270f93dcab36dbb516
Implements: blueprint gluon-auth
Contains code for intergrating keystone and
oslo.policy with Gluon.
Change-Id: Ib619a554a131d6e96cf0ce1312b2844593eb8c83
Implements: blueprint gluon-auth
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>
The function get_table_class() catches the ValueError exception.
Change it to catch TypeError and KeyError because these two are
the only possible exceptions threw inside the function.
test case of this change is covered in:
https://review.openstack.org/#/c/419210/
Change-Id: I4b28d9bcee1dcff9f91b3535ea8dc07750e28abb
Closes-Bug: #1655784
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