Commit Graph

69 Commits

Author SHA1 Message Date
zhangtongjian 5dabe22584 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py

Change-Id: I81159c58b7513ce6a338598209039752c0cced77
2022-07-28 12:35:06 +00:00
ZhouHeng a9f26b81e2 revive neutron-fwaas project
This reverts commit caae7b6a6f.

Reason for revert:
Many users still need L3 firewalls and Inspur team wants to maintain
this project.
Neutron drivers team discussed the topic of the maintenance of
neutron-fwaas, and agreed to include neutron-fwaas again to Neutron
stadium[1].

Some updates have been made:
Remove use "autonested_transaction" method, see more [2]
Replace "neutron_lib.callbacks.registry.notify" with "registry.publish"
Replace rootwrap execution with privsep context execution.
Ensure db Models and migration scripts are sync, set table
firewall_group_port_associations_v2's two columns nullable=False

[1] https://meetings.opendev.org/meetings/neutron_drivers/2022/neutron_drivers.2022-01-28-14.00.log.html#l-14
[2] https://review.opendev.org/c/openstack/neutron-lib/+/761728

Change-Id: I14f551c199d9badcf25b9e65c954c012326d27cd
2022-03-01 01:01:47 +00:00
Slawek Kaplonski caae7b6a6f Retire neutron-fwaas project
Governance change is proposed at [1] and project config patch is
proposed at [2]

[1] https://review.opendev.org/735828
[2] https://review.opendev.org/#/c/735812/

Change-Id: I561504160e5548c54d1af31821c3366ab34cf0ec
2020-06-16 12:38:31 +02:00
OpenStack Proposal Bot f0f23adb62 Updated from global requirements
Change-Id: I70889b76aca978299fae6003356d270a594f046c
2017-03-03 22:53:13 +00:00
OpenStack Proposal Bot f4615c70ae Updated from global requirements
Change-Id: I7a99d45c179e39fa5b3550309be4bed34dd7e133
2015-09-17 16:40:26 +00:00
OpenStack Proposal Bot 8de258e595 Updated from global requirements
Change-Id: Ie9a92740e810da8795bff17006061bd4879d8248
2015-07-15 01:34:14 +00:00
OpenStack Proposal Bot cd818d0532 Updated from global requirements
Change-Id: I0cb0210b3e811efd99b49c45fff156cfb9d0a2fd
2015-06-22 20:15:46 +00:00
OpenStack Proposal Bot bf261bce1a Updated from global requirements
Change-Id: I6090b1bde89b25eaa1aea94024b7f4225375e65e
2014-04-30 02:41:29 +00:00
OpenStack Jenkins a896e42ef9 Updated from global requirements
Change-Id: Id6c3328045ab356a232eb0fe71033f1272b76c5d
2013-10-01 16:13:29 +00:00
Monty Taylor feac5725fe Updated from global requirements
Also, revert commit 9826e09325

Change-Id: Ibf423f14a5c37aa298b2115bfd4936f660c6f530
2013-08-09 17:10:02 -03:00
Monty Taylor 7c983cac33 Move to pbr.
Closes bug 1179007

Change-Id: I3666e373389da6ad9a21a195a42918d4dec50cb5
2013-05-17 08:31:44 -07:00
Irena Berezovsky 233e07b826 blueprint mellanox-quantum-plugin
Implements Mellanox Quantum plugin.
This plugin implements Quantum v2 APIs with support for Mellanox embedded
switch functionality as part of the VPI (Ethernet/InfiniBand) HCA.

Change-Id: I22907dfec5b6cb8f6ad8c3b6e390abc4f8e0ac10
2013-05-13 15:36:14 +03:00
Maru Newby 5fbddaff84 Shorten the path of the nicira nvp plugin.
* s+[/.]nicira_nvp_plugin++
 * Backwards compatibility is maintained by importing the
   nicira package as nicira_nvp_plugin in the plugins package.
 * It may be necessary to remove stale .pyc/.pyo files under the
   nicira path after applying this patch.
 * DocImpact
 * Addresses bug 1166307

Change-Id: I241a2a75106398506b01bcb7a6ddbaafa1b7bd30
2013-04-11 19:10:25 +00:00
Rich Curran 05550756db blueprint cisco-single-config
Scope: Unification of all the various plugin files for the Cisco plugin into a single file.

Use Cases: Quantum with the Cisco plugin.

Implementation Overview: All the config values contained in the various files in
etc/quantum/plugins/cisco will be unified into a single file
etc/quantum/plugins/cisco/cisco_plugin.ini. The plugins needs to be modified to
read from a single file instead of multiple.
Added quantum.openstack.common.cfg support.

Change-Id: I9ef356eccfe330c3733f441b96400d03c3d7d1df
2013-04-02 12:06:38 -04:00
Terry Wilson 4d92a8635a Add lbaas_agent files to setup.py
Fixes bug 1161572
Change-Id: I2399c6621cabe9ef89a0a1805b7c3a6b1d89ed5b
2013-03-28 19:02:44 -05:00
Gary Kotton 14954744e9 Replace "OpenStack LLC" with "OpenStack Foundation"
fixes bug 1154702

Change-Id: I78b1d2c9975a1a4f32b0785cce45f1e471783d8c
2013-03-13 15:06:24 -04:00
Dan Wendlandt a7e37b1af8 First havana commit.
This commit indicates that the master branch has moved on to
representing the "havana" release.  The previous commit will be use to
start the milestone-proposed branch for grizzly.

All future changes for grizzly must first be merged
into master, and then back-ported to a grizzly milestone-proposed branch
(or once grizzly is released, the stable/grizzly branch).

Change-Id: Ic2fadf815fd13d8c3d0afbc6493f8cd3ea6545d2
2013-03-12 22:36:35 -07:00
Dan Wendlandt 140ba666fb remove references to netstack in setup.py
bug 1154388

Change-Id: I1265b93edaa997405909e6e3dc408f365f2043e9
2013-03-12 18:08:35 -07:00
Mark McClain 0f0828715f LBaaS Agent Reference Implementation
implements blueprint lbaas-namespace-agent

This a reference implemention of the Quantum load balancing service
using HAProxy.  The implemention is designed for vendors, developers,
and deployers to become familiar with the API and service workflow.

This change also adds some constraint checks for data integrity.

Change-Id: I10a67da11840477ccf063b98149f4f77248802a1
2013-02-27 21:49:57 -05:00
Gary Kotton 773a0e3ca5 Add midonet to setup.py
Fixes bug 1132889

Change-Id: I3334f515d85ea165b07b3ef576a043243c3c1bc0
2013-02-25 17:10:15 +00:00
Aaron Rosen 5884ed9289 Add check-nvp-config utility
Fixes bug 1130657

Change-Id: I514b92d53132d85144b5ed95450398bcfbf130f8
2013-02-20 14:03:55 -08:00
Jenkins e07be22254 Merge "PLUMgrid quantum plugin" 2013-02-15 06:13:51 +00:00
Shiv Haris c01b879fca Adds Brocade Plugin implementation
blueprint brocade-quantum-plugin

This plugin is meant to orchestrate Brocade VCS switches
running NOS, examples of these are:
   1. VDX 67xx series of switches
   2. VDX 87xx series of switches

Change-Id: Ia8c91ba0e70d3dc7fa79e7f0e09f869542846954
2013-02-14 09:22:38 -08:00
Edgar Magana d783a28878 PLUMgrid quantum plugin
PLUMgrid plugin supports Quantum Core V2 APIs over an infrastructure running
PLUMgrid Network Virtualization Platform.
The plugin will interact directly with the Hypervisor layer to provide all the
networking functionality requested by Quantum APIs.
It will be based on a controller-mode implementation were all resources state
will be controlled and handled by the plugin.

Implements: blueprint plumgrid-quantum-plugin
Change-Id: I6bc8d32b83982e10f661913e85494468cf10e0e2
2013-02-10 07:49:48 -08:00
Monty Taylor 206ff3e0d0 Updated to latest oslo-version code.
In support of tag-based versioning, update to latest oslo-version.
This changes from using versioninfo files to using PKG_INFO.

Change-Id: Ia7d212d531305997153204dfffa44beed4bad0d3
2013-02-04 11:21:16 +11:00
Arvind Somya 6b448a6d1d Cisco plugin cleanup
Removing unused plugins and code from the Cisco plugin framework.

Change-Id: Ib22d173a088ad50b410a51a1d92685259d0af473
Implements: blueprint cisco-plugin-cleanup
2013-01-24 12:58:37 -05:00
Alessandro Pilotti faacad6ff0 Adds support for deploying Quantum on Windows
Some changes in setup.py are required to properly handle dependencies
and data files on WIndows (including Hyper-V server).

A console script called "quantum-hyperv-agent" has also been added to
start the Hyper-V agent

Change-Id: Ifac2d33afabac242d9dab87b0bc1764421efc16f
2013-01-14 14:47:38 +02:00
Mark McClain c3dd8a638e Add migration support to Quantum
implements blueprint quantum-db-upgrades

This changeset provide database migration capabilities to Quantum by
wrapping the Alembic library.

Change-Id: I8ba3a07f5a65e0fda9c0e85ed9c07c5978c53bc7
2013-01-07 17:21:27 -08:00
Gary Kotton e5bc05def8 Add OVS cleanup utility
Fixes bug 1091605

The utility should be called after rebooting an appliance. This
will purge the openvswicth of configured tap devices.

A configuration variable quantum_ports has been added. This is
by default True which indicates that only Quantum ports will be
deleted from the OVS. If this is set as False then all ports on the
bridge will be deleted.

Change-Id: I442f64cf82f95bfa99d7765eb09db1ce2ecf602e
2012-12-24 13:32:11 +00:00
Dan Prince b345f141fb Add restproxy.ini to config_path in setup.py.
Fixes LP Bug #1090450

Change-Id: I4969cafba9f5650fa556d39885b58b2a52a85fe0
2012-12-14 11:11:34 -05:00
Dan Prince 956009bc12 Add metadata_agent.ini to config_path in setup.py.
Change-Id: Ia2795a22165a30684c17e23bdf73f8c6e0c01825
2012-12-03 10:36:08 -05:00
Mark McClain c16e1134df add metadata proxy support for Quantum Networks
blueprint metadata-overlapping-networks

Adds Metadata for guest VMs running on Qunatum networks.  This requires
a companion patchset for Nova to test.

Change-Id: I524c6fdcd6a44e46da08395fd84c1288052a69ea
2012-11-28 19:09:16 -05:00
Monty Taylor 9f43e03b8b Updated openstack-common setup and version code.
Updating setup and version require code changes in the code base. This is done
here to support Id9c116a1e10e5c240913fae7a127110b806eff0f

Change-Id: I60b6dd6d684982e33de8fbf051a3dcaf98cb9b87
2012-11-08 09:21:34 +08:00
justin Lund 91a2b5a5ef Correct Intended Audience
Correcting the Initial Audience from Developers to
System Administrators.

Change-Id: I96fd07d657b9049e035ec33ecddcab8bb09552e3
2012-10-23 15:16:09 -04:00
justin Lund eb30f51c9e Add OpenStack trove classifier for PyPI
Add trove classifier to have the client listed among the
other OpenStack-related projets on PyPI.

Change-Id: Ic07fa4b3717a41fdd74c7447d65037dee7ea7fb7
2012-10-23 14:31:55 -04:00
Somik Behera 0a38f140d3 l3_nat_agent was renamed to l3_agent
and this was missed.

This broke quantum-l3-agent when setup.py was
used to install but  did not affect package installs.

This change fixes the issue.

Change-Id: I820d26fba5d2774262577ed4fbae81dc7362e93e
2012-10-01 22:37:57 -07:00
Jiajun Liu f20ae0c0fe add missing files from setup.py
Fixes bug 1050045.

Currently, setup.py will not copy l3_agent.ini and rootwrap filters
into directory /etc/quantum. Add copy operation in setup.py for those
config files so that those files will be copied into proper directory.

Change-Id: I7052d6c07ffd4d03cafa93187d8072053ee0a832
2012-09-14 09:28:20 +08:00
Jenkins 582804108f Merge "Create utility to clean-up netns." 2012-09-05 00:27:24 +00:00
Nachi Ueno 1cd11b2d90 Implements agent for Quantum Networking testing
This agent client plugs itself into each network.
Then tries to ping each fixed_ips.
Implements blueprint test-agent

Change-Id: I3908e37401272e9e091ceae66e72cfcdd13b7898
2012-09-04 16:00:23 +00:00
Mark McClain bff590fd36 Create utility to clean-up netns.
Fixes bug 1035366

Adds namespace clean up utility called quantum-netns-cleanup which can be used
to remove old namespaces.

The --force option can be used to remove all Quantum namespaces and any
remaining devices.  The force option is should not be run on a live Quantum
systems.  It is intended for cleaning up devstack a after running
unstack.sh (ideally this will be added to unstack.sh in the future).

Example cmd line when cleaning up a devstack install:
quantum-netns-cleanup --config-file /etc/quantum/quantum.conf \
--config-file /etc/quantum/dhcp_agent.ini --force

Change-Id: I6cf153df21e83bff2cde816db12b22102d1ba698
2012-09-04 01:45:03 -04:00
John Dunning 81fd9afe62 Update rootwrap; track changes in nova/cinder
Fix bug 1037815

Summary: Copy/paste the essential parts of the rootwrap
  mechanism from nova/cinder into quantum.  This includes
  the core changes to filter.py and wrapper.py which deal
  with loading filters from files pointed to by
  rootwrap.conf
Detailed changes:
  Transliterate the old rootwrap/*-agent.py files to
  new format, and put the results in etc/quantum/rootwrap.d
  Delete the *-agent.py files.
  Add conf to point to etc/quantum/rootwrap.d
  Add a unit test cribbed from nova to exercise the filter
  mechanism
  Add a unit test to exercise the actual filtered execution
Note that as written, this patch does not set the default
  execute mechanism (in the agent .ini files) to rootwrap,
  leaves it as sudo.  That can be done in a followon
  change, or in distro specific packaging.
Note also that there is still work to do around finishing
  and testing the filter specs themselves.  We've decided
  that that is out of scope for this patch.

Change-Id: I9aba6adc5ba40b6145be5fa38c5ece3b666ae5ca
2012-08-30 16:55:00 -04:00
Mark McClain bdea722c03 Add lease expiration script support for dnsmasq
Fixes bug 1022804

This is phase 2 of the bug fix.  This changeset adds support for dnsmasq
 --dhcp-script to notify Quantum of lease renewals.  Communication between
dnsmasq and the Quantum DHCP agent occurs via UNIX domain socket since dnsmasq
may run in a network namespace.  The DHCP agent is responsible for
relaying the updated lease expiration back the Quantum server.

Change-Id: If42b76bbb9ec7543e681e26b9add8eb1d7054eeb
2012-08-24 12:14:45 -04:00
Dan Wendlandt 8543a7e95e quantum l3 + floating IP support
bp quantum-l3-fw-nat

router & floating IP API calls, plugin db, and agent implemented
and unit tested

Change-Id: I6ee61396d22e2fd7840aa2ff7d1f6f4a2c6e54d4
2012-08-17 08:15:34 -07:00
Ryota MIBU 8d1007e2d3 NEC OpenFlow plugin support.
blueprint quantum-nec-openflow-plugin

Change-Id: Ib6d6f658bbf6d653527fa7820685f9bed1412a18
2012-08-14 19:01:39 +09:00
Nachi Ueno 21b6445ae0 Initial implemention of MetaPlugin
This plugin supports multiple plugins at same time. This plugin is for L3 connectivility
between networks which are realized by different plugins. This plugin add new attribute 'flavor:id'.
flavor:id correspond to specific plugin. flavor-plugin mapping could be configureable by plugin_list config.
This plugin also support extensions. We can map extension to plugin by using extension_map config.

Implements blueprint metaplugin

Change-Id: Ia94d2349fb3ce9f121bbd2505324ae6f0c34247a
2012-08-13 06:19:31 +00:00
Mark McClain 82f43f050e implement dhcp agent for quantum
blueprint: quantum-dhcp

This change adds an agent to manage DHCP for Quantum networks

Change-Id: If3c62965550dc0b0a7982b01d3468e2e07e2b775
2012-07-08 14:50:49 -04:00
Monty Taylor 3efd2a86e4 Use setuptools git plugin for file inclusion.
Fixes bug 1018833. We're looking at this as a possible pan-project
option instead of manual MANIFEST.in inclusion and then looking for
where the tarballs differ.

Change-Id: I25287d5aca2046c6b613b05d54281533bdd6f79f
2012-07-01 05:31:22 -07:00
Gary Kotton 259d81f7ae Remove paste configuration details to a seperate file.
blueprint use-common-cfg

In addition this ensures that the cisco extension units are working
with the common cfg code.

Change-Id: I8c1f81e295e7ed593f0b58885efeeb15339b7733
2012-06-24 01:45:27 -04:00
Gary Kotton 6ef8c377c0 Implements the blueprint use-common-cfg for the quantum service.
More specifically uses global CONF for the quantum.conf file.

Added support for the RYU plugin (similar to ovs and lb,
which use non-global conf for plugins)

patch 27: clean up find_config_file
patch 28: for config file use old paths (plugin unit tests)
          this hopefully will be replaced when we move to common
          config file
patch 30: rebase and merge (utils.py and policy.py)

Change-Id: Ic0bf5bdd44f24a557240f7afe4e070dee448c63c
2012-06-20 02:30:11 -04:00
Monty Taylor 117f178914 Fix up test running to match jenkins expectation.
Change-Id: I215cd92d707f81ed481897704b31188017a5a8b8
2012-06-10 15:20:16 -04:00