Commit Graph

1569 Commits

Author SHA1 Message Date
OpenDev Sysadmins 77f7cd9719 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:27:59 +00:00
Ian Wienand 6073f17a1a Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: Iabaa13ebc5ff9c8bb842c89a62fdbac75acd774c
2019-03-24 20:33:30 +00:00
Jenkins a7a738c4fe Merge "Fix miss do aging bug when ovsdb reconnect to df" 2016-10-05 14:42:27 +00:00
Jenkins fa1999e5bd Merge "remove useless exceptions for dragonflow" 2016-10-05 14:40:22 +00:00
Jenkins 15f2751804 Merge "Implement L2 Communication for vlan network." 2016-10-05 14:19:22 +00:00
Jenkins 1782b2b756 Merge "Make rst file line endings unix style" 2016-10-05 08:56:22 +00:00
Jenkins 2a30b85216 Merge "Use revision_number instead of DFVersionObjects(port)" 2016-10-05 08:52:19 +00:00
hujie 311e6eb067 Fix miss do aging bug when ovsdb reconnect to df
Change-Id: I09a9d51ecd1b12d75321a1e0804134d654c36b47
Closes-bug: #1630482
2016-10-05 16:44:00 +08:00
Jenkins 7650cf3b60 Merge "Use revision_number(network subnet)" 2016-10-05 08:36:23 +00:00
hujie f7add009f9 remove useless exceptions for dragonflow
Change-Id: Ib92d1610e00d510f6ad2f6f3ba6269db3e263876
2016-10-05 15:43:53 +08:00
Jenkins 802f5c79c8 Merge "Fix a typo in documentation" 2016-10-05 07:38:12 +00:00
Jenkins 25a61b07ae Merge "Check port existence before updating it in NB DB" 2016-10-05 07:37:52 +00:00
Jenkins ccbad089aa Merge "Fix typos in allowed_address_pairs.rst" 2016-10-05 07:35:42 +00:00
Luong Anh Tuan f2929b2021 Fix a typo in documentation
remove redundant 'a'

Change-Id: I426d92b22d8f6e1e645433024cc9d4e88fd099fb
2016-10-04 09:15:51 +07:00
Jenkins ba0ad9a121 Merge "Support etcd clustering configuration" 2016-10-01 01:15:53 +00:00
Jenkins df9474be82 Merge "Remove the deprecation warning of neutron.db.l3_db" 2016-10-01 01:14:55 +00:00
Jenkins 3a244cac3c Merge "add some router get methods" 2016-10-01 01:14:50 +00:00
Jenkins 3c6e79b8ac Merge "Optimize get_local_ports_to_ofport_mapping" 2016-10-01 01:12:11 +00:00
Hong Hui Xiao 70020c87de Optimize get_local_ports_to_ofport_mapping
get_local_ports_to_ofport_mapping will be called when process port.
It will return all information of chassises and logical ports in
current node. However, only one chassis or one port will be used.

When the topology is huge, for example, thousands of chassises and ports,
it will be time/resource consuming to call the method.

This patch makes the method just return the wanted information.

Related-Bug: #1622879

Change-Id: Ifb51575de444fa28e48a6330debdb72ba37a565c
2016-09-30 19:09:46 +08:00
Hong Hui Xiao e14002df6d Remove the deprecation warning of neutron.db.l3_db
These two deprecation warning can be observed, when run UT for
test_l3_router_plugin

DeprecationWarning: neutron.db.l3_db.Router: moved to
neutron.db.models.l3.Router
DeprecationWarning: neutron.db.l3_db.FloatingIP: moved to
neutron.db.models.l3.FloatingIP

Change-Id: I9aeda537aea405e86dfcbda2e0245be8ca151b8c
2016-09-30 18:51:48 +08:00
Hong Hui Xiao 66a2ccbde0 Use revision_number instead of DFVersionObjects(port)
Change-Id: I14a64348bafd21d82cd723abc3b701e6ff2115a4
Partial-Bug: #1618738
2016-09-30 17:51:28 +08:00
Hong Hui Xiao 26af96bbf1 Use revision_number(network subnet)
Change-Id: I5617bc29c41777a175065197e17122b81ef7f03d
Partial-Bug: #1618738
2016-09-30 17:51:28 +08:00
Li Ma be2118ecfa Support etcd clustering configuration
Change-Id: Iee68a1b738851bcfc6f029c4b4aa35ece4d67024
Closes-Bug: #1547378
2016-09-30 16:06:13 +08:00
Hong Hui Xiao 72a61d9dd4 Make rst file line endings unix style
The line endings were CRLF (dos/windows style). The standard is to use
UNIX style endings.
No other change was made to the file.
This is a result of following command in dragonflow folder.

find ./ -name '*.rst' -type f -exec dos2unix {} \;

Change-Id: Idb2f6f3d4d32044b3d095dfcf27e31a04741d071
2016-09-30 15:38:21 +08:00
hujie 3b64e53d19 add some router get methods
Change-Id: Ia00223b03d3d57906bfe1370eb03da97e5ae1623
Closes-bug: #1627577
2016-09-30 15:19:31 +08:00
Jenkins cd5fa434fd Merge "Refactor OvsdbSwitchApi" 2016-09-30 04:10:42 +00:00
Jenkins 0793aadc36 Merge "Improve .rst format in port_qos to display tables" 2016-09-30 04:09:53 +00:00
Jenkins d35c9b0e93 Merge "Set USE_ML2_PLUGIN=True in the compute sample local.conf" 2016-09-30 04:08:19 +00:00
Jenkins d3c4d7d94d Merge "Updated from global requirements" 2016-09-29 12:02:11 +00:00
Jenkins 12637b63f1 Merge "Remove useless parameters and spaces in devstack scripts" 2016-09-29 11:55:23 +00:00
Omer Anson 155b4f7c96 Improve .rst format in port_qos to display tables
Change-Id: I22039e00ec7f778fb0f2f737357efa0b2bcf32d8
2016-09-29 12:13:52 +03:00
Hong Hui Xiao 5e38588ca7 Set USE_ML2_PLUGIN=True in the compute sample local.conf
The sample local.conf of controller has been set to USE_ML2_PLUGIN=True.
However, the sample local.conf of compute node has not been set.
In a real deployment, it will fail if user uses sample local.conf for
both controller and compute node.

Since it is end of N release, it would be safe to just change the sameple
local.conf for now. Changing USE_ML2_PLUGIN=True as default value will
be performed in O release.

Change-Id: I5143adef0bc8f09ee35616908b600f2fa70c08ea
Partial-Bug: #1618792
2016-09-29 17:08:30 +08:00
zhangyanxian 95ed41f9ed Fix typos in allowed_address_pairs.rst
TrivialFix

Change-Id: I675abcc1bd50862f9bec55c03a40095ba4aa594a
2016-09-29 07:48:56 +00:00
Hong Hui Xiao b06a885b76 Check port existence before updating it in NB DB
The logical port might already been deleted due to concurrent operation.
DF mech_driver should check its existence before updating it.

Change-Id: I110b4d3adcd5c169a65917422c1f2c8fc3bac993
Close-Bug: #1628408
2016-09-29 14:36:12 +08:00
OpenStack Proposal Bot 5cf62aeb7b Updated from global requirements
Change-Id: I090f4eb1db7bdfa4808b0cf0335aa36f5224a675
2016-09-29 05:17:37 +00:00
Hong Hui Xiao 57585915af Use revision_number instead of DFVersionObjects(sg)
Change-Id: Ic269a05a3ffe1e7234f49fd0dae673c0e347a9a9
Partial-Bug: #1618738
2016-09-28 11:24:32 +00:00
Jenkins 5c0d81b5fe Merge "Optimize the name of the variable in the function" 2016-09-28 11:14:21 +00:00
Hong Hui Xiao 038b62b5da Refactor OvsdbSwitchApi
Current OvsdbSwitchApi provides ovs command sometimes, and outputs result
directly sometimes. It makes it hard to use. Also, OvsdbSwitchApi uses
neutron framework to execute ovs command sometimes, and uses idlutils
directly sometimes. Using idlutils directly will not reconnect ovsdb,
if timeout.

This patch does following things:
1) Create a dedicated ovsdb api, which is a sub class of OvsdbIdl from
neutron
2) Make OvsdbSwitchApi execute ovs command, and remove explicit execute()
call from consumers
3) Remove directly using idlutils in OvsdbSwitchApi
4) Remove obselete methods in OvsdbSwitchApi
5) Remove duplicated command class, which already have defination in
neutron

Change-Id: I7e9a7f9337c703673b7817ad47de1223c1b01ec0
Closes-Bug: #1622879
2016-09-28 16:54:03 +08:00
Jenkins cf7369d5ce Merge "Add extra routes support for router" 2016-09-26 19:05:05 +00:00
Jenkins 643894e447 Merge "Implement remote port function for dragonflow" 2016-09-26 18:50:27 +00:00
Jenkins 32a4a079ed Merge "Clean imports in code" 2016-09-26 09:01:34 +00:00
Jenkins 04ad8e313d Merge "Remove deprecation warning in mech_driver" 2016-09-26 09:01:28 +00:00
Jenkins 9ade2c215f Merge "Clean imports in code" 2016-09-26 08:58:26 +00:00
Jenkins 4d38fe623d Merge "Fix zookeeper log" 2016-09-26 08:55:23 +00:00
Jenkins 3b12f8b78c Merge "Fix dhcp app options" 2016-09-26 08:53:41 +00:00
Li Ma fdd8a685db Remove useless parameters and spaces in devstack scripts
Change-Id: I8649941f4fc569db3a55afb1aa48ecedb814d9a6
2016-09-26 16:17:44 +08:00
Jenkins 8e506e19f5 Merge "Remove ovsdb_nb_impl.py" 2016-09-26 07:37:28 +00:00
Nam Nguyen Hoai f9ffa14765 Using assertIsNone() instead of assertEqual(None)
Following OpenStack Style Guidelines[1]:
http://docs.openstack.org/developer/hacking/#unit-tests-and-assertraises
[H203] Unit test assertions tend to give better messages for more specific assertions.
As a result, assertIsNone(...) is preferred over assertEqual(None, ...) and assertIs(..,None)

Change-Id: I2ab46cc724665ed5362cee865c8c0dfa0e93a0ae
2016-09-27 11:44:46 +07:00
Hong Hui Xiao 1718d1c034 Remove ovsdb_nb_impl.py
As a sub-class of api_nb.NbApi, ovsdb_nb_impl.OvsdbNbApi is not used
anywhere. And the logic in ovsdb_nb_impl is out of date somehow. For
example, OVN_Southbound listens to 6642, and OVN_Northbound listens to
6641 by default, however, ovsdb_nb_impl still uses port 6640 to connect
both OVN_Southbound and OVN_Northbound DB.

Besides, ovsdb_nb_impl will require installing ovn, which might cause
confusion to user, as ovn is another distributed sdn controller, compared
to dragonflow.

Besides, using ovn db to store nb db might cause conflicts, as ovn db
change will cause ovn-controller to download OpenFlow, if there is any
ovn-controller.

This patch just remove ovsdb_nb_impl.

Change-Id: I7ddc583146989bcd598b06c49c8190a1c28597f3
Related-Bug: #1622879
2016-09-26 11:01:36 +08:00
liuhaixia 7953b0db2d Implement L2 Communication for vlan network.
This patch implements L2 communication for vlan network.

Change-Id: Id03ae59226127a9c47d11f22eac097bc920c0593
2016-09-25 10:01:05 +00:00