453 Commits

Author SHA1 Message Date
Jenkins
550ab90c1b Merge "Add tests that constrain db query count" 2015-12-25 16:34:32 +00:00
Jenkins
bf9e4133eb Merge "Add address scope to floating IPs in RPC response to L3 agent" 2015-12-24 00:07:41 +00:00
Carl Baldwin
02439b6730 Add address scope to floating IPs in RPC response to L3 agent
The L3 agent needs to know the address scope of the fixed ip of each
floating ip because floating ips are a way to cross scope boundaries.
Without the scope information, there could be ambiguity and no way to
know which scope to send it to.

[1] https://review.openstack.org/#/c/189741/

Change-Id: Id9f8c12954a6efbf4d9b99c011652eefbe5f5145
Partially-Implements: blueprint address-scopes
2015-12-23 10:16:15 -07:00
Kevin Benton
4885ef4885 Add tests that constrain db query count
This patch adds unit tests to ML2 and L3 that ensure that the
number of DB calls during list operations for ports, networks,
subnets, routers, and floating IPs remains constant regardless
of the number of ports.

These will prevent changes from slipping in that result in
a separate DB query for each object in a list operation
(for changes to the extensions used by ML2 and the DVR plugin).

Related-Bug: #1525295
Related-Bug: #1513782
Related-Bug: #1525423
Related-Bug: #1525740
Related-Bug: #1526644

Change-Id: I1958fc7c318bbf73238a3ad5be133fa7800c8290
2015-12-21 11:54:38 -08:00
armando-migliaccio
fce62cf424 Add notes on loading strategies for ORM relationships
There have been a number of regressions caused by our inability
to thoroughly review relatiohships' loading strategies. We should
at least make an attempt to remind ourselves, and since I am guilty
as charged, this patch is my attempt to redemption.

Change-Id: I879cfceaa51386e9d6c683e7e02487df92b7e290
2015-12-18 16:34:21 -08:00
Assaf Muller
aee9ac8db7 Add new troubleshooting bugs tag
The rationale is that we would have a single tag to track all
bugs that are about admin and user ease of use, logging quality,
and debuggability.

Change-Id: Ie42e08c924c9e742bdc6d9f4b68bdfbd1a622ba4
2015-12-17 18:59:13 -05:00
Jenkins
327c12770f Merge "Updating devref for networking-onos project" 2015-12-16 07:24:56 +00:00
vikram.choudhary
8bf16fa764 Updating devref for networking-onos project
Below changes are done as part of this patch.
* Mention about ONOS l3 support.
* Proposing Mr. Albert Dongfeng as a lieutenant for networking-onos.

Change-Id: I87827b08ed868f68cbd49c1fa7b91352d3c46605
2015-12-15 08:19:00 +00:00
Jenkins
dbc541be54 Merge "Add address scope to ports in RPC response to L3 agent" 2015-12-12 00:09:32 +00:00
Jenkins
08bd35fa6f Merge "Add linuxbridge job to the dashboard" 2015-12-10 09:15:45 +00:00
Jenkins
8e9a737801 Merge "devref: Rolling upgrade mechanism for rpc-callbacks" 2015-12-10 09:11:19 +00:00
armando-migliaccio
62bbafb711 Add linuxbridge job to the dashboard
This is to track the failure rate, and it's not looking good so far.

Change-Id: Id6f8b751a2554904f015e642d09354d645927967
2015-12-09 17:19:37 -08:00
Neil Jerram
d3cd45212b Document relationship between ways of documenting new stuff
Change-Id: I55329c8add108a5a7d0d65f024b19fb2412238d6
2015-12-08 20:20:08 +00:00
Jenkins
a036dffbb4 Merge "Moved fullstack test doc content to TESTING.rst" 2015-12-08 02:46:57 +00:00
Carl Baldwin
c7d0d2e569 Add address scope to ports in RPC response to L3 agent
The L3 agent needs to know the address scope of each port of each
router it sets up in order to enforce isolation between scopes.

This commit adds a devref for the address scopes and subnet pools
features.

Change-Id: I6a7b3708fadefff1919d70ab1b8bc345b3fbe81c
Partially-Implements: blueprint address-scopes
2015-12-07 21:57:41 +00:00
Jenkins
9a1e3a2219 Merge "I18n related guideline for subprojects" 2015-12-06 20:41:35 +00:00
Jenkins
f698177f24 Merge "Trivial typo fix in LinuxBridge dashboard" 2015-12-05 11:12:38 +00:00
Jenkins
13a81ab71d Merge "Delete stale neutron-server manual" 2015-12-05 07:50:48 +00:00
armando-migliaccio
eb5c66c36a Delete stale neutron-server manual
The configuration options come from oslo and the server
executable is usually wrapped in a service script, supplied
by packagers and/or deployment tools. Any extra documentation
available in tree is of relative value, and the fact that
this file has been virtually ignored ever since it was
added is a testament of that.

Let's stop its agony and wish it to rest in peace.

Closes-bug: #1520041

Change-Id: If5bba557526903b8064ee28628a21c3459ca85bc
2015-12-04 18:43:28 -08:00
Henry Gessau
24fad53ae5 Final decomposition of the nuage plugin
This removes what's left of the nuage code and artifacts from the
neutron tree. All the vendor code is now in the
nuagenetworks/nuage-openstack-neutron repo on github.

Closes-Bug: #1518643

Change-Id: Ifbb9484f36a3e42c6039c42c7f8d0bcbd482bbf8
2015-12-04 15:08:37 -05:00
Sean M. Collins
1d8ee956a7 Trivial typo fix in LinuxBridge dashboard
Change-Id: Id968202645b4302123611b906047224403b6a77d
2015-12-04 14:00:25 -05:00
Jenkins
5fdab56c36 Merge "Add instrumentation devref, Part I" 2015-12-04 17:12:42 +00:00
Jenkins
004570821f Merge "[policy] Clarify bug deputy does not require core bit" 2015-12-04 02:18:55 +00:00
Assaf Muller
41d0498dc4 Moved fullstack test doc content to TESTING.rst
* Removed long term goals documentation (I don't see a need
  to document these).
* Added and rearranged short term goals.

Change-Id: If494533cb6507f18b84a41b3f1daf42cd10d9f51
2015-12-03 17:02:54 -05:00
Sean M. Collins
8681ef7498 [policy] Clarify bug deputy does not require core bit
Some small changes - since the original paragraph didn't mention that
core is not required until the very last sentence.

Change-Id: I113371933754c109247c5f2b789cda135dce8563
2015-12-03 14:35:48 -05:00
Ryan Moats
1f329c5d01 Add instrumentation devref, Part I
Presents what instrumentation is available from VIFs in Nova,
Metering Lables and Rules, Linux Bridge, and OVS. Proposes
mappings for structures defined in RFC 2863 and RFC 4293 and
the method that will be followed for a data collection proof
of concept.

How to aggregate and consume these counters will be covered
in future patch sets that extend this devref.

Change-Id: I6c1ad0c4cf60d0069c5e057d77f75c12b04a020c
Partial-bug: #1475736
2015-12-03 09:40:27 -06:00
Akihiro Motoki
bd36baf3ec I18n related guideline for subprojects
Related-Bug: #1519493
Related-Bug: #1520094
Change-Id: I183c1f2226ee7aef96b958d888ca3b7a3f9e9a2e
2015-12-02 22:33:04 +09:00
Doug Wiegley
dd726ed494 Move i18n to _i18n, as per oslo_i18n guidelines
- This does NOT break other projects that rely on neutron.i18n,
  as this change includes a debtcollector shim to maintain those
  older entry points, until they can migrate.
- Also updates _i18n.py to the latest pattern defined by oslo_i18n
- Guidance and template are from the reference:
  http://docs.openstack.org/developer/oslo.i18n/usage.html

Partially-Closes-Bug: #1519493
Change-Id: I1aa3a5fd837d9156da4643a367013c869ed8bf9d
2015-12-01 19:29:10 -07:00
Miguel Angel Ajo
0ddb66f0ed devref: Rolling upgrade mechanism for rpc-callbacks
Versioned Object push notifications require the server to be aware
of supported versions in the agents, since they are subscribed
to neutron-vo-<resource-type>-<version-number>.

During upgrade time, the server would need to downgrade and serialize
the objects across version subset, and send it to the fanout
queues for agent consumption.

One manual solution could be manual admin pinning, but we can do
better than that, making administrator lives easier if we provide
a reliable mechanism for remote version auto discovery.

Change-Id: I02b694137eb2d58e5f2f3e7631f0e4b90f7c17ad
2015-12-01 19:22:06 +01:00
Henry Gessau
1d1beba7bc Update 'Contributing Extensions' devref for Mitaka
The "Liberty Steps" are now completed.

Change-Id: I4526be2e75bdd475c98805d1192d9e2486217ee6
2015-11-30 08:06:51 -05:00
Jenkins
fe6cca8f7f Merge "Update toctree of neutron document" 2015-11-28 14:42:09 +00:00
Martin Hickey
71190773e1 Automatically generate neutron core configuration files
This adds a new tox environment, genconfig, which generates sample
neutron core configuration file using oslo-config-generator.

Updates to some configuration option help messages to reflect useful
details that were missing in the code but were present in config files.

It also adds details to devref on how to update config files.

Partially-Implements: blueprint autogen-neutron-conf-file

DocImpact

Change-Id: I1c6dc4e7d479f1b7c755597caded24a0f018c712
Closes-bug: #1199963
Co-Authored-By: Louis Taylor <louis@kragniz.eu>
2015-11-27 15:22:59 +00:00
Jenkins
6086c2d660 Merge "Add Incomplete state to list of acceptable states for RFE bugs" 2015-11-26 06:16:18 +00:00
Akihiro Motoki
fd2026e1de Update toctree of neutron document
* Display more contents in the top page.
  It is useful to access various things from the top page.
  The contents after this change looks reasonable.
* Remove "Indices and tables" section in policies and stadium index.
  They are unnecessary.

Change-Id: I49a966ce96af107c6f17f4caa73f9a634db37e18
2015-11-26 11:39:21 +09:00
Jenkins
9b531b9e4e Merge "Change instances of Openstack to OpenStack." 2015-11-26 01:43:14 +00:00
venkatamahesh
bf915b001d Change instances of Openstack to OpenStack.
Change Openstack to OpenStack
as per standards

Change-Id: I10f33c1e70fb5f2d74e6feda0a4a266d7071e1ab
2015-11-25 20:47:58 +00:00
Jenkins
dca648db71 Merge "fix some misspellings" 2015-11-25 13:59:12 +00:00
Jenkins
6d9e0538a4 Merge "Clarify how we milestones are assigned" 2015-11-25 11:48:50 +00:00
ting.wang
c42f9d3a6d fix some misspellings
Change-Id: Ib6a027666dba060d12da7ecf918449c5ad62d239
2015-11-25 08:44:23 +00:00
armando-migliaccio
9a43a9dba3 Add Incomplete state to list of acceptable states for RFE bugs
Turns out we've been using this tag, so it's useful to track it with
the others.

Change-Id: I05bef6641972dab3b05d533e9c32b5570eeaab85
2015-11-24 21:01:26 -08:00
Jenkins
074c4beb6a Merge "Minor doc fix in alembic_migrations.rst" 2015-11-25 03:44:03 +00:00
armando-migliaccio
6d5f564b7e Clarify how we milestones are assigned
Milestone assignment is another mumbo jumbo effort in open source.
Artificially setting milestones implies that someone can reliably
predict the future when no-one is really in full control.

For this reason let's make clear that we optmistically target the
current milestone for work that is supposed to start asap, and
complete sooner rather than later. Rolling over until the work is
complete is the natural course of action.

Dashboards [1] then capture the entire workload (BP and RFE) for
the entire release cycle, and that's helpful to provide to overall
view.

[1] https://launchpad.net/neutron/+milestone/<release>-?

Change-Id: Idb2d84ba683d2c8f1460e7bf0ff76d457cf42bce
2015-11-24 16:18:38 -08:00
Jenkins
02db0cd458 Merge "Make Neutron resources reference standard attr table" 2015-11-24 20:03:23 +00:00
Bo Chi
c9dd52a834 Minor doc fix in alembic_migrations.rst
Added <commands> after neutron-db-manage
in doc/source/devref/alembic_migrations.rst

Change-Id: Id5af332e10424378f6fd8eeed1c8aa14846c1169
2015-11-24 03:49:10 -05:00
Jenkins
c5cf4f54be Merge "devref: add upgrade strategy page" 2015-11-24 02:25:40 +00:00
Kevin Benton
3c8570f3fc Make Neutron resources reference standard attr table
This adds a new 'standardattributes' table and adds a foreign-key
references from ports, subnets, networks, subnetpools, routers,
securitygroups, and floatingips to this table.

This will make it easy to add new things to the schema like
timestamp fields or anything else that applies to multiple types
of Neutron resources. The new fields would just be added to the
'neutronresources' table instead of being duplicated across each
resource's table. Or, if the the relationship is 1-to-many (e.g. tags),
the new association table would be related to the 'standardattribute'
table.

Related-Bug: #1496802
Change-Id: Iaa3ba81a7e9cae09cea153720b29879d8cc9a080
2015-11-23 07:41:26 -08:00
Ihar Hrachyshka
e80648a0d0 devref: add upgrade strategy page
The page is intended to describe current upgrade features Neutron
supports, lay out potential improvements, describe testing strategy for
existing and planned upgrade features, and provide guidelines to
reviewers on where to look for potential upgrade breakages in proposed
patches.

Change-Id: I22e55bb2fe32b32d12fa5889b91ecb9f92b3e6a6
2015-11-23 15:29:44 +01:00
armando-migliaccio
beff8cb448 Add Access Control bug tag
Provide tag for bugs that affect the role based access control
and the Neutron policy layers (driven by policy.json).

Change-Id: Ia4259d53974996a83d380e778309aea2d7cb29cd
2015-11-20 20:54:46 -08:00
armando-migliaccio
8cd7ed0580 Add index entry to vhost documentation
Change-Id: Ice42d1ab3456fdee73d6fa40b2cc69d961b137c8
2015-11-20 15:09:04 -08:00
Jenkins
b97fbb2aa5 Merge "Add vhost-user support via ovs capabilities/datapath_type" 2015-11-20 22:13:05 +00:00