c71f263a52c32da73c169797d704c4533be9855a
Commit Graph

530 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
e87114f765 Update reno for stable/ocata
Change-Id: I457d3a8fd67c524885063ddebf0d9bf875419fd9
2017年02月23日 21:34:37 +00:00
Armando Migliaccio
5e58d27a8c Use neutron-lib's context module
Depends-on: I48cf45dc1b07035d952152eac2548a3bd9fc2832
Change-Id: I9d3ef06130adc71fc3b269b33e3779ab9f4657b9
2017年02月22日 22:50:29 +00:00
Vivekanandan Narasimhan
6ee70a5f5e Introduce precommit hooks for delete_bgpvpn_xxx
Introduce precommit hooks for all delete_bgpvpn_xxx
methods in the bgpvpn plugin.
The precommit hooks introduced here will be used by
ODL BGPVPN Version 2 driver to write to journal
on precommits.
Also subtransactions=True were missing for net_assoc and
router_assoc methods inside bgpvpn_db and has been added
as part of this fix.
Change-Id: I422cfb5ff5c2a15c4a80430ba99e19b9ae768b06
Closes-Bug: #1664637 
2017年02月22日 21:57:25 +05:30
Jenkins
681a5e742f Merge "Revert "Add OpenStack client BGP VPN extension"" 6.0.0 2017年02月19日 01:27:38 +00:00
Jenkins
9b8751a3e2 Merge "Log a deprecated warning for ODL v1 driver" 2017年02月16日 06:00:28 +00:00
Jenkins
d1aa09afed Merge "doc: improve explanation on the location of config files" 2017年02月10日 11:11:31 +00:00
Jenkins
1e0e34205b Merge "Enable multiple RDs of a BGPVPN to be passed to OpenDaylight" 2017年02月10日 11:11:25 +00:00
Vishal Thapar
ffee380977 Log a deprecated warning for ODL v1 driver
From Ocata release the new ODL BGPVPN Driver v2 is available and v1 diver
is being deprecated. Add a warning log message to inform users of v1
driver so they can switch to the new v2 driver.
Change-Id: Id58f0df0b0825ad78dff586a1bea07a78a19ec05
Partial-Bug: #1632117
Depends-On: I08485db8f10f15591d70474a4b8546990d4de166
2017年02月10日 13:46:48 +05:30
Édouard Thuleau
d912922514 Revert "Add OpenStack client BGP VPN extension"
This reverts commit 205452bfff.
As explain in that last version of the neutron client documentation [1]
(from review [2]) and to follow the OpenStack Client (OSC) and the
OpenStack Python SDK migration, Neutron stadium projects CLI extensions
should reside in the python-neutronclient project under the repository
'neutronclient/osc/v2/<extension>'
[1] http://docs-draft.openstack.org/71/407271/2/check/gate-python-neutronclient-docs-ubuntu-xenial/d30c3c8//doc/build/html/devref/transition_to_osc.html#developer-guide
[2] https://review.openstack.org/#/c/407271/
Change-Id: I099faee06bc3d4d634a96f45560a070f2a23bb56
Depends-On: Ib1ba356e994a98712e00a11ff045df67fbe4c7ea
Partial-Bug: #1650204 
2017年02月09日 12:19:36 +01:00
Vivekanandan Narasimhan
a6560bd91a Enable multiple RDs of a BGPVPN to be passed to OpenDaylight
Earlier, only one RD from the list of RDs for a BGPVPN was
passed to OpenDaylight since OpenDaylight Controller had
a limitation that it can process BGPVPNs with only a single RD.
From Carbon release cycle, OpenDaylight is being enhanced to
support BGPVPNs that host multiple RDs.
Change-Id: If9fbf447e1048d52ca749ca6757b45b729223e76
Closes-Bug: #1662930 
2017年02月08日 21:05:06 +05:30
Thomas Morin
e6250739fa doc: improve explanation on the location of config files
A motivation is that neutron does not complain
with a clear error message when networking_bgpvpn.conf
is not found.
Change-Id: I2688c6303fbcacb5a0e633cb309f2b5ae51ea1a6
2017年02月08日 09:04:29 +00:00
Cao Xuan Hoang
5e4cc13bd6 Advertise support for python 3 and drop py34 jobs
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.
This patch add support python 3 to classifier and drop py34 environment
from tox
Change-Id: I69c1c724990aadb7aecabd264382ffd661eb632a
2017年02月08日 08:49:28 +00:00
Jenkins
23630f9ab4 Merge "Typo fix: datas => data" 2017年02月07日 08:52:43 +00:00
Jenkins
682343da3f Merge "Filtering BGP VPN list with resource associations" 2017年02月07日 08:34:32 +00:00
Anh Tran
5f7ff5dc44 Typo fix: datas => data
Change-Id: I0402af08e3d1284d1bb00d66fdd8083548c242f2
2017年02月07日 14:03:30 +07:00
Andreas Jaeger
1a7be1d54a Prepare for using standard python tests
Add simple script to setup mysql and postgresql databases, this script
can be run by users during testing and will be run by CI systems for
specific setup before running unit tests. This is exactly what is
currently done by OpenStack CI in project-config.
This allows to change in project-config the python-db jobs to
python-jobs since python-jobs will call this script initially.
See also
http://lists.openstack.org/pipermail/openstack-dev/2016-November/107784.html
Needed-By: I0a87f7db0d1d78e7419a8706683aaa540c3dc399
Change-Id: I557202e2be6df2c1cb8efc0f42ac74cd0c458559
2017年02月04日 10:06:47 +01:00
Édouard Thuleau
3fd8f29493 Filtering BGP VPN list with resource associations
For db based drivers, use the Neutron db query hooks mechanism to apply
resource association filters on query results. That improvement permits to
remove two mandatory methods of the driver interface
'find_bgpvpns_for_network' and 'find_bgpvpns_for_router' which can be
replaced by the 'get_bgpvpns' method with appropriated filters.
For non db based drivers, improves utils method to filter resources with
a list of values instead of one value only. In that case, the resource
attribute value must contains filtered values at least (like it's done
for db based drivers).
Change-Id: Icbbb7ba704fbb3c025aabbddbb5121a2ecd852cc
Closes-Bug: #1659895
Implements blueprint api-find-bgpvpn-for-net
2017年02月03日 14:48:17 +01:00
Jenkins
fbebea5ac9 Merge "LOG marker mismatch in plugin.py" 2017年02月02日 22:47:07 +00:00
Jenkins
17e8260bbc Merge "Improve pip installation documentation" 2017年02月02日 09:21:56 +00:00
Jenkins
d72112ed75 Merge "devstack job config: add placement-api service" 2017年02月01日 21:06:33 +00:00
Thomas Morin
48d9ed35b4 devstack job config: add placement-api service
See http://lists.openstack.org/pipermail/openstack-dev/2017-January/111295.html
Change-Id: Iede105d4c3d225eca2625afaa98ae007992abf53
Closes-Bug: 1660973
2017年02月01日 15:49:34 +01:00
Thomas Morin
87d3235657 Improve pip installation documentation
Change-Id: I663c3d91e936f332a3b8a014970ef51e2496b690
Closes-Bug: 1659968
2017年02月01日 11:20:30 +01:00
Boden R
119657dbb3 Remove doc modindex ref
Sphinx module index docs won't be generated unless a
module level docstring is included (ex [1]) with class refs.
As we don't include such module level refs in this project,
nothing is generated and thus no py-modindex.html
is created. This results in a dead link in our devref (see
bug report).
This change removes the modindex ref from our devref's
index to account for this fact. In the future if we wish to
add module documentation to support generation of
modindex we can add the ref back into our index.
[1] https://github.com/openstack/neutron/blob/
master/neutron/neutron_plugin_base_v2.py#L19
Change-Id: I2c7f9a58d398033cf4a8029d16b430fe34fcc56e
Closes-Bug: #1656355 
2017年01月30日 07:32:32 -07:00
Boden R
9532f22d9d Use neutron-lib portbindings api-def
This patch refactors networking-bgpvpn to use portbindings
from neutron-lib. For more details see [1].
NeutronLibImpact
[1] https://review.openstack.org/422210/
Change-Id: I474141dd063181063715603ec5dd9e07af503288
2017年01月19日 11:50:34 -07:00
OpenStack Proposal Bot
42c1985be4 Updated from global requirements
Change-Id: I67cb55492ec8d1213f84ec32b69df1f15245219b
2017年01月16日 20:32:43 +00:00
OpenStack Proposal Bot
d71bfd3f3b Updated from global requirements
Change-Id: I329ffa4c6ed7f0fd54a071981ffffb2fe51a05c0
2017年01月12日 15:06:44 +00:00
Jenkins
be75930c89 Merge "Add router association dict formatter method" 2017年01月12日 13:05:36 +00:00
Édouard Thuleau
53ed309af2 Add router association dict formatter method
Change-Id: I24692675c8c9e3b8091b975fbab7c553ad3e69ad
Closes-Bug: #1655654 
2017年01月11日 14:35:18 +01:00
Cao Xuan Hoang
fd8b9f949c Removes unnecessary utf-8 encoding
The following file(s) added utf-8 encoding but never used. So we can
remove them at all.
networking_bgpvpn/__init__.py
doc/source/conf.py
releasenotes/source/conf.py
Change-Id: I3e7667cafae7954fabd84b6ea34f9fead25d8349
2017年01月04日 09:49:05 +07:00
Thomas Morin
9bcdb7386a Fix reno release naming and dvsm functional job
This change contains two changes to fix our CI:
- a reno branch naming issue
- a permission issue in devstack VM functional job
On the reno branch naming issue: something must have
changed somewhere in the way we should name branches
in reno files (old way: origin/stable/newton
new: stable/newton).
...
 ldr = loader.Loader(conf)
 File "/home/teom7365/prog/openstack/networking-bgpvpn/.tox/releasenotes/local/lib/python2.7/site-packages/reno/loader.py", line 60, in __init__
 self._load_data()
 File "/home/teom7365/prog/openstack/networking-bgpvpn/.tox/releasenotes/local/lib/python2.7/site-packages/reno/loader.py", line 80, in _load_data
 self._scanner_output = self._scanner.get_notes_by_version()
 File "/home/teom7365/prog/openstack/networking-bgpvpn/.tox/releasenotes/local/lib/python2.7/site-packages/reno/scanner.py", line 577, in get_notes_by_version
 versions_by_date = self._get_tags_on_branch(branch)
 File "/home/teom7365/prog/openstack/networking-bgpvpn/.tox/releasenotes/local/lib/python2.7/site-packages/reno/scanner.py", line 344, in _get_tags_on_branch
 for c in self._get_walker_for_branch(branch):
 File "/home/teom7365/prog/openstack/networking-bgpvpn/.tox/releasenotes/local/lib/python2.7/site-packages/reno/scanner.py", line 338, in _get_walker_for_branch
 branch_head = self._get_ref(branch)
 File "/home/teom7365/prog/openstack/networking-bgpvpn/.tox/releasenotes/local/lib/python2.7/site-packages/reno/scanner.py", line 334, in _get_ref
 raise ValueError('Unknown reference {!r}'.format(name))
ValueError: Unknown reference 'origin/stable/newton'
Change-Id: I22c09534bc713f4eb00d106285a07acdd6e99730
2017年01月03日 17:11:23 +01:00
zhangyanxian
339dedb4f7 LOG marker mismatch in plugin.py
"LOG.warning(_LI" should be "LOG.warning(_LW"
Change-Id: Ib9fbf319bd2f7a955346d95f565958ebf20764aa
2016年12月19日 06:39:04 +00:00
Thomas Morin
17d3fbb4a3 Follow ODL's master
Reverts I78543438ccc3c7fedf094c43754489b8aa38f784, now not needed anymore.
Change-Id: I01fb6d2813f1e8433099994b5e9286eaa1b423af
Depends-On: Iede630d4ad1b0de63bc12696b95dc3e2fccc1358
2016年12月12日 11:40:31 +01:00
Thomas Morin
2021bf4571 Revert "Temporary workaround to our gate issues"
This reverts commit dd4941459c.
The patch for devstack has merged :
I48c86f94098f1501f0e7f90a265dda7e81440eb0
Related-Bug: 1629133
Change-Id: I69907b256af6218c4cfe7aa2b4ba0508991fe4b9
2016年12月05日 09:17:39 +01:00
Bob Melander
be8a13003f Adds Tempest scenario test for networking-bgpvpn
This patch adds a scenario test that creates an l3 VPN and
assigns two neutron networks/subnets to it. Two nova VMs are
spun up on each network. To verify that the VPN is functional,
i.e., forwards traffic between the two subnets, one of the
VM pings the other one.
Change-Id: Ic38aab48fa364ad53ef061566fe5ebc1a46fec33
Closes-Bug: #1637489 
2016年12月01日 14:01:24 +01:00
Thomas Morin
a08cc88993 devstack: configure tempest at test-config stage
We need to follow devstack change I3d98692e69d94756e0034c83a247e05d85177f02 or
our tempest config addition comes before the config is completely
reset by devstack tempest setup (lib/tempest:configure_tempest rm -rf at [1]).
[1] 0474b8384a/lib/tempest (L177)
Change-Id: I024effd277b90c20c17ae09d291cbadfe5c03f57
2016年12月01日 11:28:33 +01:00
Jenkins
9ca6696072 Merge "Use ExtensionDescriptor from neutron-lib" 2016年11月28日 15:03:53 +00:00
Henry Gessau
4f3f7c2244 Use ExtensionDescriptor from neutron-lib
ExtensionDescriptor has been rehomed to neutron-lib and is being
removed from neutron core.
See https://review.openstack.org/398113
Depends-On: I5a111e0033e518e39b3042f047ee9eebba77a0d5
Change-Id: I14d55a5b1b419eb39794f5f35bd219d6e83f48f4
2016年11月28日 09:03:23 -05:00
Henry Gessau
9fd1bfd4ce Use DB field sizes instead of _MAX_LEN constants
The following _MAX_LEN constants are being removed from
neutron/api/v2/attributes.py in [1]. The corresponding DB field size
constants from neutron_lib.db.constants should be used instead.
 NAME_MAX_LEN --> NAME_FIELD_SIZE
 TENANT_ID_MAX_LEN --> PROJECT_ID_FIELD_SIZE
 DESCRIPTION_MAX_LEN --> DESCRIPTION_FIELD_SIZE
 LONG_DESCRIPTION_MAX_LEN --> LONG_DESCRIPTION_FIELD_SIZE
 DEVICE_ID_MAX_LEN --> DEVICE_ID_FIELD_SIZE
 DEVICE_OWNER_MAX_LEN --> DEVICE_NAME_FIELD_SIZE
In alembic migration scripts, the raw numerical value shall be used.
For more information, see [2].
[1] https://review.openstack.org/399891
[2] http://lists.openstack.org/pipermail/openstack-dev/2016-October/105789.html
Change-Id: Iebbed80744d2c4ef89d4255ff36cafa19b68bfb6
2016年11月26日 00:00:34 -05:00
Jenkins
2e96a8dc2d Merge "Show team and repo badges on README" 2016年11月25日 16:56:19 +00:00
Flavio Percoco
af601d23e7 Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.
For more information about this effort, please read this email thread:
http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html
To see an example of how this would look like check:
https://gist.github.com/9a6371ba481b5db5194103edf6eb51a0
Change-Id: I0f920daeeadfed8598901cce547e09c7b6c11931
2016年11月25日 15:42:21 +01:00
Jenkins
06c043c728 Merge "Use model_base in neutron_lib" 2016年11月24日 19:27:45 +00:00
Jenkins
56df17d276 Merge "Switch to using plugins directory in lieu of neutron manager" 2016年11月24日 18:10:49 +00:00
Mathieu Rohon
674c1b3e05 Use model_base in neutron_lib
Follow the move of model_base from neutron
to neutron_lib.
Change-Id: Ia726af87f896335e5358df88e6eccab4fea83ee3
2016年11月24日 17:56:28 +00:00
Armando Migliaccio
48e3946533 Switch to using plugins directory in lieu of neutron manager
(this change also includes, squashed into it,
Ia726af87f896335e5358df88e6eccab4fea83ee3, since
both were needing the other one to pass tests)
Partially-implements: blueprint neutron-lib
Change-Id: I0cbaf59844d026820cb05ed92dbfe8ac9b3a44a4
Depends-on: I7331e914234c5f0b7abe836604fdd7e4067551cf
Change-Id: I0cbaf59844d026820cb05ed92dbfe8ac9b3a44a4
2016年11月23日 21:35:46 +01:00
Li-zhigang
09d15143a5 Replace six.iteritems() with .items()
Change-Id: Ic061d62e61d364252fd6f69575fc71c6534e5840
2016年11月22日 17:50:53 +08:00
Jenkins
9d6331a454 Merge "Use uuidutils instead of uuid.uuid4()" 2016年11月18日 15:35:00 +00:00
Jenkins
34c094d20c Merge "Updated from global requirements" 2016年11月18日 09:49:18 +00:00
Li-zhigang
2d7a692e66 Use uuidutils instead of uuid.uuid4()
https://bugs.launchpad.net/ironic/+bug/1082248/
Change-Id: I3c5015828ece150fdbceafcefae841888ff38afb
2016年11月18日 17:02:47 +08:00
melissaml
719bc1c057 Replace LOG.warn with LOG.warning
logging.warn is deprecated in Python 3.[1]
[1] https://docs.python.org/3/library/logging.html#logging.warning
Change-Id: Ib0bf744964121ec279cd3ea6fb0ed3dc983c6712
2016年11月18日 14:18:18 +08:00
OpenStack Proposal Bot
48afd59e8a Updated from global requirements
Change-Id: I42587e78a19eab914770c752d0fb57cdbc266fa1
2016年11月15日 19:51:57 +00:00