diff --git a/.gitignore b/.gitignore index 07b0b050f..45ab0b328 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,9 @@ dist/ doc/build *.DS_Store *.pyc +neutron.egg-info/ +neutron/vcsversion.py +neutron/versioninfo quantum.egg-info/ quantum/vcsversion.py quantum/versioninfo diff --git a/.pylintrc b/.pylintrc index bd677fd6a..021856b92 100644 --- a/.pylintrc +++ b/.pylintrc @@ -23,7 +23,8 @@ argument-rgx=[a-z_][a-z0-9_]{1,30}$ # and be lowecased with underscores method-rgx=([a-z_][a-z0-9_]{2,50}|setUp|tearDown)$ -# Module names matching quantum-* are ok (files in bin/) +# Module names matching neutron-* are ok (files in bin/) +module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|(neutron-[a-z0-9_-]+))$ module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|(quantum-[a-z0-9_-]+))$ # Don't require docstrings on tests. diff --git a/.testr.conf b/.testr.conf index 54f82b362..719144046 100644 --- a/.testr.conf +++ b/.testr.conf @@ -1,4 +1,4 @@ [DEFAULT] -test_command=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 ${PYTHON:-python} -m subunit.run discover -t ./ quantum/tests/unit $LISTOPT $IDOPTION +test_command=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 ${PYTHON:-python} -m subunit.run discover -t ./ neutron/tests/unit $LISTOPT $IDOPTION test_id_option=--load-list $IDFILE test_list_option=--list diff --git a/HACKING.rst b/HACKING.rst index d3330c023..98c8a1263 100644 --- a/HACKING.rst +++ b/HACKING.rst @@ -1,4 +1,4 @@ -Quantum Style Commandments +Neutron Style Commandments ========================== - Step 1: Read http://www.python.org/dev/peps/pep-0008/ @@ -35,13 +35,13 @@ Example:: The following imports, - from quantum.api import networks - from quantum import wsgi + from neutron.api import networks + from neutron import wsgi are considered equivalent for ordering purposes to - import quantum.api.networks - import quantum.wsgi + import neutron.api.networks + import neutron.wsgi - Organize your imports according to the following template @@ -52,7 +52,7 @@ Example:: \n {{third-party lib imports in human alphabetical order}} \n - {{quantum imports in human alphabetical order}} + {{neutron imports in human alphabetical order}} \n \n {{begin your code}} @@ -71,13 +71,13 @@ Example:: import testtools import webob.exc - import quantum.api.networks - from quantum.api import ports - from quantum.db import models - from quantum.extensions import multiport - from quantum.openstack.common import log as logging - import quantum.manager - from quantum import service + import neutron.api.networks + from neutron.api import ports + from neutron.db import models + from neutron.extensions import multiport + from neutron.openstack.common import log as logging + import neutron.manager + from neutron import service Docstrings @@ -202,8 +202,8 @@ submitted bug fix does have a unit test, be sure to add a new one that fails without the patch and passes with the patch. All unittest classes must ultimately inherit from testtools.TestCase. In the -Quantum test suite, this should be done by inheriting from -quantum.tests.base.BaseTestCase. +Neutron test suite, this should be done by inheriting from +neutron.tests.base.BaseTestCase. All setUp and tearDown methods must upcall using the super() method. tearDown methods should be avoided and addCleanup calls should be preferred. diff --git a/MANIFEST.in b/MANIFEST.in index a4da45285..4e527c7fa 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,11 +2,11 @@ include AUTHORS include README.rst include ChangeLog include LICENSE -include quantum/db/migration/README -include quantum/db/migration/alembic.ini -include quantum/db/migration/alembic_migrations/script.py.mako -include quantum/db/migration/alembic_migrations/versions/README -recursive-include quantum/locale * +include neutron/db/migration/README +include neutron/db/migration/alembic.ini +include neutron/db/migration/alembic_migrations/script.py.mako +include neutron/db/migration/alembic_migrations/versions/README +recursive-include neutron/locale * exclude .gitignore exclude .gitreview diff --git a/README.rst b/README.rst index ebeae4166..57a5930b0 100644 --- a/README.rst +++ b/README.rst @@ -1,25 +1,25 @@ # -- Welcome! You have come across a cloud computing network fabric controller. It has - identified itself as "Quantum." It aims to tame your (cloud) networking! + identified itself as "Neutron." It aims to tame your (cloud) networking! # -- External Resources: - The homepage for Quantum is: http://launchpad.net/quantum . Use this + The homepage for Neutron is: http://launchpad.net/neutron . Use this site for asking for help, and filing bugs. Code is available on github at - . + . - The latest and most in-depth documentation on how to use Quantum is + The latest and most in-depth documentation on how to use Neutron is available at: . This includes: - Quantum Administrator Guide + Neutron Administrator Guide http://docs.openstack.org/trunk/openstack-network/admin/content/ - Quantum API Reference: + Neutron API Reference: http://docs.openstack.org/api/openstack-network/2.0/content/ The start of some developer documentation is available at: - http://wiki.openstack.org/QuantumDevelopment + http://wiki.openstack.org/NeutronDevelopment - For help using or hacking on Quantum, you can send mail to + For help using or hacking on Neutron, you can send mail to . diff --git a/neutron/__init__.py b/neutron/__init__.py new file mode 100644 index 000000000..b2c81bde7 --- /dev/null +++ b/neutron/__init__.py @@ -0,0 +1,21 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright 2011 OpenStack Foundation +# All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +import gettext + + +gettext.install('neutron', unicode=1) diff --git a/neutron/db/__init__.py b/neutron/db/__init__.py new file mode 100644 index 000000000..620282b58 --- /dev/null +++ b/neutron/db/__init__.py @@ -0,0 +1,17 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 +# Copyright 2011 Nicira Networks, Inc. +# All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# @author: Somik Behera, Nicira Networks, Inc. +# @author: Brad Hall, Nicira Networks, Inc. diff --git a/neutron/services/__init__.py b/neutron/services/__init__.py new file mode 100644 index 000000000..7e503debd --- /dev/null +++ b/neutron/services/__init__.py @@ -0,0 +1,16 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright 2012 OpenStack Foundation. +# All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. diff --git a/neutron/tests/unit/__init__.py b/neutron/tests/unit/__init__.py new file mode 100644 index 000000000..a05454030 --- /dev/null +++ b/neutron/tests/unit/__init__.py @@ -0,0 +1,35 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright 2011 OpenStack Foundation. +# All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +# See http://code.google.com/p/python-nose/issues/detail?id=373 +# The code below enables nosetests to work with i18n _() blocks + +import __builtin__ +import os + +setattr(__builtin__, '_', lambda x: x) + +from oslo.config import cfg + + +reldir = os.path.join(os.path.dirname(__file__), '..', '..', '..') +absdir = os.path.abspath(reldir) +cfg.CONF.state_path = absdir +# An empty lock path forces lockutils.synchronized to use a temporary +# location for lock files that will be cleaned up automatically. +cfg.CONF.lock_path = '' +cfg.CONF.use_stderr = False diff --git a/neutron/tests/unit/db/__init__.py b/neutron/tests/unit/db/__init__.py new file mode 100644 index 000000000..cae279d0a --- /dev/null +++ b/neutron/tests/unit/db/__init__.py @@ -0,0 +1,15 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright 2013 OpenStack Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. diff --git a/neutron/tests/unit/services/__init__.py b/neutron/tests/unit/services/__init__.py new file mode 100644 index 000000000..ce18bf6d6 --- /dev/null +++ b/neutron/tests/unit/services/__init__.py @@ -0,0 +1,17 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 +# +# Copyright 2013 New Dream Network, LLC (DreamHost) +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# +# @author: Mark McClain, DreamHost diff --git a/openstack-common.conf b/openstack-common.conf index 648a3cb0b..ab9ae0d09 100644 --- a/openstack-common.conf +++ b/openstack-common.conf @@ -30,4 +30,4 @@ module=timeutils module=uuidutils # The base module to hold the copy of openstack.common -base=quantum +base=neutron diff --git a/requirements.txt b/requirements.txt index 32327f881..0d91e31fa 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,7 +12,7 @@ httplib2 iso8601>=0.1.4 kombu>=1.0.4 netaddr -python-quantumclient>=2.2.0,<3.0.0 +python-neutronclient>=2.2.3,<3.0.0 pyudev sqlalchemy>=0.7.8,<=0.7.99 WebOb>=1.2 diff --git a/setup.cfg b/setup.cfg index 7b68c602a..22acb1afe 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [metadata] -name = quantum +name = neutron version = 2013.2 summary = OpenStack Networking description-file = @@ -20,73 +20,93 @@ classifier = [files] packages = + neutron quantum data_files = - etc/quantum = + etc/neutron = etc/api-paste.ini etc/dhcp_agent.ini etc/l3_agent.ini etc/lbaas_agent.ini etc/metadata_agent.ini etc/policy.json - etc/quantum.conf + etc/neutron.conf etc/rootwrap.conf - etc/quantum/rootwrap.d = - etc/quantum/rootwrap.d/dhcp.filters - etc/quantum/rootwrap.d/iptables-firewall.filters - etc/quantum/rootwrap.d/l3.filters - etc/quantum/rootwrap.d/lbaas-haproxy.filters - etc/quantum/rootwrap.d/linuxbridge-plugin.filters - etc/quantum/rootwrap.d/nec-plugin.filters - etc/quantum/rootwrap.d/openvswitch-plugin.filters - etc/quantum/rootwrap.d/ryu-plugin.filters - etc/init.d = etc/init.d/quantum-server - etc/quantum/plugins/bigswitch = etc/quantum/plugins/bigswitch/restproxy.ini - etc/quantum/plugins/brocade = etc/quantum/plugins/brocade/brocade.ini - etc/quantum/plugins/cisco = etc/quantum/plugins/cisco/cisco_plugins.ini - etc/quantum/plugins/hyperv = etc/quantum/plugins/hyperv/hyperv_quantum_plugin.ini - etc/quantum/plugins/linuxbridge = etc/quantum/plugins/linuxbridge/linuxbridge_conf.ini - etc/quantum/plugins/metaplugin = etc/quantum/plugins/metaplugin/metaplugin.ini - etc/quantum/plugins/midonet = etc/quantum/plugins/midonet/midonet.ini - etc/quantum/plugins/ml2 = etc/quantum/plugins/ml2/ml2_conf.ini - etc/quantum/plugins/mlnx = etc/quantum/plugins/mlnx/mlnx_conf.ini - etc/quantum/plugins/nec = etc/quantum/plugins/nec/nec.ini - etc/quantum/plugins/nicira = etc/quantum/plugins/nicira/nvp.ini - etc/quantum/plugins/openvswitch = etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini - etc/quantum/plugins/plumgrid = etc/quantum/plugins/plumgrid/plumgrid.ini - etc/quantum/plugins/ryu = etc/quantum/plugins/ryu/ryu.ini + etc/neutron/rootwrap.d = + etc/neutron/rootwrap.d/dhcp.filters + etc/neutron/rootwrap.d/iptables-firewall.filters + etc/neutron/rootwrap.d/l3.filters + etc/neutron/rootwrap.d/lbaas-haproxy.filters + etc/neutron/rootwrap.d/linuxbridge-plugin.filters + etc/neutron/rootwrap.d/nec-plugin.filters + etc/neutron/rootwrap.d/openvswitch-plugin.filters + etc/neutron/rootwrap.d/ryu-plugin.filters + etc/init.d = etc/init.d/neutron-server + etc/neutron/plugins/bigswitch = etc/neutron/plugins/bigswitch/restproxy.ini + etc/neutron/plugins/brocade = etc/neutron/plugins/brocade/brocade.ini + etc/neutron/plugins/cisco = etc/neutron/plugins/cisco/cisco_plugins.ini + etc/neutron/plugins/hyperv = etc/neutron/plugins/hyperv/hyperv_neutron_plugin.ini + etc/neutron/plugins/linuxbridge = etc/neutron/plugins/linuxbridge/linuxbridge_conf.ini + etc/neutron/plugins/metaplugin = etc/neutron/plugins/metaplugin/metaplugin.ini + etc/neutron/plugins/midonet = etc/neutron/plugins/midonet/midonet.ini + etc/neutron/plugins/ml2 = etc/neutron/plugins/ml2/ml2_conf.ini + etc/neutron/plugins/mlnx = etc/neutron/plugins/mlnx/mlnx_conf.ini + etc/neutron/plugins/nec = etc/neutron/plugins/nec/nec.ini + etc/neutron/plugins/nicira = etc/neutron/plugins/nicira/nvp.ini + etc/neutron/plugins/openvswitch = etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini + etc/neutron/plugins/plumgrid = etc/neutron/plugins/plumgrid/plumgrid.ini + etc/neutron/plugins/ryu = etc/neutron/plugins/ryu/ryu.ini scripts = bin/quantum-rootwrap + bin/neutron-rootwrap [global] setup-hooks = pbr.hooks.setup_hook - quantum.hooks.setup_hook + neutron.hooks.setup_hook [entry_points] console_scripts = - quantum-check-nvp-config = quantum.plugins.nicira.check_nvp_config:main - quantum-db-manage = quantum.db.migration.cli:main - quantum-debug = quantum.debug.shell:main - quantum-dhcp-agent = quantum.agent.dhcp_agent:main - quantum-dhcp-agent-dnsmasq-lease-update = quantum.agent.linux.dhcp:Dnsmasq.lease_update - quantum-hyperv-agent = quantum.plugins.hyperv.agent.hyperv_quantum_agent:main - quantum-l3-agent = quantum.agent.l3_agent:main - quantum-lbaas-agent = quantum.services.loadbalancer.drivers.haproxy.agent:main - quantum-linuxbridge-agent = quantum.plugins.linuxbridge.agent.linuxbridge_quantum_agent:main - quantum-metadata-agent = quantum.agent.metadata.agent:main - quantum-mlnx-agent = quantum.plugins.mlnx.agent.eswitch_quantum_agent:main - quantum-nec-agent = quantum.plugins.nec.agent.nec_quantum_agent:main - quantum-netns-cleanup = quantum.agent.netns_cleanup_util:main - quantum-ns-metadata-proxy = quantum.agent.metadata.namespace_proxy:main - quantum-openvswitch-agent = quantum.plugins.openvswitch.agent.ovs_quantum_agent:main - quantum-ovs-cleanup = quantum.agent.ovs_cleanup_util:main - quantum-ryu-agent = quantum.plugins.ryu.agent.ryu_quantum_agent:main - quantum-server = quantum.server:main -quantum.ml2.type_drivers = - flat = quantum.plugins.ml2.drivers.type_flat:FlatTypeDriver - local = quantum.plugins.ml2.drivers.type_local:LocalTypeDriver - vlan = quantum.plugins.ml2.drivers.type_vlan:VlanTypeDriver + neutron-check-nvp-config = neutron.plugins.nicira.check_nvp_config:main + neutron-db-manage = neutron.db.migration.cli:main + neutron-debug = neutron.debug.shell:main + neutron-dhcp-agent = neutron.agent.dhcp_agent:main + neutron-dhcp-agent-dnsmasq-lease-update = neutron.agent.linux.dhcp:Dnsmasq.lease_update + neutron-hyperv-agent = neutron.plugins.hyperv.agent.hyperv_neutron_agent:main + neutron-l3-agent = neutron.agent.l3_agent:main + neutron-lbaas-agent = neutron.services.loadbalancer.drivers.haproxy.agent:main + neutron-linuxbridge-agent = neutron.plugins.linuxbridge.agent.linuxbridge_neutron_agent:main + neutron-metadata-agent = neutron.agent.metadata.agent:main + neutron-mlnx-agent = neutron.plugins.mlnx.agent.eswitch_neutron_agent:main + neutron-nec-agent = neutron.plugins.nec.agent.nec_neutron_agent:main + neutron-netns-cleanup = neutron.agent.netns_cleanup_util:main + neutron-ns-metadata-proxy = neutron.agent.metadata.namespace_proxy:main + neutron-openvswitch-agent = neutron.plugins.openvswitch.agent.ovs_neutron_agent:main + neutron-ovs-cleanup = neutron.agent.ovs_cleanup_util:main + neutron-ryu-agent = neutron.plugins.ryu.agent.ryu_neutron_agent:main + neutron-server = neutron.server:main + quantum-check-nvp-config = neutron.plugins.nicira.check_nvp_config:main + quantum-db-manage = neutron.db.migration.cli:main + quantum-debug = neutron.debug.shell:main + quantum-dhcp-agent = neutron.agent.dhcp_agent:main + quantum-dhcp-agent-dnsmasq-lease-update = neutron.agent.linux.dhcp:Dnsmasq.lease_update + quantum-hyperv-agent = neutron.plugins.hyperv.agent.hyperv_neutron_agent:main + quantum-l3-agent = neutron.agent.l3_agent:main + quantum-lbaas-agent = neutron.services.loadbalancer.drivers.haproxy.agent:main + quantum-linuxbridge-agent = neutron.plugins.linuxbridge.agent.linuxbridge_neutron_agent:main + quantum-metadata-agent = neutron.agent.metadata.agent:main + quantum-mlnx-agent = neutron.plugins.mlnx.agent.eswitch_neutron_agent:main + quantum-nec-agent = neutron.plugins.nec.agent.nec_neutron_agent:main + quantum-netns-cleanup = neutron.agent.netns_cleanup_util:main + quantum-ns-metadata-proxy = neutron.agent.metadata.namespace_proxy:main + quantum-openvswitch-agent = neutron.plugins.openvswitch.agent.ovs_neutron_agent:main + quantum-ovs-cleanup = neutron.agent.ovs_cleanup_util:main + quantum-ryu-agent = neutron.plugins.ryu.agent.ryu_neutron_agent:main + quantum-server = neutron.server:main +neutron.ml2.type_drivers = + flat = neutron.plugins.ml2.drivers.type_flat:FlatTypeDriver + local = neutron.plugins.ml2.drivers.type_local:LocalTypeDriver + vlan = neutron.plugins.ml2.drivers.type_vlan:VlanTypeDriver [build_sphinx] all_files = 1 @@ -96,13 +116,13 @@ source-dir = doc/source [extract_messages] keywords = _ gettext ngettext l_ lazy_gettext mapping_file = babel.cfg -output_file = quantum/locale/quantum.pot +output_file = neutron/locale/neutron.pot [compile_catalog] -directory = quantum/locale -domain = quantum +directory = neutron/locale +domain = neutron [update_catalog] -domain = quantum -output_dir = quantum/locale -input_file = quantum/locale/quantum.pot +domain = neutron +output_dir = neutron/locale +input_file = neutron/locale/neutron.pot diff --git a/tools/clean.sh b/tools/clean.sh index c1deb844c..27bc219f9 100755 --- a/tools/clean.sh +++ b/tools/clean.sh @@ -2,4 +2,4 @@ rm -rf ./*.deb ./*.tar.gz ./*.dsc ./*.changes rm -rf */*.deb rm -rf ./plugins/**/build/ ./plugins/**/dist -rm -rf ./plugins/**/lib/quantum_*_plugin.egg-info ./plugins/quantum-* +rm -rf ./plugins/**/lib/neutron_*_plugin.egg-info ./plugins/neutron-* diff --git a/tools/i18n_cfg.py b/tools/i18n_cfg.py index 9cd87acc3..abc1bfb14 100644 --- a/tools/i18n_cfg.py +++ b/tools/i18n_cfg.py @@ -92,6 +92,6 @@ msg_format_checkers = [ ] -file_black_list = ["./quantum/tests/unit", - "./quantum/openstack", +file_black_list = ["./neutron/tests/unit", + "./neutron/openstack", "./quantum/plugins/bigswitch/tests"] diff --git a/tools/install_venv.py b/tools/install_venv.py index eda0ced90..a51c29512 100644 --- a/tools/install_venv.py +++ b/tools/install_venv.py @@ -21,7 +21,7 @@ # under the License. """ -Installation script for Quantum's development virtualenv +Installation script for Neutron's development virtualenv """ import os @@ -33,12 +33,12 @@ import install_venv_common as install_venv def print_help(): help = """ - Quantum development environment setup is complete. + Neutron development environment setup is complete. - Quantum development uses virtualenv to track and manage Python dependencies + Neutron development uses virtualenv to track and manage Python dependencies while in development and testing. - To activate the Quantum virtualenv for the extent of your current shell + To activate the Neutron virtualenv for the extent of your current shell session you can run: $ source .venv/bin/activate @@ -59,7 +59,7 @@ def main(argv): pip_requires = os.path.join(root, 'requirements.txt') test_requires = os.path.join(root, 'test-requirements.txt') py_version = "python%s.%s" % (sys.version_info[0], sys.version_info[1]) - project = 'Quantum' + project = 'Neutron' install = install_venv.InstallVenv(root, venv, pip_requires, test_requires, py_version, project) options = install.parse_args(argv) diff --git a/tools/patch_tox_venv.py b/tools/patch_tox_venv.py index 16e4accdd..a3cb46aaf 100644 --- a/tools/patch_tox_venv.py +++ b/tools/patch_tox_venv.py @@ -40,7 +40,7 @@ def main(argv): os.path.join(root, 'tools', 'test-requires'), ]) py_version = "python%s.%s" % (sys.version_info[0], sys.version_info[1]) - project = 'quantum' + project = 'neutron' install = install_venv.InstallVenv(root, venv, pip_requires, test_requires, py_version, project) #NOTE(dprince): For Tox we only run post_process (which patches files, etc) diff --git a/tox.ini b/tox.ini index d111aeeb8..c87903eb8 100644 --- a/tox.ini +++ b/tox.ini @@ -19,7 +19,7 @@ commands = flake8 [testenv:i18n] -commands = python ./tools/check_i18n.py ./quantum ./tools/i18n_cfg.py +commands = python ./tools/check_i18n.py ./neutron ./tools/i18n_cfg.py [testenv:cover] commands =