18857 Commits

Author SHA1 Message Date
Jakub Libosvar
2bfd21820f ovs-fw: Update internal docs with TRANSIENT table
Commit d559cd53e86fb0a3313289467bf4c56bbe76bcec introduced TRANSIENT
table to ovs firewall but didn't update docs.

Change-Id: I3d5ca5dd89e890d08039a0f4f68c9b755961a020
Related-bug: #1696983
2017-07-24 10:19:36 +02:00
Jenkins
fe6a43b5e3 Merge "ovsfw: Fix overlapping MAC addresses on integration bridge" 2017-07-21 03:19:03 +00:00
Jenkins
7109d50858 Merge "Log reserved cookies in cleanup_flows method" 2017-07-21 00:00:51 +00:00
Jenkins
8c0bc37325 Merge "Add dns_domain attribute to ports in the API" 2017-07-21 00:00:15 +00:00
Jenkins
73f1c5d8b7 Merge "import the admin guide content from openstack-manuals" 2017-07-20 23:59:44 +00:00
Jenkins
e65784d0be Merge "hacking: Remove dead code" 2017-07-20 23:59:28 +00:00
Jakub Libosvar
6370a04710 ovsfw: Fix overlapping MAC addresses on integration bridge
The patch relies on the fact that traffic not going from instance
(and thus port not managed by firewall) is tagged. Traffic coming from
the instance is not tagged and thus net register is used for marking
such traffic. These two approaches make matching rules unique even if
two ports from different networks share its' mac addressess.

Traffic coming from trusted ports is marked with network in registry
so firewall can decide later to which network traffic belongs.

Closes-bug: #1626010

Change-Id: Ia05d75a01b0469a0eaa82ada67b16a9481c50f1c
2017-07-20 14:26:07 +00:00
Swaminathan Vasudevan
cced31c6b9 DVR: Server side patch to schedule an unbound port with Floating IP
Unbound ports that are associated with a Floating IP and connected to
DVR Routers will not be serviced by the DVR Routers, unless we bind it
to a valid host.

This server side patch allows the neutron server to schedule the
unbound port Floating IP on the network node or the node with dvr_snat
agent where the SNAT functionality resides.

The DNAT rules for the unbound ports will be configured in the SNAT
namespace on the network node.

Related-Bug: #1583694
Change-Id: I05d0bfb3fa275b1e4e479928000cf8494da858f6
2017-07-19 22:19:58 -07:00
Jenkins
1a11bc9605 Merge "Use context interface for constraint" 2017-07-20 01:08:58 +00:00
Jakub Libosvar
e56e6b6b0f hacking: Remove dead code
Checks for logs translation were removed. Code in this patch is not used
anywhere.

Change-Id: Ia8b6ce545ed0182825fc9d32eedfdf7b949c27d0
2017-07-19 13:43:44 +02:00
Thomas Morin
f2caa7c823 OVS firewall: do strip_vlan in TRANSIENT_TABLE
This change moves the strip_vlan action from RULES_INGRESS/82 to
TRANSIENT_TABLE after the point where the traffic from local VM ports
has been moved to BASE_EGRESS. A reason for this move is that strip_vlan
is only needed for traffic *not* coming from VM ports and coming on a
patch  port from br-*, and that it is hence simpler do do the strip_vlan
in TRANSIENT_TABLE rather than in mutliple places that also happen to be
common with traffic from local VMs.

This change also addresses another need:
I16a35b5d6c54901899d24fc94bd3438c1f1be05e results in add_flow being
possibly done with an Openflow version higher than OF1.0. The
strip_action as currently done is not compatible with OF>1.0, because
later versions require matching on dl_vlan first (the "strip vlan if
there is one" behavior of OF1.0 is not supported anymore). For this
reason this change adds a match on dl_vlan for the strip_vlan rule.

Change-Id: I76ee34a614237bbc99989ce9c1b96a30456be282
2017-07-19 11:05:59 +00:00
Jenkins
3ebbe44b70 Merge "Adding option to check VM connectivity with packet of given size" 2017-07-19 09:35:01 +00:00
Kevin Benton
bc51380ded Log reserved cookies in cleanup_flows method
This will help us debug why flows are unexpectedly being
cleaned up if the related bug ever resurfaces.

Related-Bug: #1697243
Change-Id: I517b16c550037f41a5f4915b98963c2232daa78c
2017-07-18 23:12:36 -07:00
Kevin Benton
9662e2b170 Use context interface for constraint
Use the new constraint interface on the context rather than
setting an ugly attribute.

Depends-On: I6bc2539a1ddbf7990164abeb8bb951ddcb45c993

Related-Bug: #1493714
Change-Id: I9142ca96a40092b2a4c94920c4ded9bbc3a0b35b
2017-07-18 23:00:00 -07:00
Jenkins
1c94a80b55 Merge "Add callback BEFORE_DELETE for delete_router" 2017-07-19 05:38:04 +00:00
Jenkins
c989331b93 Merge "Stop using non-ascii characters" 2017-07-19 03:28:55 +00:00
Jenkins
da79102907 Merge "Tempest: Fix DeprecationWarning for Read-only property" 2017-07-19 03:27:04 +00:00
chenxing
b6a0fa8a76 import the admin guide content from openstack-manuals
Neutron repository has the networking guide in admin/,
so we cannot just import the admin guide contents into admin/
as it potentially breaks the existing document structure of
the networking guide. This commit imports the admin guide
into admin/archives directory so that the team can migrate them
into the networking guide after careful reviews.

Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: I1f99f225a6f58654911ed827f51d3d4de67f405d
2017-07-19 00:42:07 +00:00
Jenkins
79e2701937 Merge "Updated from global requirements" 2017-07-18 17:22:04 +00:00
Gary Kotton
83bcc8832d Add callback BEFORE_DELETE for delete_router
Enable a callback to be bound for deletion of routers.
A use case for this is in the NSX plugins, here a load
balancer needs to be connected to an existing router.
If one tries to delete the router then we would like to
prevent that if a load balancer is attached.

Change-Id: Ie0c422578acaa94e8e34c15beca9f18691a3abc6
2017-07-18 10:50:04 +00:00
OpenStack Proposal Bot
a5b43c5cfa Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Icac713f54d7bf66a2970b3c60b304d6ef9628675
2017-07-18 08:36:04 +00:00
YAMAMOTO Takashi
af4bfb35a2 Stop using non-ascii characters
Namely, Replace U+2019 RIGHT SINGLE QUOTATION MARK
with U+0027 APOSTROPHE where appropriate.

Change-Id: Iec9e8f85bcddeb90e9a7fb8f845a7923cac38f52
2017-07-18 17:11:23 +09:00
Jenkins
9449a63021 Merge "Extend Quota API to report usage statistics" 2017-07-18 03:17:35 +00:00
Jenkins
e5f2a6db0e Merge "Ensure that fault map translations work correctly" 2017-07-18 03:15:44 +00:00
OpenStack Proposal Bot
354dd697cf Updated from global requirements
Change-Id: Ibd767e2286242218b5f83ee96bce4721593a3bff
2017-07-18 01:50:15 +00:00
Jenkins
88aa9dbf9e Merge "Fixed AttributeError in l2pop.delete_port_postcommit" 2017-07-17 21:33:58 +00:00
Sergey Belous
a8109af65f Extend Quota API to report usage statistics
Extend existing quota api to report a quota set. The quota set
will contain a set of resources and its corresponding reservation,
limits and in_use count for each tenant.

DocImpact:Documentation describing the new API as well as the new
information that it exposes.
APIImpact

Co-Authored-By: Prince Boateng<prince.a.owusu.boateng@intel.com>
Change-Id: Ief2a6a4d2d7085e2a9dcd901123bc4fe6ac7ca22
Related-bug: #1599488
2017-07-17 20:51:48 +00:00
fumihiko kakuma
b346c55548 Tempest: Fix DeprecationWarning for Read-only property
The following Read-only property has moved in Pike [1].
    os_adm -> os_admin
    os -> os_primary

[1] I9f7c13da05a8c4a63529c11aa6213a7269abee6d
    Ie4cf457d0a521910a82e41e7dad775df75d56587

Change-Id: I512048211888c3db40f95a084164e3add47e3588
2017-07-16 22:38:58 +09:00
Genadi Chereshnya
b82aaf7724 Adding option to check VM connectivity with packet of given size
Adding mtu parameter to check_remote_connectivity function.
When given, send packets of that size.
If fragmentation flag is False, then don't fragment the packets.

Change-Id: I5f2742b6e8fd894fcfe4c0e2a7eb4a14d2594dd4
2017-07-16 16:28:45 +03:00
OpenStack Proposal Bot
d7e7dd451a Updated from global requirements
Change-Id: Ie7f849de12a893833aaab64f636c4e11d653b364
2017-07-16 00:19:20 +00:00
Jenkins
01dd6de276 Merge "Introduce trusted ports to firewall driver API" 2017-07-16 00:12:05 +00:00
Jenkins
1a30123648 Merge "Replace test.attr() with decorators.attr()" 2017-07-16 00:11:28 +00:00
Jenkins
a1d564b913 Merge "Tempest: Adopt keystone api v3 for tests" 2017-07-15 02:15:56 +00:00
Jenkins
8ff216d0c1 Merge "DVR: Fix neutron metering agent to notify hosts hosting DVR" 2017-07-15 00:41:35 +00:00
Jenkins
0cd9161c86 Merge "Add support for list querying in resource cache" 2017-07-15 00:29:41 +00:00
nanaboat
7064afd79a Tempest: Adopt keystone api v3 for tests
Adopt v3 for the few tests that require v3 endpoint

Change-Id: I2bcc9ac2949f5f4d7e22a83f3839b97a775763db
2017-07-14 22:53:20 +00:00
Jenkins
b6395a5f63 Merge "[log]: implement logging plugin" 2017-07-14 15:30:27 +00:00
Jenkins
93390579da Merge "Fix typo" 2017-07-14 08:34:54 +00:00
Jenkins
693b2adc4e Merge "import content from cli-reference in openstack-manuals" 2017-07-14 07:19:44 +00:00
zhangdebo1987
4b95647225 Fix typo
Fix typo.

Change-Id: I26077354870e49223925a605e321e11b63cb318d
2017-07-14 10:14:02 +08:00
Jenkins
a9fd0e5f77 Merge "Removed ovsdbapp deprecation warnings" 2017-07-13 22:59:55 +00:00
Miguel Lavalle
190b31e03a Add dns_domain attribute to ports in the API
This change adds a dns_domain attribute to ports in the API.

This patchset belongs to a series that adds dns_domain attribute
functionality to ports.

Change-Id: Ied1f2f0c1e96ae21c309b6e6fed9e3c602b0450b
Partial-Bug: #1650678
2017-07-13 16:51:54 -05:00
Gary Kotton
5f972ef406 Ensure that fault map translations work correctly
The patch does two things:
1. make the code validation of the code checks more generic
2. enables a extended fault map to be treated correctly (for example
   https://github.com/openstack/vmware-nsx/blob/master/vmware_nsx/plugins/nsx_mh/plugin.py#L769)

Change-Id: Idc89c0ece2e6ff3b0368f431fea098128bd68c34
2017-07-13 12:38:55 +03:00
jeremy.zhang
3e4cb0817d Replace test.attr() with decorators.attr()
Function 'tempest.test.attr()' has been moved to'tempest.lib.decorators.attr()'
in Pike and will be removed in a future version [1]. This patch is to replace
'tempest.test.attr()' with 'tempest.lib.decorators.attr()'.

[1] Iaafbb112b6eee458089cc49918359a8a8d0485e2

Depends-On: I50b823b049d0e391ac517f7ec72380a12fa81176
Change-Id: I1e511166a114a79504404c88579f6cb0c4caaebe
2017-07-13 03:31:15 +00:00
Jenkins
8326a65a5e Merge "SR-IOV: remove ml2_conf_sriov.ini from manual" 2017-07-13 01:10:51 +00:00
Jenkins
5fdd163327 Merge "Fix alter_enum_add_value" 2017-07-13 01:09:46 +00:00
Jenkins
fa4e148b06 Merge "tests: kill a bunch of unneeded mocks in l2pop unit tests" 2017-07-13 00:59:53 +00:00
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
bea5cd24a9 Merge "New API call to get details of supported QoS rule type" 2017-07-12 20:21:59 +00:00
Jenkins
0a18a3a4d8 Merge "ovs-fw: Use TRANSIENT table for traffic classification" 2017-07-12 20:20:21 +00:00