18919 Commits

Author SHA1 Message Date
Dongcan Ye
d1f858b96d docs: Fix in TESTING.rst
Change-Id: I01c3016a7bdc9979756260759fc0ff8d4fd3f454
2017-07-30 10:48:06 +08:00
Jenkins
9b1168ac71 Merge "Log revision number in resource updated message" 2017-07-29 02:28:18 +00:00
Jenkins
994947fa37 Merge "Add netlink-lib to manage conntrack entries" 2017-07-28 20:04:18 +00:00
Kevin Benton
715be3e3b1 Log revision number in resource updated message
This makes it easier to coordinate agent-side events
with the server-side push notification state.

TrivialFix

Change-Id: Ib3a6ff27130c85a98c9d5bfe1f344e3d77d3cc12
2017-07-28 10:58:58 -07:00
Jenkins
acdad9ae9d Merge "Add segments service plug-in devref" 2017-07-28 17:31:04 +00:00
Miguel Lavalle
1994d180d0 Add segments service plug-in devref
This commit adds a document to devref that explains the implementation
of the segments plug-in

Change-Id: I80928eac7a6cb051c3d6532d83c9d9ecd328cd18
2017-07-28 09:54:46 -07:00
Jenkins
e489c50f9c Merge "Updated from global requirements" 2017-07-28 12:26:34 +00:00
Jenkins
ef4119f83a Merge "[Tempest] Running Trunk test with advanced image only" 2017-07-28 11:17:09 +00:00
Jenkins
d34aa00d4b Merge "Enforce ethertype with IPv6 integer protocols" 2017-07-28 10:25:40 +00:00
OpenStack Proposal Bot
016e9a2bf8 Updated from global requirements
Change-Id: Ia3d2664396defe1646828baf89c66a01aa0f1b37
2017-07-28 01:15:52 +00:00
Jenkins
03707a61d9 Merge "DVR: Fix binding info for DVR port not found error" 2017-07-28 00:52:51 +00:00
Jenkins
16593bb5cb Merge "Ignore duplicate record_resource_delete calls" 2017-07-28 00:52:22 +00:00
Jenkins
2d9164dc04 Merge "use neutron-lib.callback.events.AFTER_SPAWN" 2017-07-28 00:15:16 +00:00
Jenkins
87279596a3 Merge "Add port dns_domain to DB and object models" 2017-07-27 23:59:52 +00:00
Jenkins
cfb23d4e3e Merge "FloatingIP to OVO" 2017-07-27 17:19:41 +00:00
Jenkins
05e91d3888 Merge "Add specific values to specific fields in get_random_object_fields()" 2017-07-27 17:04:25 +00:00
Swaminathan Vasudevan
9e9a8a07c3 DVR: Fix binding info for DVR port not found error
Recently we have been seeing an error in neutron associated
with DVR routers, that says 'Binding info for DVR port not
found'.
This error is thrown when the 'get_bound_port_context' is
called when trying to notify_l2pop_port_wiring.
notify_l2pop_port_wiring is intended for router 'HA' ports, so
the get_bound_port_context should be called here only for 'HA'
ports.

This was introduced by a recent refactor in neutron
Icd4cd4e3f735e88299e86468380c5f786e7628fe

Change-Id: I1c636344068518aa26be6c96c598c61b7f0f3563
Closes-Bug: #1702769
2017-07-27 09:07:55 -04:00
Cuong Nguyen
1e5432cccd Add netlink-lib to manage conntrack entries
When the security group is updated, the conntrack entries will be deleted
by conntrack-tools with each rule associated with each SG rule.

In large scale system, updating so much rules will call a large number
of subprocesses to implement the "conntrack -D" commands. That will
consume the system resource and time.

This netlink-lib will be used by netlink conntrack driver to improve
conntrack management performance.

Original solution and performance from neutron-fwaas [1]

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

Co-Authored-By: Cao Xuan Hoang <hoangcx@vn.fujitsu.com>
Change-Id: I7503c87900eb0f7bc5386f915b925bb2576502cc
2017-07-27 13:56:40 +07:00
Jenkins
8603af3414 Merge "of_interface: allow install_instructions to accept string actions" 2017-07-27 06:45:08 +00:00
Isaku Yamahata
5f02ed398a use neutron-lib.callback.events.AFTER_SPAWN
Change-Id: Ia3d9dbe751964ded7cf5b99bfcd7e28c30a5d4a6
Depends-On: I50513229b207c6a0a0b0b0a5e00873fb634f6b67
2017-07-27 05:57:34 +00:00
Jenkins
47a6348e53 Merge "Remove network_id from network_map on net delete" 2017-07-27 03:25:57 +00:00
Jenkins
3989b42453 Merge "Add project links to feature classification matrix" 2017-07-27 02:13:31 +00:00
Jenkins
6fae78a52d Merge "Do not respond to ARP on IPv6-only interfaces" 2017-07-27 02:12:47 +00:00
Jenkins
e1d57f996a Merge "ml2 plugin: add (PORT, BEFORE_UPDATE) callback" 2017-07-27 02:11:51 +00:00
Jenkins
cbe0f03f08 Merge "Add datapath_type to vif_details in OVS driver" 2017-07-26 10:26:56 +00:00
Jenkins
8538db828a Merge "Remove neutron-fwaas specific policies" 2017-07-26 08:49:43 +00:00
Armando Migliaccio
098ff08bc6 Add project links to feature classification matrix
It would be nice to have driver columns as displayed in [1]
to link to the respective project's documentation, when available.

This patch tweaks the support_matrix code to render such project
documentation links (e.g. https://docs.openstack.org/networking-<foo>/latest/).

[1] https://docs.openstack.org/neutron/latest/feature_classification/general_feature_support_matrix.html

Change-Id: I4990dcc5209e0fa0ca8318da5383a346d81c9a54
2017-07-25 16:28:59 -07:00
Jenkins
6be27b9803 Merge "neutron-teams.rst: Remove an orphan footnote" 2017-07-25 19:58:46 +00:00
Genadi Chereshnya
314277286d [Tempest] Running Trunk test with advanced image only
1)Adding 'image_is_advanced' option to tempest config, so you can
run specific tests with images that are not cirros.
2)Adding decorator to run 'subport_connectivity' test with such
image for VLAN aware VM feature.
3)Configuring gate to run trunk test with ubuntu image only
4) Updating release notes and TESTING.rst with the change

Change-Id: Ie15b0e79c6ea320322b2815fb8afbc8ec95f853a
2017-07-25 10:21:58 -07:00
Trevor McCasland
2ec36dc812 Enforce ethertype with IPv6 integer protocols
By extending the black list to include the integer representation
for IPv6 we can succesfully block api requests to create security
group rules for IPv6 protocols with ehtertype IPv4.

Closes-Bug: #1706229
Change-Id: I5abeff178b3be18f1e93d00d9d546147b11c1a74
2017-07-25 11:09:25 -05:00
Jenkins
8718d5c2b6 Merge "Tag mechanism supports resources with standard attribute" 2017-07-25 10:31:40 +00:00
Rodolfo Alonso Hernandez
25af4bba7c Add datapath_type to vif_details in OVS driver
Added datapath_type to vif_details returned by OVS
mech driver.

Depends-On: Ie523c821995c046c7f77783a34e75053fc0abb3d
Partial-Bug: #1632372

Change-Id: Ief83150caf1a32a2c043b0245b36e5ebc3a16379
2017-07-25 07:55:54 +00:00
Lujin
310cbdd250 FloatingIP to OVO
This patch introduces the FloatingIP model class to Oslo-Versioned Object.

Change-Id: I4257ded4a4b0ce0ae3f562cc74b55b671fe4af69
2017-07-25 15:20:19 +09:00
Lujin
d24abbe792 Add specific values to specific fields in get_random_object_fields()
Generally, get_random_object_fields() generates random values to
update OVO objects. However, in some cases, specific values are
required, otherwise Foreign Key violation is triggered.

This patch adds a dictionary to hold all updatable fields which
require specific values.

Change-Id: I6da72c3ac43f01b5ffa21f128fb3eeaf9fd0a503
Closes-Bug: #1705187
2017-07-25 15:16:25 +09:00
Jenkins
bc4b0b23b9 Merge "Always try to delete bridge for ID on network_delete" 2017-07-25 01:32:05 +00:00
Isaku Yamahata
5806572738 ml2 plugin: add (PORT, BEFORE_UPDATE) callback
Add (PORT, BEFORE_UPDATE) callback for port binding.
This is necessary for third party driver, In fact for networking-odl.
When port binding happens, neutron server may not know necessary
information. In such case, necessary information needs to be retrieved
from external SDN controller.
It needs to be done outside DB transaction and before actual port
binding. i.e. BEFORE_CREATE/UPDATE for PORT resource.
(PORT, BEFORE_CREATE) exits already.

Change-Id: Iab115087f619df46ea1b19289dec124d5ee394f5
Partial-bug: #1704848
2017-07-24 18:13:31 -07:00
Hirofumi Ichihara
96f0142b80 Tag mechanism supports resources with standard attribute
Tag mechanism supports network, subnet, port, subnetpool
router resources only. This patch allow tag mechanism to support
 resources with standard attribute.

Two old extenions are kept because of backward compatibility.
They will be removed in Queens release.

APIImpact: Tag is supported by resources with standard attribute
DocImpact: allow users to set tags on resources with standard attribute

Change-Id: Id7bb13b5beb58c313eea94ca03835d3daf5c94bc
Closes-Bug: #1682775
2017-07-25 08:14:04 +09:00
Jenkins
b293b59b81 Merge "Update the documentation link for doc migration" 2017-07-24 20:18:26 +00:00
Jenkins
65720ff5aa Merge "Ignore cast exceptions in AgentNotifierApi" 2017-07-24 15:59:19 +00:00
Akihiro Motoki
d3c393ff6b Update the documentation link for doc migration
* Update the URLs affected by the doc-migration
  (/developer/<project>/ to <project>/latest/)
* Follow content rearrangement
* Convert links to local documents into :doc: or :ref:
* Use https instead of http for the updated links on docs.openstack.org.

Part of the doc-migration work.

Change-Id: I62e317d9198f175a43d73bbfd419b6878de90d5a
2017-07-22 18:46:13 +09:00
Gary Kotton
71d9aab87e Only ensure default security group exists if necessary
A default security group will be assigned to a port if
and only if the security group attribute is not set on
the port being created. If the attribute is set then we
do not need all of the extra logic of ensuring that the
default security group exists.

This change save a few cycles, more specifically we do not need to
read from the DB or create a default security group if the
default will not be used.

TrivialFix

Change-Id: Ib072c2753862ce0709a67942527e9c6241130042
2017-07-22 04:51:15 +00:00
Jenkins
d83ef90d7d Merge "Remove deprecated prevent_arp_spoofing option" 2017-07-22 02:50:08 +00:00
Jenkins
e13390d484 Merge "DistributedVirtualRouter mac address to OVO" 2017-07-21 23:22:04 +00:00
Jenkins
20ce35ba14 Merge "New RPC to set HA network port status to DOWN" 2017-07-21 20:25:22 +00:00
Jenkins
9cb907cfb1 Merge "hardware offload support for openvswitch" 2017-07-21 20:01:29 +00:00
Kevin Benton
e32155cf69 Ignore duplicate record_resource_delete calls
This adjusts the record_resource_delete method to ignore duplicate
calls to the same resource ID so we don't generate multiple
AFTER_DELETE callbacks for the same thing.

This can happen in security groups if a security group is deleted
and the local handler starts deleting SG rules and then we receive
an explicit rule deletion from the server triggered by the user.

Change-Id: I8ff58e178641328fe8fed526399e9aa9bef82a6f
Partially-Implements: blueprint push-notifications
2017-07-21 19:53:23 +00:00
Kevin Benton
ca2399dbe0 Remove network_id from network_map on net delete
This removes the network_id from the network_map dict when
a network is deleted on the Linux Bridge agent.

Change-Id: I0bd3be91626fd7c4e258c35041bb92130ee23182
Closes-Bug: #1705185
2017-07-21 19:52:07 +00:00
Kevin Benton
499faa3074 Always try to delete bridge for ID on network_delete
If network_deletes are received before port creates
are processed, the agent might not have the network in
it's map even though it has a bridge to delete.

This adjusts the logic to always try to delete the bridge
corresponding to a network_id even if it's not in the
network_map yet.

Change-Id: I5e72bff2ffd9568f272ed48187ad543ab5a3d1ec
Closes-Bug: #1698271
2017-07-21 19:51:33 +00:00
OpenStack Proposal Bot
e55eeece02 Updated from global requirements
Change-Id: I414fe99e1c315349cece07460c9d2545d8d56142
2017-07-21 13:11:47 +00:00
Jenkins
fa51e2dd96 Merge "neutron-teams.rst: Update the list of networking-midonet lieutenants" 2017-07-21 05:52:53 +00:00