Commit Graph

29 Commits

Author SHA1 Message Date
yatinkarel 24db9d0f2a Install os-ken from git repo
Currently jobs with "os-ken" in LIBS_FROM_GIT installs os-ken
from pypi but instead should be installed from git.

Partial-Bug: #2032738
Related-Bug: #2031526
Change-Id: I6b9c28f0cdb1e135052d57c7927b3573f1670a8c
2023-08-23 11:05:05 +05:30
Bernard Cafarelli 9025dc72d0
Fix devstack README.rst formatting
Missing newlines caused incorrect rendering for code blocks

TrivialFix

Change-Id: I42e9ae98e925ad0236b1bf134cbd80d111098aad
2020-07-07 15:03:25 +02:00
gujin dace47cc07 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: Ied57440e9e9f918ca685bd3738716cd52f7719b2
2019-05-13 21:09:03 +08:00
Zuul b78874f172 Merge "Convert policy.json into policy-in-code" 2018-12-27 17:19:16 +00:00
Akihiro Motoki 1241f9b603 Convert policy.json into policy-in-code
This commit converts the existing neutron-dynamic-routing policy.json
into policy-in-code.

Partially Implements: blueprint neutron-policy-in-code

Change-Id: I4f99739ca8b979ddf69c52c3f1b36e320326db8d
2018-12-18 21:28:51 +00:00
Ryan Tidwell 34655a8e6e
Migrate neutron-dynamic-routing from Ryu to os-ken
This change causes neutron-dynamic-routing to stop consuming Ryu
in favor of os-ken. os-ken becomes the reference implementation
for BGP services and neutron-dynamic-routing no longer has a
dependency on Ryu.

Partially-Implements: blueprint ryu-framework-maintenace-transition
Change-Id: I4a68440809cad5de2d6d191f7211d68b542672e5
2018-12-18 14:03:13 -06:00
Jens Harbott 818b5f10e0 Drop non-existent verbose option
The ``verbose`` option has been deprecated for a long time and no longer
exists in the config. So do not set it for our agent.

Change-Id: Ief48c4d1185f2edf35152b92b2ba18339c34da47
2018-03-23 09:02:00 +00:00
Jens Harbott 1e5d33f80e Update docs
- Start using OSC instead of neutron CLI
- Fix description of speaker scheduling
- Increase readability
- Fix some minor issues

Change-Id: I354c33bb825a8ec58e46a13a0a9e9f412ec01541
Closes-Bug: 1750562
2018-02-20 12:38:57 +00:00
YAMAMOTO Takashi 97bd51d06c devstack: Adapt to lib/neutron
Partial-Bug: #1666990
Change-Id: I529ad1bf8e00a4437822b7fbb6c4d5aa7539dcbc
2017-06-19 13:04:08 +09:00
YAMAMOTO Takashi 6115dd1d8e Revert "Enable BGP extension"
This reverts commit 5d86e9d1fa.

because "all" is unlikely appropriate for
networking-foo projects which consume neutron-dynamic-routing.

Change-Id: Idd8bd702fd649acdb5dfd1d6226c7e1ad001344a
2017-04-24 08:41:59 +09:00
Jenkins d1dc5d3712 Merge "Enable neutron-dynamic-routing scheduler" 2017-04-19 16:49:18 +00:00
fumihiko kakuma 5d86e9d1fa Enable BGP extension
In a stable branch of devstack, BGP isn't included in api extension list
since [1].

[1] Iac8f858793d5ab514d6ba69b68d5420acd0fe903
    I1a4d1ea8c8d34b8cd1020e76597db6c67f85f6ec

Partial-Bug: #1683580

Change-Id: I15275e82b03f87a4c4e13d3790db01973c3843cb
2017-04-18 12:45:26 +09:00
fumihiko kakuma 086384c3b1 Enable neutron-dynamic-routing scheduler
This executes the dr scheduler on the callback for create_bgp_speaker.
Also add the following variable for devstack.
  BGP_SCHEDULER_DRIVER: specify dr scheduler driver

Change-Id: Ibf94cc2183783f9bdb2dd245ad28d304ca930589
2017-04-04 14:49:02 +09:00
zhangyanxian 528c3c1941 Optimize the link address for fetching git code
Use https instead of http to ensure the safety without containing
our account/password information

Change-Id: I9476e6052081d1638642f5cbd177e3e736001aef
2017-03-24 07:00:15 +00:00
vikram.choudhary 6ef114c683 Renamed [BGP] config section to [bgp]
Though oslo.config should not care about the case, it seems like
oslo-config-generator creates two separate sections with different case
if both are included.

Change-Id: I0e9857c893c7a3a2d655fd380e17cd2f3acbf4e2
2017-01-25 17:08:53 +05:30
Dongcan Ye 1d7155cc0c Fix bug for Permission denied
Permission denied for creating directory '/etc/neutron', here we
use root privilege for creating the directory, then set the owner
as STACK_USER.

Change-Id: I2133d3f92dcec7e3187a6382ded233ac1f36fee7
Closes-Bug: #1595795
2016-07-13 12:34:31 -07:00
Na 62cb5c4184 Fix the policy check for BGP APIs
Only admin can configure BGP, this patch add policy check
for BGP APIs.

Change-Id: I5ce602202c52542792cc5b22e58e0ed074e09d7d
Closes-Bug: #1583958
2016-06-02 16:34:03 -07:00
steve.ruan e0b214a7d4 Add "neutron-bgp-dragent" to setup.cfg
neutron-bgp-dragent will be added to "/usr/local/bin" by install
script automatically when it's defined in entry_points section

Change-Id: I7592de868602db8f0c09756246a044cbe73d4800
Implements: blueprint bgp-spinout
Partial-Bug: #1560003
2016-05-25 15:43:57 -07:00
steve.ruan fb4c68d620 Add devstack for neutron-dynamic-routing stadium project
Change-Id: I406b276f691e68adac935a4a2119efc055df31b1
Implements: blueprint bgp-spinout
Partial-Bug: #1560003
2016-05-18 06:14:01 -05:00
vikram.choudhary 4ba80f3f1c Prepare initial sandbox for neutron-dynamic-routing
This patch-set prepares the basic code structure with all
the tools required for running static and unit tests.

Note: All the imported code from the seed repo is being removed
      temporarily and will be added after the required re-factoring
      needed as per the new repo in the subsequent patch-sets.

Co-Authored-By: Ryan Tidwell <ryan.tidwell@hpe.com>
Implements: blueprint bgp-spinout
Partial-Bug: #1560003

Change-Id: I9bff3d916279c4f335b309e7a2c2e943ac6f6cde
2016-04-23 04:11:57 +00:00
Gary Kotton 93307b2f27 BGP: remove unnecessary configuration setting
By default oslo CFG sets the default value as None. There is no
need to specifically do this.

The patch also moves the RYU_BGP_SPEAKER_DRIVER to the devstack
settings file.

TrivialFix

Change-Id: Ic33871a0a42fa9a5e5af3158532ecdad9817e5ab
2016-03-01 03:15:15 -08:00
vikram.choudhary 57874211b4 BGP Dynamic Routing: introduce BgpDriver
This patch introduces BgpDriver interface which will be used by
the BgpDrAgent for passing BGP speaker, peer and route information
to the registered BGP driver.

In addition, this patch also implements Ryu as a reference
BGP driver for the proof of concept.

Partially-Implements: blueprint bgp-dynamic-routing
Co-Authored-By: Ryan Tidwell <ryan.tidwell@hp.com>
Co-Authored-By: Jaume Devesa <devvesa@gmail.com>
Co-Authored-By: vikram.choudhary <vikram.choudhary@huawei.com>
Co-Authored-By: Numan Siddique <nusiddiq@redhat.com>
Change-Id: If9a7e2c4c45c395b8e93bd1293667bf67f53dcfa
2016-02-24 12:02:39 -08:00
vikram.choudhary 8f2b2f35bb BGP Dynamic Routing: introduce BgpDrAgent
This patch implements a new agent named "BgpDrAgent". The new agent
will host different BGP speaking drivers and makes the required BGP
peering session/s for neutron. The agent takes the needed "peer/s and
route/s" information from the BGP speaker entity and synchronize the
same to the registerd driver.

For realizing HA, two BgpDrAgents should host the same BGP speaker.

Partially-Implements: blueprint bgp-dynamic-routing
Co-Authored-By: Ryan Tidwell <ryan.tidwell@hpe.com>
Co-Authored-By: Jaume Devesa <devvesa@gmail.com>
Co-Authored-By: Numan Siddique <nusiddiq@redhat.com>
Change-Id: I3217795bdd0fa2d9d4b39274f4f95fc013c8d29d
2016-02-18 10:46:55 -08:00
Ryan Tidwell 9d1d6a08db Add BGP Dynamic Routing DB Model and Basic CRUD
This patch enables basic CRUD on BGP dynamic routing
entities bgp_speaker and bgp_peer, as well as
bgp_speaker-bgp_peer and bgp_speaker-network
bindings.

An admin user can create BgpSpeakers and configure
peering entities (BgpPeers) for BgpSpeakers. BgpSpeaker
to BgpPeer association is n-to-n. An admin user can
also associate networks with BgpSpeakers. Relationship
between BgpSpeaker and Network is 1-to-n.

This patch provides BGP-related functionality only to
the admin users.

Partially-Implements: blueprint bgp-dynamic-routing
Co-Authored-By: Ryan Tidwell <ryan.tidwell@hpe.com>
Co-Authored-By: Jaume Devesa <devvesa@gmail.com>
Co-Authored-By: vikram.choudhary <vikram.choudhary@huawei.com>
Change-Id: I2412c1689683da9d7ec884a4cea506d4eed99453
2016-02-11 14:43:35 -07:00
Ihar Hrachyshka 289c0652cb devstack: don't enable qos service with the plugin
Require explicit enablement for the service. Enable the service in API
gate job because we have API tests for the service.

Change-Id: Ibdd41eb761b64499a992f49ac0159167c7fb7d79
2016-01-06 12:34:35 +01:00
James Arendt 95b326e7ae Fix Neutron flavor framework
Make flavor service profile store actual driver instead of
hardcoded dummy driver.  Ensure service type on flavor persisted.

Raise ServiceProfileDriverNotFound if non-empty driver is not part
of ServiceTypeManager providers.

Raise ServiceProfileEmpty if profile has neither a driver nor
any metainfo.

Raise InvalidFlavorServiceType if invalid service type passed.

Show flavors associated with a profile, not just profiles associated
with a flavor, to ease diagnosis when ServiceProfileInUse raised.

Create method to extract provider given a flavor for use with
neutron-lbaas plus tests.

Ensure various boolean forms accepted for enabled flag.

To enable in DevStack, add to local.conf:
enable_plugin neutron https://git.openstack.org/openstack/neutron
enable_service q-flavors

Add associated unit tests. Fix tempest api test that used invalid
LOADBALANCERS service type.

Change-Id: I5c22ab655a8e2a2e586c10eae9de9b72db49755f
Implements: blueprint neutron-flavor-framework
2015-11-19 11:27:05 -08:00
Hirofumi Ichihara e78fbe3fd6 Refactoring devstack script
Change-Id: Iabb7313b667ef6921acbb65b1eb583603b4d0b11
2015-09-21 00:02:00 +09:00
Moshe Levi 36400190a8 SR-IOV: devstack support for SR-IOV agent
Change-Id: Ia0649962bd0c68d9c99fd54cc84ce8dd67d792e8
2015-09-09 15:06:37 +03:00
Ihar Hrachyshka d9d838310f Added initial devstack plugin
For now it only supports q-qos service that is used to configure QoS service
plugin. It also adds ability to enable l2 agent extensions.

To check that it works, I am enabling QoS tests back for API job.

Partially-Implements: blueprint quantum-qos-api
Change-Id: I19e4fe0cf5ecc55397628017631c3ff6718ce36f
2015-08-20 18:27:56 +02:00