Commit Graph

842 Commits

Author SHA1 Message Date
Trevor McCasland
c4e76908ae SR-IOV: remove ml2_conf_sriov.ini from manual
Before the doc-migration I proposed this patch:
Ica9c2beeee5f24cbdf0b947bb0371c41375c48c7

The following patch removed the ml2_conf_sriov.ini file:
Ida6c0930ce65169a9bc59ef80d6b427b2d5d4e09

In order to reduce confusion, lets remove the reference to it.

Change-Id: I22aacebc13c0c3c5eb361f79c293d3012f1ac149
2017-07-12 16:38:49 -05:00
Jenkins
a51271d760 Merge "Rearrange existing documentation to fit the new standard layout" 2017-07-10 17:19:44 +00:00
Jenkins
47a665e87b Merge "import installation guide pages from openstack-manuals" 2017-07-10 17:19:24 +00:00
Akihiro Motoki
2a47ffd96d Rearrange existing documentation to fit the new standard layout
For more detail, see the doc migration spec.
http://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html

Change-Id: I142a686a3abbe65138a9f3296cd21fc21fbd763a
2017-07-08 05:49:56 +00:00
Jenkins
980451cd60 Merge "Do not defer allocation if fixed-ips is in the port create request." 2017-07-07 22:58:20 +00:00
Jenkins
e939092006 Merge "Support object string field filtering on "LIKE" statement" 2017-07-07 22:58:04 +00:00
Aqsa
06380b0576 Do not defer allocation if fixed-ips is in the port create request.
The above is no longer true if fixed-ips is used in the port create
request.

Closes-Bug: #1697803

Change-Id: I211e40584a42d777531fe9d698c4907c7d97e2ac
2017-07-07 19:30:32 +00:00
tonytan4ever
8702eaa0e2 Support object string field filtering on "LIKE" statement
This patch allows objects' get_objects method take in "LIKE" filters.
e.g:
objs = agent.Agent.get_objects(
     self.context,
     resource_versions=obj_utils.StringContains('obj2')
)

Partially-Implements: blueprint adopt-oslo-versioned-objects-for-db
Change-Id: I15a76ce20defbcb5b23a13171f93049e84383e0c
Co-Authored-By: Manjeet Singh Bhatia <manjeet.s.bhatia@intel.com>
2017-07-07 16:15:44 +00:00
Akihiro Motoki
76f9dfe237 Switch from oslosphinx to openstackdocstheme
* Switch the release note theme to openstackdocstheme.
* Use the new style of setting of openstackdocstheme
  of the in-tree documentation.

Change-Id: I0424f097c0f5d78a539bc997e2cd61119d606524
2017-07-06 06:56:06 +09:00
chenxing
d19c7e7d59 import installation guide pages from openstack-manuals
Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: Id8057d229add4daf3093d362eab7614685fdb8ac
2017-07-06 04:21:51 +09:00
Jenkins
ce1a5445a1 Merge "Add "default" behaviour to QoS policies documentation" 2017-07-03 15:19:42 +00:00
Jenkins
9d20de62bf Merge "Update after python-neutronclient doc rearrangement" 2017-06-30 22:36:21 +00:00
Jenkins
d8a27bf352 Merge "Fix html_last_updated_fmt for Python3." 2017-06-30 11:16:57 +00:00
Rodolfo Alonso Hernandez
cc5746f3a1 Add "default" behaviour to QoS policies documentation
Added documentation related to the "default" behaviour for QoS policies.

Change-Id: I433b80ba880397c9322752240727ca60a2e2d53f
Closes-Bug: #1694298
2017-06-30 10:54:03 +01:00
YAMAMOTO Takashi
ee05a48bf3 Update after python-neutronclient doc rearrangement
Change-Id: I16d94000480d9c36984cd13ccb7e17a83e2809f5
2017-06-29 12:37:09 +00:00
chenxing
2553f2b131 import the networking guide content from openstack-manuals
Change-Id: Ibcedc9389dbea4a5810f2cecf890f6ba9887a07b
2017-06-29 03:09:59 +00:00
Sławek Kapłoński
ad49bbd0f2 Add missing description of Linuxbridge egress bw limit
Add to QoS devref document missing description about how
egress bandwidth limit rules are implemented by Linuxbridge
agent driver.

Change-Id: I1ce44aba14d54179e64f8d0516e0a60605b2add1
2017-06-24 08:42:07 +00:00
Jenkins
2ce4f19afd Merge "Ingress bandwidth limit rule in Linuxbridge agent" 2017-06-22 13:59:07 +00:00
Sławek Kapłoński
da646496e3 Ingress bandwidth limit rule in Linuxbridge agent
Add support for QoS ingress bandwidth limiting in
linuxbridge agent.
It uses traffic shaping done by tc with tbf qdisc.

DocImpact: Ingress bandwidth limit in QoS supported by
           Linuxbridge agent

Change-Id: Id495b302d31f5527db3e45b51517bc53153e7fc2
Partial-Bug: #1560961
2017-06-22 08:20:48 +00:00
Jenkins
dd52e9fbb8 Merge "Revert "Change list of available qos rules"" 2017-06-22 00:21:04 +00:00
Sławek Kapłoński
98f4362469 Add missing info about supported ingress bandwidth limit rule
Add missing information that Openvswitch agent supports now
both ingress and egress direction for QoS bandwidth limit rule.

Support for ingress bandwidth limit was added in
I9d94e27db5d574b61061689dc99f12f095625ca0

TrivialFix

Change-Id: I70058d1d8f16c58e41dab08fc66d5d3f5fcefa4b
2017-06-20 21:07:10 +00:00
lioplhp
5d9bc554a8 Fix html_last_updated_fmt for Python3.
html_last_updated_fmt option is interpreted as a
byte string in python3, causing Sphinx build to break.
This patch makes it utf-8 string.

Change-Id: I82de8ad2a254843434e960f8b093ac8bba2ba89b
2017-06-20 21:45:31 +08:00
Jenkins
ab0dba40d1 Merge "docs: Fix indent level" 2017-06-17 10:11:01 +00:00
Jenkins
baa4ac9151 Merge "docs: reorganize developer reference for new theme" 2017-06-17 10:10:45 +00:00
Jenkins
f89a2467d8 Merge "docs: switch to openstackdocstheme" 2017-06-17 10:10:30 +00:00
Akihiro Motoki
eee9d2ca80 docs: Fix indent level
Leading spaces before item lists leads to vertical line
on the left side. They are completely unnecessary.

Change-Id: I08c3f077e470aa593076a525de1445bc5d0bdb9a
2017-06-16 08:21:56 +09:00
Akihiro Motoki
a23cd43abe docs: reorganize developer reference for new theme
openstackdocstheme generates the toc tree in the left sidebar
based on the page hierarchy from the top page.
The previous developer guide hirarchy is a bit deep, and
this commit reorganizes the devref pages for better navigation
with openstackdocstheme.

Change-Id: I1412b047efc1c268b34ef97e78073da7bcbb6d7e
2017-06-16 08:21:56 +09:00
Akihiro Motoki
2a1b0b0523 docs: switch to openstackdocstheme
The docs reorganization proposed in the docs-specs [1],
we will migrate our sphinx theme to openstackdocsthems.
This commit switches our docs theme to it,

Also ajust title levels. openstackdocstheme assume one title (first
level) per page.  Second or later first-level titles are not shown.
This changes title levels to match openstackdocsthem requirements.

Note that oslosphinx is used by releasenotes build,
so it is not dropped from test-requirements.txt.

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

Change-Id: I72d55c26401ae9bfd06626d1b1584a368bbd9f86
2017-06-16 08:20:54 +09:00
Rodolfo Alonso Hernandez
3e87e4ab0d Add "default" behaviour to QoS policies documentation
Added devref documentation related to the "default" behaviour
for QoS policies.

Change-Id: Ic3b149ec5dfdc732a4b5851237389abaef8992b7
Closes-Bug: #1694298
2017-06-15 09:02:12 +01:00
Jenkins
920c2f6afa Merge "Add myself to the list of our Infra liaison" 2017-06-15 05:51:46 +00:00
Jenkins
0f2bb3ca1d Merge "Add a dashboard for Infra reviews" 2017-06-15 05:51:31 +00:00
Jenkins
817ca843fa Merge "Add support for ingress bandwidth limit rules in ovs agent" 2017-06-15 03:19:53 +00:00
Sławek Kapłoński
2d0d1a2d76 Add support for ingress bandwidth limit rules in ovs agent
Add support for QoS ingress bandwidth limiting in
openvswitch agent.
It uses default ovs QoS policies on bandwidth limiting
mechanism.

DocImpact: Ingress bandwidth limit in QoS supported by
           Openvswitch agent

Change-Id: I9d94e27db5d574b61061689dc99f12f095625ca0
Partial-Bug: #1560961
2017-06-14 11:11:43 +00:00
YAMAMOTO Takashi
5c2e607dd5 Add a dashboard for Infra reviews
Generated from https://review.openstack.org/#/c/473683/

Change-Id: I0ff12d258e4ad048199ebb593fbb92224f9ca528
2017-06-14 12:11:58 +09:00
YAMAMOTO Takashi
fc72c0ceb8 Add myself to the list of our Infra liaison
I hereby volunteer.

Change-Id: Ie1279637b10214f69b8038617b4ec556425e06d9
2017-06-14 12:07:17 +09:00
Vu Cong Tuan
30b6a6378c Fix html_last_updated_fmt for Python3
html_last_updated_fmt option is interpreted as a
byte string in python3, causing Sphinx build to break.
This patch makes it utf-8 string.

Changing Popen to .check_output because of 3 reasons:
1. check_output() will raise CalledProcessError if
the called process returns a non-zero return code.
2. For consistency with keystone [1] and cinder [2]
3. It makes the code look much better.

[1] https://review.openstack.org/#/c/457142/
[2] https://review.openstack.org/#/c/433081

Change-Id: Ifeff184b71a83b78de751dfd0c2f43a33cd409ee
2017-06-06 09:53:12 +07:00
Ihar Hrachyshka
6cfe39708f Fixed docs job failure
Removed one orphan reference of unclear value (pudb), and moved another
one into the text itself. This allows to pass gate with new sphinx.

Change-Id: I943d9b0904731ebcc4d3fd3a9b686fd08b03c48b
Closes-Bug: #1694614
2017-05-31 07:39:11 -07:00
YAMAMOTO Takashi
55d810c7e6 Revert "Change list of available qos rules"
This reverts commit 3299cdffae.

At least, there's a user which relies on the previous
semantics. (Our tempest plugin)
We should not change API semantics lightly
in an incompatible way.

Closes-Bug: #1694396
Related-Bug: #1694190
Change-Id: I88a216951d8996ac8bc90078b4239f0d25392e58
2017-05-30 08:12:28 +00:00
Jenkins
68472d0807 Merge "objects: added update_objects to OVO framework" 2017-05-27 00:30:55 +00:00
Ihar Hrachyshka
b309e12a5d objects: added update_objects to OVO framework
This method allows to update matching resources with requested values
without doing full fetch/set/update cycle. This is also handy to "lock"
records in database with UPDATE WHERE.

Change-Id: I2347fedbecef823babe3d8038f5a74b21fc0a602
Partially-Implements: blueprint adopt-oslo-versioned-objects-for-db
2017-05-24 20:28:11 +00:00
Miguel Angel Ajo
45fd7eef6e Add precommit calls to the QoSDriver class
Added create, update and delete precommit calls for QoS
driver, to be used by some out-of-tree backends.

Co-Authored-By: Miguel Angel Ajo <mangelajo@redhat.com>
Co-Authored-By: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>

Closes-Bug: #1657381
Change-Id: I44dd7e049eab054363063021f07ade81ef2d1a90
2017-05-23 10:59:56 +01:00
Jenkins
2f00df927b Merge "Update team members according to latest events" 2017-05-19 19:07:02 +00:00
Armando Migliaccio
2b1afb7a94 Update team members according to latest events
Sadly this needs an update

Change-Id: I5fb1e010f434880c90f2284b151f73e73ac227e2
2017-05-19 00:26:39 +00:00
Rodolfo Alonso Hernandez
234f09a462 Add "direction" parameter to QosBandwidthLimitRule
Added document reference to this new parameter.

Change-Id: I4b74269ca1b56a6c29034a42e583db5160122ff9
Partial-Bug: #1687392
2017-05-17 08:30:32 +00:00
Rodolfo Alonso Hernandez
7b2ecf69eb Add QoS backend/rule support table to documentation
Added a table in devref documentation to define which
QoS rules are supported by the network backends.

Change-Id: Ie536a05d19cab28eb48bad66b3bc204d017a1ebd
2017-05-12 07:55:18 +00:00
Ngo Quoc Cuong
a7df10146a Trivial fix typos while reading doc
Change-Id: I704a176664fd7a980309d7ff7a5021b1e4c4b033
2017-05-06 00:03:20 +07:00
Sławek Kapłoński
3299cdffae Change list of available qos rules
This patch changes way how neutron calculates which QoS rules
are available to use. It now returns all rule types which are
supported by at least one loaded QoS driver.
If user will want to apply policy with rule unsupported by driver
used by port then it will be catched on port/network update event.
This validation mechanism was introduced in
I75bd18b3a1875daa5639dd141fb7bbd6e1c54118

DocImpact: list of returned available QoS rule types is changed

Change-Id: Ia00d349625db358ab486802fc0ff2e69eaa3895e
Closes-Bug: #1686898
2017-05-03 17:14:29 +00:00
Jenkins
21d3b12e3a Merge "Use conjunction for security group rules with remote_group_id" 2017-04-26 18:00:26 +00:00
Boden R
d79798389e remove and shim callbacks
The callback modules have been available in neutron-lib since commit [1]
and are ready for consumption.

As the callback registry is implemented with a singleton manager
instance, sync complications can arise ensuring all consumers switch to
lib's implementation at the same time. Therefore this consumption has
been broken down:
1) Shim neutron's callbacks using lib's callback system and remove
existing neutron internals related to callbacks (devref, UTs, etc.).
2) Switch all neutron's callback imports over to neutron-lib's.
3) Have all sub-projects using callbacks move their imports over to use
neutron-lib's callbacks implementation.
4) Remove the callback shims in neutron-lib once sub-projects are moved
over to lib's callbacks.
5) Follow-on patches moving our existing uses of callbacks to the new
event payload model provided by neutron-lib.callback.events

This patch implements #1 from above, shimming neutron's callbacks and
removing devref + UTs. Rather than shimming using debtcollector, this
patch leaves callback constants as-is, and simply references the lib
class/function in its respective neutron callback module. This allows
consumers to test callback types without changing code. For example,
an except block block like that below continues to work even though
the raised exception now lives in lib::

try:
     neutron_cb_registry.notify(...)
except neutron_cb_exceptions.CallbackFailure:
     handle_exception()

In addition this patch contains minor UT updates to support the shim
approach.

NeutronLibImpact

[1] fea8bb64ba7ff52632c2bd3e3298eaedf623ee4f

Change-Id: Ib6baee2aaeb044aaba42a97b35900d75dd43021f
2017-04-24 14:43:38 -06:00
IWAMOTO Toshihiro
192bc5f1a8 Use conjunction for security group rules with remote_group_id
Prior to this commit, the number of flows can be prohibitively large
in some cases.

Closes-bug: #1628819
Change-Id: I194e7f40db840d29af317ddc2e342a1409000151
2017-04-21 11:40:58 +09:00