From bc1772078851ea262f27e8f99e7852cd7ee4070e Mon Sep 17 00:00:00 2001 From: Igor Yozhikov Date: Thu, 26 Jan 2017 15:52:20 +0300 Subject: [PATCH] Initial commit for nova v15.0.0 Change-Id: Iccb42c428e62b7faa70e90016af672fc4d3fb7b5 --- openstack/nova/nova-dist.conf | 25 + openstack/nova/nova-ifc-template | 15 + openstack/nova/nova-polkit.pkla | 6 + openstack/nova/nova-polkit.rules | 8 + openstack/nova/nova-sudoers | 3 + openstack/nova/nova.logrotate | 11 + openstack/nova/nova.spec.j2 | 856 ++++++++++++++++++ openstack/nova/openstack-nova-api.service | 16 + openstack/nova/openstack-nova-cells.service | 14 + openstack/nova/openstack-nova-cert.service | 14 + openstack/nova/openstack-nova-compute.service | 15 + .../nova/openstack-nova-conductor.service | 14 + openstack/nova/openstack-nova-console.service | 14 + .../nova/openstack-nova-consoleauth.service | 14 + .../nova/openstack-nova-metadata-api.service | 14 + openstack/nova/openstack-nova-network.service | 17 + .../nova/openstack-nova-novncproxy.service | 13 + .../openstack-nova-os-compute-api.service | 14 + .../nova/openstack-nova-scheduler.service | 14 + .../nova/openstack-nova-serialproxy.service | 13 + .../openstack-nova-spicehtml5proxy.service | 13 + .../nova/openstack-nova-xvpvncproxy.service | 13 + openstack/nova/unittests.blacklist | 654 +++++++++++++ openstack/nova/wsgi-nova-placement-api.conf | 32 + 24 files changed, 1822 insertions(+) create mode 100644 openstack/nova/nova-dist.conf create mode 100644 openstack/nova/nova-ifc-template create mode 100644 openstack/nova/nova-polkit.pkla create mode 100644 openstack/nova/nova-polkit.rules create mode 100644 openstack/nova/nova-sudoers create mode 100644 openstack/nova/nova.logrotate create mode 100644 openstack/nova/nova.spec.j2 create mode 100644 openstack/nova/openstack-nova-api.service create mode 100644 openstack/nova/openstack-nova-cells.service create mode 100644 openstack/nova/openstack-nova-cert.service create mode 100644 openstack/nova/openstack-nova-compute.service create mode 100644 openstack/nova/openstack-nova-conductor.service create mode 100644 openstack/nova/openstack-nova-console.service create mode 100644 openstack/nova/openstack-nova-consoleauth.service create mode 100644 openstack/nova/openstack-nova-metadata-api.service create mode 100644 openstack/nova/openstack-nova-network.service create mode 100644 openstack/nova/openstack-nova-novncproxy.service create mode 100644 openstack/nova/openstack-nova-os-compute-api.service create mode 100644 openstack/nova/openstack-nova-scheduler.service create mode 100644 openstack/nova/openstack-nova-serialproxy.service create mode 100644 openstack/nova/openstack-nova-spicehtml5proxy.service create mode 100644 openstack/nova/openstack-nova-xvpvncproxy.service create mode 100644 openstack/nova/unittests.blacklist create mode 100644 openstack/nova/wsgi-nova-placement-api.conf diff --git a/openstack/nova/nova-dist.conf b/openstack/nova/nova-dist.conf new file mode 100644 index 000000000..8bbc47ac1 --- /dev/null +++ b/openstack/nova/nova-dist.conf @@ -0,0 +1,25 @@ +[DEFAULT] +log_dir = /var/log/nova +state_path = /var/lib/nova +lock_path = /var/lib/nova/tmp +dhcpbridge = /usr/bin/nova-dhcpbridge +dhcpbridge_flagfile = /usr/share/nova/nova-dist.conf +dhcpbridge_flagfile = /etc/nova/nova.conf +force_dhcp_release = True +injected_network_template = /usr/share/nova/interfaces.template +libvirt_nonblocking = True +libvirt_inject_partition = -1 +network_manager = nova.network.manager.FlatDHCPManager +compute_driver = libvirt.LibvirtDriver +firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver +rootwrap_config = /etc/nova/rootwrap.conf +use_stderr = False + +[database] +connection = mysql://nova:nova@localhost/nova +max_retries = -1 + +[keystone_authtoken] +auth_host = 127.0.0.1 +auth_port = 35357 +auth_protocol = http diff --git a/openstack/nova/nova-ifc-template b/openstack/nova/nova-ifc-template new file mode 100644 index 000000000..7d1d28b10 --- /dev/null +++ b/openstack/nova/nova-ifc-template @@ -0,0 +1,15 @@ +DEVICE="{{ name }}" +NM_CONTROLLED="no" +ONBOOT=yes +TYPE=Ethernet +BOOTPROTO=static +IPADDR={{ address }} +NETMASK={{ netmask }} +BROADCAST={{ broadcast }} +GATEWAY={{ gateway }} +DNS1={{ dns }} + +#if $use_ipv6 +IPV6INIT=yes +IPV6ADDR={{ address_v6 }} +#end if diff --git a/openstack/nova/nova-polkit.pkla b/openstack/nova/nova-polkit.pkla new file mode 100644 index 000000000..ae1467d6e --- /dev/null +++ b/openstack/nova/nova-polkit.pkla @@ -0,0 +1,6 @@ +[Allow nova libvirt management permissions] +Identity=unix-user:nova +Action=org.libvirt.unix.manage +ResultAny=yes +ResultInactive=yes +ResultActive=yes diff --git a/openstack/nova/nova-polkit.rules b/openstack/nova/nova-polkit.rules new file mode 100644 index 000000000..0146b81a1 --- /dev/null +++ b/openstack/nova/nova-polkit.rules @@ -0,0 +1,8 @@ +// openstack-nova libvirt management permissions + +polkit.addRule(function(action, subject) { + if (action.id == "org.libvirt.unix.manage" && + subject.user == "nova") { + return polkit.Result.YES; + } +}); diff --git a/openstack/nova/nova-sudoers b/openstack/nova/nova-sudoers new file mode 100644 index 000000000..8f9c40ede --- /dev/null +++ b/openstack/nova/nova-sudoers @@ -0,0 +1,3 @@ +Defaults:nova !requiretty + +nova ALL = (root) NOPASSWD: /usr/bin/nova-rootwrap /etc/nova/rootwrap.conf * diff --git a/openstack/nova/nova.logrotate b/openstack/nova/nova.logrotate new file mode 100644 index 000000000..7460b95ff --- /dev/null +++ b/openstack/nova/nova.logrotate @@ -0,0 +1,11 @@ +/var/log/nova/*.log { + weekly + dateext + rotate 10 + size 1M + missingok + compress + notifempty + su nova nova + minsize 100k +} diff --git a/openstack/nova/nova.spec.j2 b/openstack/nova/nova.spec.j2 new file mode 100644 index 000000000..cd4a4ab98 --- /dev/null +++ b/openstack/nova/nova.spec.j2 @@ -0,0 +1,856 @@ +%global with_doc 1 +# fix me IgorYozhikov +%global with_tests 0 +%global sname nova +{% set upstream_version = '15.0.0' %} +{% set rpm_release = '1' %} +%if 0%{?rhel} || 0%{?fedora} +%global rdo 1 +%endif +Name: {{ py2name('nova') }} +Epoch: {{ epoch('nova') }} +Version: {{ py2rpmversion() }} +Release: {{ py2rpmrelease() }} +Summary: OpenStack Compute (nova) +License: {{ license('Apache-2.0') }} +URL: https://launchpad.net/nova +Source0: http://tarballs.openstack.org/%{sname}/%{sname}-{{upstream_version}}.tar.gz +Source1: nova-dist.conf +Source3: nova.logrotate +Source4: nova-polkit.pkla +Source5: nova-ifc-template +Source6: nova-polkit.rules +Source7: nova-sudoers +Source8: unittests.blacklist + +Source10: openstack-nova-api.service +Source11: openstack-nova-cert.service +Source12: openstack-nova-compute.service +Source13: openstack-nova-network.service +Source14: openstack-nova-scheduler.service +Source15: openstack-nova-xvpvncproxy.service +Source16: openstack-nova-console.service +Source17: openstack-nova-consoleauth.service +Source18: openstack-nova-metadata-api.service +Source19: openstack-nova-conductor.service +Source20: openstack-nova-cells.service +Source21: openstack-nova-spicehtml5proxy.service +Source22: openstack-nova-novncproxy.service +Source23: openstack-nova-serialproxy.service +Source24: openstack-nova-os-compute-api.service +Source25: wsgi-nova-placement-api.conf + +BuildRequires: fdupes +BuildRequires: intltool +BuildRequires: openstack-macros +BuildRequires: {{ py2pkg('PyMySQL') }} +BuildRequires: polkit +BuildRequires: {{ py2pkg('ddt') }} +BuildRequires: {{ py2pkg('devel') }} +BuildRequires: {{ py2pkg('fixtures') }} +BuildRequires: {{ py2pkg('mock') }} +BuildRequires: {{ py2pkg('mox3') }} +BuildRequires: {{ py2pkg('os-api-ref') }} +BuildRequires: {{ py2pkg('oslotest') }} +BuildRequires: {{ py2pkg('osprofiler') }} +BuildRequires: {{ py2pkg('oslo.cache') }} +BuildRequires: {{ py2pkg('oslo.concurrency') }} +BuildRequires: {{ py2pkg('oslo.config') }} +BuildRequires: {{ py2pkg('oslo.context') }} +BuildRequires: {{ py2pkg('oslo.db') }} +BuildRequires: {{ py2pkg('oslo.i18n') }} +BuildRequires: {{ py2pkg('oslo.log') }} +BuildRequires: {{ py2pkg('oslo.messaging') }} +BuildRequires: {{ py2pkg('oslo.middleware') }} +BuildRequires: {{ py2pkg('oslo.policy') }} +BuildRequires: {{ py2pkg('oslo.privsep') }} +BuildRequires: {{ py2pkg('oslo.reports') }} +BuildRequires: {{ py2pkg('oslo.rootwrap') }} +BuildRequires: {{ py2pkg('oslo.serialization') }} +BuildRequires: {{ py2pkg('oslo.service') }} +BuildRequires: {{ py2pkg('oslo.utils') }} +BuildRequires: {{ py2pkg('oslo.versionedobjects') }} +BuildRequires: {{ py2pkg('oslo.vmware') }} +BuildRequires: {{ py2pkg('os-brick') }} +BuildRequires: {{ py2pkg('os-testr') }} +BuildRequires: {{ py2pkg('os-vif') }} +BuildRequires: {{ py2pkg('os-win') }} +BuildRequires: {{ py2pkg('psycopg2') }} +BuildRequires: {{ py2pkg('python-barbicanclient') }} +BuildRequires: {{ py2pkg('python-cinderclient') }} +BuildRequires: {{ py2pkg('python-glanceclient') }} +BuildRequires: {{ py2pkg('python-ironicclient') }} +BuildRequires: {{ py2pkg('python-keystoneclient') }} +BuildRequires: {{ py2pkg('microversion_parse') }} +BuildRequires: {{ py2pkg('python-neutronclient') }} +BuildRequires: {{ py2pkg('python-novaclient') }} +BuildRequires: {{ py2pkg('python-subunit') }} +BuildRequires: {{ py2pkg('requests-mock') }} +BuildRequires: {{ py2pkg('tempest-lib') }} +BuildRequires: {{ py2pkg('testrepository') }} +BuildRequires: {{ py2pkg('testresources') }} +BuildRequires: {{ py2pkg('testscenarios') }} +BuildRequires: {{ py2pkg('testtools') }} +BuildRequires: sudo +Requires: logrotate +Requires: python-%{sname} = %{epoch}:%{version}-%{release} +BuildArch: noarch +%if 0%{?suse_version} +BuildRequires: systemd-rpm-macros +%{?systemd_requires} +Requires(pre): pwdutils +%else +BuildRequires: systemd +Requires(pre): shadow-utils +Requires(post): systemd +Requires(preun): systemd +Requires(postun): systemd +%endif + +%description +OpenStack Compute (codename Nova) is open source software designed to +provision and manage large networks of virtual machines, creating a +redundant and scalable cloud computing platform. It gives you the +software, control panels, and APIs required to orchestrate a cloud, +including running instances, managing networks, and controlling access +through users and projects. OpenStack Compute strives to be both +hardware and hypervisor agnostic, currently supporting a variety of +standard hardware configurations and seven major hypervisors. + +%package -n python-%{sname} +Summary: Nova Python library +Group: Applications/System +# Require openssh for ssh-keygen +Requires: openssh +Requires: openssl +Requires: {{ py2pkg('Babel') }} +Requires: {{ py2pkg('Jinja2') }} +Requires: {{ py2pkg('Paste') }} +Requires: {{ py2pkg('PasteDeploy') }} +Requires: {{ py2pkg('PrettyTable') }} +Requires: {{ py2pkg('Routes') }} +Requires: {{ py2pkg('SQLAlchemy') }} +Requires: {{ py2pkg('WebOb') }} +Requires: {{ py2pkg('castellan') }} +Requires: {{ py2pkg('cryptography') }} +Requires: {{ py2pkg('decorator') }} +Requires: {{ py2pkg('eventlet') }} +Requires: {{ py2pkg('greenlet') }} +Requires: {{ py2pkg('iso8601') }} +Requires: {{ py2pkg('jsonschema') }} +Requires: {{ py2pkg('keystoneauth1') }} +Requires: {{ py2pkg('keystonemiddleware') }} +Requires: {{ py2pkg('lxml') }} +Requires: {{ py2pkg('microversion-parse') }} +Requires: {{ py2pkg('netaddr') }} +Requires: {{ py2pkg('netifaces') }} +Requires: {{ py2pkg('oslo.cache') }} +Requires: {{ py2pkg('oslo.concurrency') }} +Requires: {{ py2pkg('oslo.config') }} +Requires: {{ py2pkg('oslo.context') }} +Requires: {{ py2pkg('oslo.db') }} +Requires: {{ py2pkg('oslo.i18n') }} +Requires: {{ py2pkg('oslo.log') }} +Requires: {{ py2pkg('oslo.messaging') }} +Requires: {{ py2pkg('oslo.middleware') }} +Requires: {{ py2pkg('oslo.policy') }} +Requires: {{ py2pkg('oslo.privsep') }} +Requires: {{ py2pkg('oslo.reports') }} +Requires: {{ py2pkg('oslo.rootwrap') }} +Requires: {{ py2pkg('oslo.serialization') }} +Requires: {{ py2pkg('oslo.service') }} +Requires: {{ py2pkg('oslo.utils') }} +Requires: {{ py2pkg('oslo.versionedobjects') }} +Requires: {{ py2pkg('os-brick') }} +Requires: {{ py2pkg('os-vif') }} +Requires: {{ py2pkg('os-win') }} +Requires: {{ py2pkg('paramiko') }} +Requires: {{ py2pkg('pbr') }} +Requires: {{ py2pkg('psutil') }} +Requires: {{ py2pkg('python-cinderclient') }} +Requires: {{ py2pkg('python-glanceclient') }} +Requires: {{ py2pkg('python-neutronclient') }} +Requires: {{ py2pkg('requests') }} +Requires: {{ py2pkg('rfc3986') }} +Requires: {{ py2pkg('setuptools') }} +Requires: {{ py2pkg('six') }} +Requires: {{ py2pkg('sqlalchemy-migrate') }} +Requires: {{ py2pkg('stevedore') }} +Requires: {{ py2pkg('websockify') }} +Requires: sudo + +%description -n python-%{sname} +OpenStack Compute (codename Nova) is open source software designed to +provision and manage large networks of virtual machines, creating a +redundant and scalable cloud computing platform. + +This package contains the nova Python library. + +%package api +Summary: OpenStack Nova - API service +Group: Applications/System +Requires: %{name} = %{epoch}:%{version}-%{release} + +%description api +OpenStack Compute (codename Nova) is open source software designed to +provision and manage large networks of virtual machines, creating a +redundant and scalable cloud computing platform. It gives you the +software, control panels, and APIs required to orchestrate a cloud, +including running instances, managing networks, and controlling access +through users and projects. OpenStack Compute strives to be both +hardware and hypervisor agnostic, currently supporting a variety of +standard hardware configurations and seven major hypervisors. + +This package contains the Nova services providing programmatic access. + +%package placement-api +Summary: OpenStack Nova - Placement API service +Group: Applications/System +Requires: %{name} = %{epoch}:%{version}-%{release} +%if 0%{?suse_version} +%define apache_name apache2 +%define apache_site_dir %{_sysconfdir}/%{apache_name}/vhosts.d/ +BuildRequires: apache2-mod_wsgi +Requires: apache2-mod_wsgi +%else +%define apache_name httpd +%define apache_site_dir %{_sysconfdir}/%{apache_name}/conf.d/ +BuildRequires: mod_wsgi +Requires: mod_wsgi +%endif + +%description placement-api +This package contains the OpenStack Nova Placement API. + +%package cells +Summary: OpenStack Nova Cells service +Group: Applications/System +Requires: %{name} = %{epoch}:%{version}-%{release} + +%description cells +OpenStack Compute (codename Nova) is open source software designed to +provision and manage large networks of virtual machines, creating a +redundant and scalable cloud computing platform. It gives you the +software, control panels, and APIs required to orchestrate a cloud, +including running instances, managing networks, and controlling access +through users and projects. OpenStack Compute strives to be both +hardware and hypervisor agnostic, currently supporting a variety of +standard hardware configurations and seven major hypervisors. + +This package contains the Nova Cells service providing additional +scaling and (geographic) distribution for compute services. + +%package cert +Summary: OpenStack Nova certificate management service +Group: Applications/System +Requires: %{name} = %{epoch}:%{version}-%{release} + +%description cert +OpenStack Compute (codename Nova) is open source software designed to +provision and manage large networks of virtual machines, creating a +redundant and scalable cloud computing platform. It gives you the +software, control panels, and APIs required to orchestrate a cloud, +including running instances, managing networks, and controlling access +through users and projects. OpenStack Compute strives to be both +hardware and hypervisor agnostic, currently supporting a variety of +standard hardware configurations and seven major hypervisors. + +This package contains the Nova service for managing certificates. + +%package compute +Summary: OpenStack Nova Virtual Machine control service +Group: Applications/System +Requires(pre): qemu-kvm +Requires: bridge-utils +Requires: curl +Requires: genisoimage +Requires: ipmitool +Requires: iptables +Requires: iscsi-initiator-utils +Requires: libvirt-daemon-kvm +Requires: libvirt-daemon-lxc +Requires: {{ py2pkg('libvirt-python') }} +Requires: lvm2 +Requires: openssh-clients +Requires: %{name} = %{epoch}:%{version}-%{release} +Requires: {{ py2pkg('libguestfs') }} +Requires: rsync + +%description compute +OpenStack Compute (codename Nova) is open source software designed to +provision and manage large networks of virtual machines, creating a +redundant and scalable cloud computing platform. It gives you the +software, control panels, and APIs required to orchestrate a cloud, +including running instances, managing networks, and controlling access +through users and projects. OpenStack Compute strives to be both +hardware and hypervisor agnostic, currently supporting a variety of +standard hardware configurations and seven major hypervisors. + +This package contains the Nova service for controlling Virtual Machines. + +%package conductor +Summary: OpenStack Nova Conductor services +Group: Applications/System +Requires: %{name} = %{epoch}:%{version}-%{release} + +%description conductor +OpenStack Compute (codename Nova) is open source software designed to +provision and manage large networks of virtual machines, creating a +redundant and scalable cloud computing platform. It gives you the +software, control panels, and APIs required to orchestrate a cloud, +including running instances, managing networks, and controlling access +through users and projects. OpenStack Compute strives to be both +hardware and hypervisor agnostic, currently supporting a variety of +standard hardware configurations and seven major hypervisors. + +This package contains the Nova services providing database access for +the compute service + +%package console +Summary: OpenStack Nova console access services +Group: Applications/System +Requires: %{name} = %{epoch}:%{version}-%{release} + +%description console +OpenStack Compute (codename Nova) is open source software designed to +provision and manage large networks of virtual machines, creating a +redundant and scalable cloud computing platform. It gives you the +software, control panels, and APIs required to orchestrate a cloud, +including running instances, managing networks, and controlling access +through users and projects. OpenStack Compute strives to be both +hardware and hypervisor agnostic, currently supporting a variety of +standard hardware configurations and seven major hypervisors. + +This package contains the Nova services providing +console access services to Virtual Machines. + +%package network +Summary: OpenStack Nova Network control service +Group: Applications/System +Requires: bridge-utils +Requires: dnsmasq +Requires: dnsmasq-utils +Requires: ebtables +Requires: iptables +Requires: %{name} = %{epoch}:%{version}-%{release} +Requires: radvd + +%description network +OpenStack Compute (codename Nova) is open source software designed to +provision and manage large networks of virtual machines, creating a +redundant and scalable cloud computing platform. It gives you the +software, control panels, and APIs required to orchestrate a cloud, +including running instances, managing networks, and controlling access +through users and projects. OpenStack Compute strives to be both +hardware and hypervisor agnostic, currently supporting a variety of +standard hardware configurations and seven major hypervisors. + +This package contains the Nova service for controlling networking. + +%package novncproxy +Summary: OpenStack Nova noVNC proxy service +Group: Applications/System +Requires: novnc +Requires: %{name} = %{epoch}:%{version}-%{release} + +%description novncproxy +OpenStack Compute (codename Nova) is open source software designed to +provision and manage large networks of virtual machines, creating a +redundant and scalable cloud computing platform. It gives you the +software, control panels, and APIs required to orchestrate a cloud, +including running instances, managing networks, and controlling access +through users and projects. OpenStack Compute strives to be both +hardware and hypervisor agnostic, currently supporting a variety of +standard hardware configurations and seven major hypervisors. + +This package contains the Nova noVNC Proxy service that can proxy +VNC traffic over browser websockets connections. + + +%package scheduler +Summary: OpenStack Nova VM distribution service +Group: Applications/System +Requires: %{name} = %{epoch}:%{version}-%{release} + +%description scheduler +OpenStack Compute (codename Nova) is open source software designed to +provision and manage large networks of virtual machines, creating a +redundant and scalable cloud computing platform. It gives you the +software, control panels, and APIs required to orchestrate a cloud, +including running instances, managing networks, and controlling access +through users and projects. OpenStack Compute strives to be both +hardware and hypervisor agnostic, currently supporting a variety of +standard hardware configurations and seven major hypervisors. + +This package contains the service for scheduling where +to run Virtual Machines in the cloud. + +%package serialproxy +Summary: OpenStack Nova serial console access service +Group: Applications/System +Requires: %{name} = %{epoch}:%{version}-%{release} +Requires: novnc + +%description serialproxy +OpenStack Compute (codename Nova) is open source software designed to +provision and manage large networks of virtual machines, creating a +redundant and scalable cloud computing platform. It gives you the +software, control panels, and APIs required to orchestrate a cloud, +including running instances, managing networks, and controlling access +through users and projects. OpenStack Compute strives to be both +hardware and hypervisor agnostic, currently supporting a variety of +standard hardware configurations and seven major hypervisors. + +This package contains the Nova services providing the +serial console access service to Virtual Machines. + +%package spicehtml5proxy +Summary: OpenStack Nova - Spice HTML5 console access service +Group: Applications/System +Requires: %{name} = %{epoch}:%{version}-%{release} + +%description spicehtml5proxy +OpenStack Compute (codename Nova) is open source software designed to +provision and manage large networks of virtual machines, creating a +redundant and scalable cloud computing platform. It gives you the +software, control panels, and APIs required to orchestrate a cloud, +including running instances, managing networks, and controlling access +through users and projects. OpenStack Compute strives to be both +hardware and hypervisor agnostic, currently supporting a variety of +standard hardware configurations and seven major hypervisors. + +This package contains the Nova services providing the +spice HTML5 console access service to Virtual Machines. + +%if 0%{?with_doc} +%package doc +Summary: Documentation for OpenStack Compute +Group: Documentation +BuildRequires: graphviz +BuildRequires: {{ py2pkg('Babel') }} +BuildRequires: {{ py2pkg('MySQL-python') }} +BuildRequires: {{ py2pkg('Paste') }} +BuildRequires: {{ py2pkg('PasteDeploy') }} +BuildRequires: {{ py2pkg('PrettyTable') }} +BuildRequires: {{ py2pkg('Routes') }} +BuildRequires: {{ py2pkg('SQLAlchemy') }} +BuildRequires: {{ py2pkg('Sphinx') }} +BuildRequires: {{ py2pkg('WebOb') }} +BuildRequires: {{ py2pkg('castellan') }} +BuildRequires: {{ py2pkg('cryptography') }} +BuildRequires: {{ py2pkg('decorator') }} +BuildRequires: {{ py2pkg('greenlet') }} +BuildRequires: {{ py2pkg('greenlet') }} +BuildRequires: {{ py2pkg('iso8601') }} +BuildRequires: {{ py2pkg('jinja2') }} +BuildRequires: {{ py2pkg('jsonschema') }} +BuildRequires: {{ py2pkg('keystonemiddleware') }} +BuildRequires: {{ py2pkg('lxml') }} +BuildRequires: {{ py2pkg('python-memcached') }} +BuildRequires: {{ py2pkg('netifaces') }} +BuildRequires: {{ py2pkg('openstackdocstheme') }} +BuildRequires: {{ py2pkg('oslosphinx') }} +BuildRequires: {{ py2pkg('paramiko') }} +BuildRequires: {{ py2pkg('psutil') }} +BuildRequires: {{ py2pkg('reno') }} +BuildRequires: {{ py2pkg('requests') }} +BuildRequires: {{ py2pkg('rfc3986') }} +BuildRequires: {{ py2pkg('sqlalchemy-migrate') }} +BuildRequires: {{ py2pkg('stevedore') }} +BuildRequires: {{ py2pkg('websockify') }} + +%description doc +OpenStack Compute (codename Nova) is open source software designed to +provision and manage large networks of virtual machines, creating a +redundant and scalable cloud computing platform. + +This package contains documentation files for nova. +%endif + +%prep +%autosetup -n %{sname}-{{upstream_version}} +%py_req_cleanup +find . \( -name .gitignore -o -name .placeholder \) -delete +find nova -name \*.py -exec sed -i '/\/usr\/bin\/env python/{d;q}' {} + + +%build +%{py2_build} +%if 0%{?with_doc} +%{__python2} setup.py build_sphinx +# remove the sphinx-build leftovers +rm -rf doc/build/html/.{doctrees,buildinfo} +%fdupes doc/build/html/ +%endif +# config file generation +PYTHONPATH=. oslo-config-generator --config-file=etc/nova/nova-config-generator.conf +PYTHONPATH=. oslopolicy-sample-generator --config-file=etc/nova/nova-policy-generator.conf + +%install +%{py2_install} +# man pages +mkdir -p %{buildroot}%{_mandir}/man1 +install -p -D -m 644 doc/build/man/*.1 %{buildroot}%{_mandir}/man1/ + +# Setup directories +install -d -m 755 %{buildroot}%{_localstatedir}/lib/nova +install -d -m 755 %{buildroot}%{_localstatedir}/lib/nova/buckets +install -d -m 755 %{buildroot}%{_localstatedir}/lib/nova/instances +install -d -m 755 %{buildroot}%{_localstatedir}/lib/nova/keys +install -d -m 755 %{buildroot}%{_localstatedir}/lib/nova/networks +install -d -m 755 %{buildroot}%{_localstatedir}/lib/nova/tmp +install -d -m 750 %{buildroot}%{_localstatedir}/log/nova + +# Setup ghost CA cert +install -d -m 755 %{buildroot}%{_localstatedir}/lib/nova/CA +install -p -m 755 nova/CA/*.sh %{buildroot}%{_localstatedir}/lib/nova/CA +install -p -m 644 nova/CA/openssl.cnf.tmpl %{buildroot}%{_localstatedir}/lib/nova/CA +install -d -m 755 %{buildroot}%{_localstatedir}/lib/nova/CA/{certs,crl,newcerts,projects,reqs} +touch %{buildroot}%{_localstatedir}/lib/nova/CA/{cacert.pem,crl.pem,index.txt,openssl.cnf,serial} +install -d -m 750 %{buildroot}%{_localstatedir}/lib/nova/CA/private +touch %{buildroot}%{_localstatedir}/lib/nova/CA/private/cakey.pem +# WSGI apache config for nova-placement-api +%if 0%{?rdo} +# adjust paths to WSGI scripts +sed -i 's#/local/bin#/bin#' %{SOURCE25} +sed -i 's#apache2#httpd#' %{SOURCE25} +%endif +# Install apache configuration files +install -d -m 755 %{buildroot}%{apache_site_dir} +install -p -D -m 644 %{SOURCE25} %{buildroot}%{_datarootdir}/nova/wsgi-nova-placement-api.conf +install -p -D -m 644 %{SOURCE25} %{buildroot}%{apache_site_dir}/nova-placement-api.conf + + +# Install config files +install -d -m 755 %{buildroot}%{_sysconfdir}/nova +install -d -m 755 %{buildroot}%{_sysconfdir}/nova/nova.conf.d +install -p -D -m 640 %{SOURCE1} %{buildroot}%{_datarootdir}/nova/nova-dist.conf +install -p -D -m 640 etc/nova/api-paste.ini %{buildroot}%{_sysconfdir}/nova/api-paste.ini +install -p -D -m 640 etc/nova/cells.json %{buildroot}%{_sysconfdir}/nova/cells.json +install -p -D -m 640 etc/nova/logging_sample.conf %{buildroot}%{_sysconfdir}/nova/logging.conf +install -p -D -m 640 etc/nova/nova.conf.sample %{buildroot}%{_sysconfdir}/nova/nova.conf +install -p -D -m 640 etc/nova/policy.yaml.sample %{buildroot}%{_sysconfdir}/nova/policy.yaml +install -p -D -m 640 etc/nova/rootwrap.conf %{buildroot}%{_sysconfdir}/nova/rootwrap.conf + +# Install version info file +cat > %{buildroot}%{_sysconfdir}/nova/release <&1 +#for debug only - FIX ME +#testr list-tests 2>&1 +testr list-tests | grep -vE '(vif|OVS|Network|test_wsgi)' > list +testr run --load-list=list +%endif + +%pre +%openstack_pre_user_group_create nova nova -s /bin/bash + +%pre compute +usermod -a -G qemu nova + +#POST actions +%post api +%systemd_post %{name}-api.service %{name}-metadata-api.service %{name}-os-compute-api.service + +%post placement-api +%systemd_post %{apache_name}.service + +%post cells +%systemd_post %{name}-cells.service + +%post cert +%systemd_post %{name}-cert.service + +%post compute +%systemd_post %{name}-compute.service + +%post conductor +%systemd_post %{name}-conductor.service + +%post console +%systemd_post %{name}-console.service %{name}-consoleauth.service %{name}-xvpvncproxy.service + +%post network +%systemd_post %{name}-network.service + +%post novncproxy +%systemd_post %{name}-novncproxy.service + +%post scheduler +%systemd_post %{name}-scheduler.service + +%post serialproxy +%systemd_post %{name}-serialproxy.service + +%post spicehtml5proxy +%systemd_post %{name}-spicehtml5proxy.service + +#PREUN actions +%preun api +%systemd_preun %{name}-api.service %{name}-metadata-api.service %{name}-os-compute-api.service + +%preun cells +%systemd_preun %{name}-cells.service + +%preun cert +%systemd_preun %{name}-cert.service + +%preun compute +%systemd_preun %{name}-compute.service + +%preun conductor +%systemd_preun %{name}-conductor.service + +%preun console +%systemd_preun %{name}-console.service %{name}-consoleauth.service %{name}-xvpvncproxy.service + +%preun network +%systemd_preun %{name}-network.service + +%preun novncproxy +%systemd_preun %{name}-novncproxy.service + +%preun scheduler +%systemd_preun %{name}-scheduler.service + +%preun spicehtml5proxy +%systemd_preun %{name}-spicehtml5proxy.service + +%preun serialproxy +%systemd_preun %{name}-serialproxy.service + +#POSTUN actions +%postun api +%systemd_postun_with_restart %{name}-api.service %{name}-metadata-api.service %{name}-os-compute-api.service + +%postun placement-api +%systemd_postun_with_restart %{apache_name}.service + +%postun cells +%systemd_postun_with_restart %{name}-cells.service + +%postun cert +%systemd_postun_with_restart %{name}-cert.service + +%postun compute +%systemd_postun_with_restart %{name}-compute.service + +%postun conductor +%systemd_postun_with_restart %{name}-conductor.service + +%postun console +%systemd_postun_with_restart %{name}-console.service %{name}-consoleauth.service %{name}-xvpvncproxy.service + +%postun network +%systemd_postun_with_restart %{name}-network.service + +%postun novncproxy +%systemd_postun_with_restart %{name}-novncproxy.service + +%postun scheduler +%systemd_postun_with_restart %{name}-scheduler.service + +%postun spicehtml5proxy +%systemd_postun_with_restart %{name}-spicehtml5proxy.service + +%postun serialproxy +%systemd_postun_with_restart %{name}-serialproxy.service + +#FILES +%files +%license LICENSE + +%files +%defattr(-,root,root,-) +%license LICENSE +%doc README.rst +%dir %{_datarootdir}/nova/ +%dir %{_datarootdir}/nova/rootwrap +%attr(-, root, nova) %{_datarootdir}/nova/nova-dist.conf +%dir %{_sysconfdir}/nova +%dir %{_sysconfdir}/nova/rootwrap.d +%dir %{_localstatedir}/lib/nova +%dir %{_localstatedir}/lib/nova/buckets +%dir %{_localstatedir}/lib/nova/instances +%dir %{_localstatedir}/lib/nova/keys +%dir %{_localstatedir}/lib/nova/networks +%dir %{_localstatedir}/lib/nova/tmp +%dir %attr(0750, nova, root) %{_localstatedir}/log/nova +%dir %attr(0755, nova, root) %{_localstatedir}/run/nova +%{_datarootdir}/nova/bootscript.template +%{_datarootdir}/nova/client.ovpn.template +%{_datarootdir}/nova/interfaces.template +%{_datarootdir}/nova/interfaces_deb.template +%{_datarootdir}/nova/xvp.conf.template +%{_sysconfdir}/bash_completion.d/openstack-nova-manage.sh +%{_sysconfdir}/nova/release +%config(noreplace) %{_sysconfdir}/logrotate.d/%{name} +%config(noreplace) %{_sysconfdir}/sudoers.d/%{name} +%config(noreplace) %attr(-, root, nova) %{_sysconfdir}/nova/api-paste.ini +%config(noreplace) %attr(-, root, nova) %{_sysconfdir}/nova/logging.conf +%config(noreplace) %attr(-, root, nova) %{_sysconfdir}/nova/nova.conf +%config(noreplace) %attr(-, root, nova) %{_sysconfdir}/nova/policy.yaml +%config(noreplace) %attr(-, root, nova) %{_sysconfdir}/nova/rootwrap.conf +%{_bindir}/nova-idmapshift +%{_bindir}/nova-manage +%{_bindir}/nova-policy +%{_bindir}/nova-rootwrap +%{_bindir}/nova-rootwrap-daemon +%{_bindir}/nova-status +%{_mandir}/man1/nova*.1.gz + +%files -n python-nova +%license LICENSE +%{python2_sitelib}/nova/ +%{python2_sitelib}/nova-*.egg-info + +%files api +%license LICENSE +%config %{_sysconfdir}/nova/rootwrap.d/api-metadata.filters +%{_bindir}/nova-api* +%{_unitdir}/%{name}-*api.service +%{_datarootdir}/nova/rootwrap/api-metadata.filters + +%files placement-api +%license LICENSE +%{_bindir}/nova-placement-api +%{apache_site_dir}/nova-placement-api.conf +%{_datarootdir}/nova/wsgi-nova-placement-api.conf + +%files cells +%license LICENSE +%config(noreplace) %attr(-, root, nova) %{_sysconfdir}/nova/cells.json +%{_bindir}/nova-cells +%{_unitdir}/%{name}-cells.service + +%files cert +%license LICENSE +%{_bindir}/nova-cert +%{_unitdir}/openstack-nova-cert.service +%defattr(-, nova, nova, -) +%dir %{_localstatedir}/lib/nova/CA/ +%dir %{_localstatedir}/lib/nova/CA/certs +%dir %{_localstatedir}/lib/nova/CA/crl +%dir %{_localstatedir}/lib/nova/CA/newcerts +%dir %{_localstatedir}/lib/nova/CA/projects +%dir %{_localstatedir}/lib/nova/CA/reqs +%{_localstatedir}/lib/nova/CA/*.sh +%{_localstatedir}/lib/nova/CA/openssl.cnf.tmpl +%ghost %config(missingok,noreplace) %verify(not md5 size mtime) %{_localstatedir}/lib/nova/CA/cacert.pem +%ghost %config(missingok,noreplace) %verify(not md5 size mtime) %{_localstatedir}/lib/nova/CA/crl.pem +%ghost %config(missingok,noreplace) %verify(not md5 size mtime) %{_localstatedir}/lib/nova/CA/index.txt +%ghost %config(missingok,noreplace) %verify(not md5 size mtime) %{_localstatedir}/lib/nova/CA/openssl.cnf +%ghost %config(missingok,noreplace) %verify(not md5 size mtime) %{_localstatedir}/lib/nova/CA/serial +%dir %attr(0750, -, -) %{_localstatedir}/lib/nova/CA/private +%ghost %config(missingok,noreplace) %verify(not md5 size mtime) %{_localstatedir}/lib/nova/CA/private/cakey.pem + +%files compute +%license LICENSE +%{_bindir}/nova-compute +%{_unitdir}/%{name}-compute.service +%{_datarootdir}/nova/rootwrap/compute.filters +%config %{_sysconfdir}/nova/rootwrap.d/compute.filters +%if 0%{?rdo} +%config(noreplace) %{_sysconfdir}/polkit-1/localauthority/50-local.d/50-nova.pkla +%endif +%config(noreplace) %{_sysconfdir}/polkit-1/rules.d/50-nova.rules + +%files conductor +%license LICENSE +%{_bindir}/nova-conductor +%{_unitdir}/%{name}-conductor.service + +%files console +%license LICENSE +%{_bindir}/nova-console* +%{_bindir}/nova-xvpvncproxy +%{_unitdir}/%{name}-console*.service +%{_unitdir}/%{name}-xvpvncproxy.service + +%files network +%license LICENSE +%config %{_sysconfdir}/nova/rootwrap.d/network.filters +%{_bindir}/nova-network +%{_bindir}/nova-dhcpbridge +%{_unitdir}/%{name}-network.service +%{_datarootdir}/nova/rootwrap/network.filters + +%files novncproxy +%license LICENSE +%{_bindir}/nova-novncproxy +%{_unitdir}/%{name}-novncproxy.service + +%files scheduler +%license LICENSE +%{_bindir}/nova-scheduler +%{_unitdir}/%{name}-scheduler.service + +%files spicehtml5proxy +%license LICENSE +%{_bindir}/nova-spicehtml5proxy +%{_unitdir}/%{name}-spicehtml5proxy.service + +%files serialproxy +%license LICENSE +%{_bindir}/nova-serialproxy +%{_unitdir}/%{name}-serialproxy.service + +%if 0%{?with_doc} +%files doc +%license LICENSE +%doc doc/build/html +%endif + +%changelog diff --git a/openstack/nova/openstack-nova-api.service b/openstack/nova/openstack-nova-api.service new file mode 100644 index 000000000..e68913556 --- /dev/null +++ b/openstack/nova/openstack-nova-api.service @@ -0,0 +1,16 @@ +[Unit] +Description=OpenStack Nova API Server +After=syslog.target network.target mysql.service postgresql.service rabbitmq-server.service + +[Service] +Type=notify +NotifyAccess=all +TimeoutStartSec=0 +Restart=on-failure +User=nova +ExecStartPre=-/usr/bin/nova-manage db sync +ExecStartPre=-/usr/bin/nova-manage api_db sync +ExecStart=/usr/bin/nova-api + +[Install] +WantedBy=multi-user.target diff --git a/openstack/nova/openstack-nova-cells.service b/openstack/nova/openstack-nova-cells.service new file mode 100644 index 000000000..f18948a01 --- /dev/null +++ b/openstack/nova/openstack-nova-cells.service @@ -0,0 +1,14 @@ +[Unit] +Description=OpenStack Nova Cells Server +After=syslog.target network.target + +[Service] +Type=notify +NotifyAccess=all +TimeoutStartSec=0 +Restart=on-failure +User=nova +ExecStart=/usr/bin/nova-cells + +[Install] +WantedBy=multi-user.target diff --git a/openstack/nova/openstack-nova-cert.service b/openstack/nova/openstack-nova-cert.service new file mode 100644 index 000000000..c6cf546ed --- /dev/null +++ b/openstack/nova/openstack-nova-cert.service @@ -0,0 +1,14 @@ +[Unit] +Description=OpenStack Nova Cert Server +After=syslog.target network.target + +[Service] +Type=notify +NotifyAccess=all +TimeoutStartSec=0 +Restart=on-failure +User=nova +ExecStart=/usr/bin/nova-cert + +[Install] +WantedBy=multi-user.target diff --git a/openstack/nova/openstack-nova-compute.service b/openstack/nova/openstack-nova-compute.service new file mode 100644 index 000000000..d9ff21ac8 --- /dev/null +++ b/openstack/nova/openstack-nova-compute.service @@ -0,0 +1,15 @@ +[Unit] +Description=OpenStack Nova Compute Server +After=syslog.target network.target + +[Service] +Environment=LIBGUESTFS_ATTACH_METHOD=appliance +Type=notify +NotifyAccess=all +TimeoutStartSec=0 +Restart=on-failure +User=nova +ExecStart=/usr/bin/nova-compute + +[Install] +WantedBy=multi-user.target diff --git a/openstack/nova/openstack-nova-conductor.service b/openstack/nova/openstack-nova-conductor.service new file mode 100644 index 000000000..4c6d7d150 --- /dev/null +++ b/openstack/nova/openstack-nova-conductor.service @@ -0,0 +1,14 @@ +[Unit] +Description=OpenStack Nova Conductor Server +After=syslog.target network.target + +[Service] +Type=notify +NotifyAccess=all +TimeoutStartSec=0 +Restart=on-failure +User=nova +ExecStart=/usr/bin/nova-conductor + +[Install] +WantedBy=multi-user.target diff --git a/openstack/nova/openstack-nova-console.service b/openstack/nova/openstack-nova-console.service new file mode 100644 index 000000000..4f45fd2cd --- /dev/null +++ b/openstack/nova/openstack-nova-console.service @@ -0,0 +1,14 @@ +[Unit] +Description=OpenStack Nova Console Proxy Server +After=syslog.target network.target + +[Service] +Type=notify +NotifyAccess=all +TimeoutStartSec=0 +Restart=on-failure +User=nova +ExecStart=/usr/bin/nova-console + +[Install] +WantedBy=multi-user.target diff --git a/openstack/nova/openstack-nova-consoleauth.service b/openstack/nova/openstack-nova-consoleauth.service new file mode 100644 index 000000000..80c955563 --- /dev/null +++ b/openstack/nova/openstack-nova-consoleauth.service @@ -0,0 +1,14 @@ +[Unit] +Description=OpenStack Nova VNC console auth Server +After=syslog.target network.target + +[Service] +Type=notify +NotifyAccess=all +TimeoutStartSec=0 +Restart=on-failure +User=nova +ExecStart=/usr/bin/nova-consoleauth + +[Install] +WantedBy=multi-user.target diff --git a/openstack/nova/openstack-nova-metadata-api.service b/openstack/nova/openstack-nova-metadata-api.service new file mode 100644 index 000000000..3aa4ac1f4 --- /dev/null +++ b/openstack/nova/openstack-nova-metadata-api.service @@ -0,0 +1,14 @@ +[Unit] +Description=OpenStack Nova Metadata API Server +After=syslog.target network.target + +[Service] +Type=notify +NotifyAccess=all +TimeoutStartSec=0 +Restart=on-failure +User=nova +ExecStart=/usr/bin/nova-api-metadata + +[Install] +WantedBy=multi-user.target diff --git a/openstack/nova/openstack-nova-network.service b/openstack/nova/openstack-nova-network.service new file mode 100644 index 000000000..3061c89de --- /dev/null +++ b/openstack/nova/openstack-nova-network.service @@ -0,0 +1,17 @@ +[Unit] +Description=OpenStack Nova Network Server +After=syslog.target network.target + +[Service] +Type=notify +NotifyAccess=all +TimeoutStartSec=0 +Restart=on-failure +User=nova +ExecStart=/usr/bin/nova-network + +# Don't kill dnsmasq on shutdown (#805947) +KillMode=process + +[Install] +WantedBy=multi-user.target diff --git a/openstack/nova/openstack-nova-novncproxy.service b/openstack/nova/openstack-nova-novncproxy.service new file mode 100644 index 000000000..b1d30f73f --- /dev/null +++ b/openstack/nova/openstack-nova-novncproxy.service @@ -0,0 +1,13 @@ +[Unit] +Description=OpenStack Nova NoVNC Proxy Server +After=syslog.target network.target + +[Service] +Type=simple +User=nova +EnvironmentFile=-/etc/sysconfig/openstack-nova-novncproxy +ExecStart=/usr/bin/nova-novncproxy --web /usr/share/novnc/ $OPTIONS +Restart=on-failure + +[Install] +WantedBy=multi-user.target diff --git a/openstack/nova/openstack-nova-os-compute-api.service b/openstack/nova/openstack-nova-os-compute-api.service new file mode 100644 index 000000000..40d725fb0 --- /dev/null +++ b/openstack/nova/openstack-nova-os-compute-api.service @@ -0,0 +1,14 @@ +[Unit] +Description=OpenStack Nova Compute API Server +After=syslog.target network.target + +[Service] +Type=notify +NotifyAccess=all +TimeoutStartSec=0 +Restart=on-failure +User=nova +ExecStart=/usr/bin/nova-api-os-compute + +[Install] +WantedBy=multi-user.target diff --git a/openstack/nova/openstack-nova-scheduler.service b/openstack/nova/openstack-nova-scheduler.service new file mode 100644 index 000000000..4421e1509 --- /dev/null +++ b/openstack/nova/openstack-nova-scheduler.service @@ -0,0 +1,14 @@ +[Unit] +Description=OpenStack Nova Scheduler Server +After=syslog.target network.target + +[Service] +Type=notify +NotifyAccess=all +TimeoutStartSec=0 +Restart=on-failure +User=nova +ExecStart=/usr/bin/nova-scheduler + +[Install] +WantedBy=multi-user.target diff --git a/openstack/nova/openstack-nova-serialproxy.service b/openstack/nova/openstack-nova-serialproxy.service new file mode 100644 index 000000000..0888b3a2a --- /dev/null +++ b/openstack/nova/openstack-nova-serialproxy.service @@ -0,0 +1,13 @@ +[Unit] +Description=OpenStack Nova Serial Proxy Server +After=syslog.target network.target + +[Service] +Type=simple +User=nova +ExecStart=/usr/bin/nova-serialproxy +Restart=on-failure + +[Install] +WantedBy=multi-user.target + diff --git a/openstack/nova/openstack-nova-spicehtml5proxy.service b/openstack/nova/openstack-nova-spicehtml5proxy.service new file mode 100644 index 000000000..c5dc91aec --- /dev/null +++ b/openstack/nova/openstack-nova-spicehtml5proxy.service @@ -0,0 +1,13 @@ +[Unit] +Description=OpenStack Nova Spice HTML5 Proxy Server +After=syslog.target network.target + +[Service] +Type=simple +User=nova +ExecStart=/usr/bin/nova-spicehtml5proxy +Restart=on-failure + +[Install] +WantedBy=multi-user.target + diff --git a/openstack/nova/openstack-nova-xvpvncproxy.service b/openstack/nova/openstack-nova-xvpvncproxy.service new file mode 100644 index 000000000..07df78834 --- /dev/null +++ b/openstack/nova/openstack-nova-xvpvncproxy.service @@ -0,0 +1,13 @@ +[Unit] +Description=OpenStack Nova XVP VncProxy Server +After=syslog.target network.target + +[Service] +Type=simple +User=nova +ExecStart=/usr/bin/nova-xvpvncproxy +Restart=on-failure + +[Install] +WantedBy=multi-user.target + diff --git a/openstack/nova/unittests.blacklist b/openstack/nova/unittests.blacklist new file mode 100644 index 000000000..df94a131c --- /dev/null +++ b/openstack/nova/unittests.blacklist @@ -0,0 +1,654 @@ +nova.tests.unit.api.openstack.compute.test_networks.NetworkCreateExceptionsTestV21.test_network_create_bad_cidr +nova.tests.unit.api.openstack.compute.test_networks.NetworkCreateExceptionsTestV21.test_network_create_bad_vlan +nova.tests.unit.api.openstack.compute.test_networks.NetworkCreateExceptionsTestV21.test_network_create_cidr_conflict +nova.tests.unit.api.openstack.compute.test_networks.NetworkCreateExceptionsTestV21.test_network_create_handle_network_not_created +nova.tests.unit.api.openstack.compute.test_networks.NetworkCreateExceptionsTestV21.test_network_create_invalid_fixed_cidr +nova.tests.unit.api.openstack.compute.test_networks.NetworkCreateExceptionsTestV21.test_network_create_invalid_start +nova.tests.unit.api.openstack.compute.test_networks.NetworkCreateExceptionsTestV21.test_network_create_label_too_long +nova.tests.unit.api.openstack.compute.test_networks.NetworkCreateExceptionsTestV21.test_network_create_no_cidr +nova.tests.unit.api.openstack.compute.test_networks.NetworkCreateExceptionsTestV21.test_network_create_no_label +nova.tests.unit.api.openstack.compute.test_networks.NetworkCreateExceptionsTestV21.test_network_create_vlan_conflict +nova.tests.unit.api.openstack.compute.test_networks.NetworksAssociateDeprecationTest.test_all_api_return_not_found +nova.tests.unit.api.openstack.compute.test_networks.NetworksAssociateEnforcementV21.test_disassociate_host_only_policy_failed +nova.tests.unit.api.openstack.compute.test_networks.NetworksAssociateEnforcementV21.test_disassociate_host_policy_failed +nova.tests.unit.api.openstack.compute.test_networks.NetworksAssociateEnforcementV21.test_disassociate_project_only_policy_failed +nova.tests.unit.api.openstack.compute.test_networks.NetworksAssociateTestV21.test_network_associate_project_delete_fail +nova.tests.unit.api.openstack.compute.test_networks.NetworksAssociateTestV21.test_network_associate_with_host +nova.tests.unit.api.openstack.compute.test_networks.NetworksAssociateTestV21.test_network_disassociate_host_only +nova.tests.unit.api.openstack.compute.test_networks.NetworksAssociateTestV21.test_network_disassociate_project_network_delete +nova.tests.unit.api.openstack.compute.test_networks.NetworksAssociateTestV21.test_network_disassociate_project_only +nova.tests.unit.api.openstack.compute.test_networks.NetworksAssociateTestV21.test_network_neutron_associate_bad_associate_host_key +nova.tests.unit.api.openstack.compute.test_networks.NetworksAssociateTestV21.test_network_neutron_associate_host_empty_body +nova.tests.unit.api.openstack.compute.test_networks.NetworksAssociateTestV21.test_network_neutron_associate_host_extra_arg +nova.tests.unit.api.openstack.compute.test_networks.NetworksAssociateTestV21.test_network_neutron_associate_host_non_string +nova.tests.unit.api.openstack.compute.test_networks.NetworksAssociateTestV21.test_network_neutron_associate_not_implemented +nova.tests.unit.api.openstack.compute.test_networks.NetworksAssociateTestV21.test_network_neutron_disassociate_host_not_implemented +nova.tests.unit.api.openstack.compute.test_networks.NetworksAssociateTestV21.test_network_neutron_disassociate_project_not_implemented +nova.tests.unit.api.openstack.compute.test_networks.NetworksDeprecationTest.test_all_api_return_not_found +nova.tests.unit.api.openstack.compute.test_networks.NetworksEnforcementV21.test_add_policy_failed +nova.tests.unit.api.openstack.compute.test_networks.NetworksEnforcementV21.test_create_policy_failed +nova.tests.unit.api.openstack.compute.test_networks.NetworksEnforcementV21.test_delete_policy_failed +nova.tests.unit.api.openstack.compute.test_networks.NetworksEnforcementV21.test_disassociate_policy_failed +nova.tests.unit.api.openstack.compute.test_networks.NetworksEnforcementV21.test_index_policy_failed +nova.tests.unit.api.openstack.compute.test_networks.NetworksEnforcementV21.test_show_policy_failed +nova.tests.unit.api.openstack.compute.test_networks.NetworksTestV21.test_network_add +nova.tests.unit.api.openstack.compute.test_networks.NetworksTestV21.test_network_add_network_not_found_networks_fail +nova.tests.unit.api.openstack.compute.test_networks.NetworksTestV21.test_network_add_network_with_extra_arg +nova.tests.unit.api.openstack.compute.test_networks.NetworksTestV21.test_network_add_network_with_invalid_id +nova.tests.unit.api.openstack.compute.test_networks.NetworksTestV21.test_network_add_network_with_none_id +nova.tests.unit.api.openstack.compute.test_networks.NetworksTestV21.test_network_add_network_without_body +nova.tests.unit.api.openstack.compute.test_networks.NetworksTestV21.test_network_add_no_more_networks_fail +nova.tests.unit.api.openstack.compute.test_networks.NetworksTestV21.test_network_create +nova.tests.unit.api.openstack.compute.test_networks.NetworksTestV21.test_network_create_large +nova.tests.unit.api.openstack.compute.test_networks.NetworksTestV21.test_network_delete +nova.tests.unit.api.openstack.compute.test_networks.NetworksTestV21.test_network_delete_in_use +nova.tests.unit.api.openstack.compute.test_networks.NetworksTestV21.test_network_delete_not_found +nova.tests.unit.api.openstack.compute.test_networks.NetworksTestV21.test_network_disassociate +nova.tests.unit.api.openstack.compute.test_networks.NetworksTestV21.test_network_disassociate_not_found +nova.tests.unit.api.openstack.compute.test_networks.NetworksTestV21.test_network_get_as_admin +nova.tests.unit.api.openstack.compute.test_networks.NetworksTestV21.test_network_get_as_user +nova.tests.unit.api.openstack.compute.test_networks.NetworksTestV21.test_network_get_not_found +nova.tests.unit.api.openstack.compute.test_networks.NetworksTestV21.test_network_list_all_as_admin +nova.tests.unit.api.openstack.compute.test_networks.NetworksTestV21.test_network_list_all_as_user +nova.tests.unit.api.openstack.compute.test_networks.NetworksTestV21.test_network_neutron_disassociate_not_implemented +nova.tests.unit.api.openstack.compute.test_tenant_networks.TenantNetworksDeprecationTest.test_all_apis_return_not_found +nova.tests.unit.api.openstack.compute.test_tenant_networks.TenantNetworksEnforcementV21.test_create_policy_failed +nova.tests.unit.api.openstack.compute.test_tenant_networks.TenantNetworksEnforcementV21.test_delete_policy_failed +nova.tests.unit.api.openstack.compute.test_tenant_networks.TenantNetworksEnforcementV21.test_index_policy_failed +nova.tests.unit.api.openstack.compute.test_tenant_networks.TenantNetworksEnforcementV21.test_show_policy_failed +nova.tests.unit.api.openstack.compute.test_tenant_networks.TenantNetworksTestV21.test_network_create +nova.tests.unit.api.openstack.compute.test_tenant_networks.TenantNetworksTestV21.test_network_create_bad_format_cidr +nova.tests.unit.api.openstack.compute.test_tenant_networks.TenantNetworksTestV21.test_network_create_empty_body +nova.tests.unit.api.openstack.compute.test_tenant_networks.TenantNetworksTestV21.test_network_create_empty_network +nova.tests.unit.api.openstack.compute.test_tenant_networks.TenantNetworksTestV21.test_network_create_exception_conflictcidr +nova.tests.unit.api.openstack.compute.test_tenant_networks.TenantNetworksTestV21.test_network_create_exception_policy_failed +nova.tests.unit.api.openstack.compute.test_tenant_networks.TenantNetworksTestV21.test_network_create_exception_service_unavailable +nova.tests.unit.api.openstack.compute.test_tenant_networks.TenantNetworksTestV21.test_network_create_quota_error +nova.tests.unit.api.openstack.compute.test_tenant_networks.TenantNetworksTestV21.test_network_create_without_cidr +nova.tests.unit.api.openstack.compute.test_tenant_networks.TenantNetworksTestV21.test_network_create_without_label +nova.tests.unit.api.openstack.compute.test_tenant_networks.TenantNetworksTestV21.test_network_delete +nova.tests.unit.api.openstack.compute.test_tenant_networks.TenantNetworksTestV21.test_network_delete_exception_network_in_use +nova.tests.unit.api.openstack.compute.test_tenant_networks.TenantNetworksTestV21.test_network_delete_exception_network_not_found +nova.tests.unit.api.openstack.compute.test_tenant_networks.TenantNetworksTestV21.test_network_delete_exception_policy_failed +nova.tests.unit.api.openstack.compute.test_tenant_networks.TenantNetworksTestV21.test_network_index_with_default_net +nova.tests.unit.api.openstack.compute.test_tenant_networks.TenantNetworksTestV21.test_network_index_without_default_net +nova.tests.unit.api.openstack.compute.test_tenant_networks.TenantNetworksTestV21.test_network_show +nova.tests.unit.api.openstack.compute.test_tenant_networks.TenantNetworksTestV21.test_network_show_not_found +nova.tests.unit.api.openstack.compute.test_virtual_interfaces.ServerVirtualInterfaceTestV21.test_list_vifs_neutron_notimplemented +nova.tests.unit.api.openstack.compute.test_virtual_interfaces.ServerVirtualInterfaceTestV21.test_vif_instance_not_found +nova.tests.unit.api.openstack.compute.test_virtual_interfaces.ServerVirtualInterfaceTestV212.test_list_vifs_neutron_notimplemented +nova.tests.unit.api.openstack.compute.test_virtual_interfaces.ServerVirtualInterfaceTestV212.test_vif_instance_not_found +nova.tests.unit.compute.test_compute_mgr.ComputeManagerUnitTestCase.test_init_instance_with_binding_failed_vif_type +nova.tests.unit.compute.test_compute_mgr.ComputeManagerUnitTestCase.test_process_instance_vif_deleted_event +nova.tests.unit.db.test_db_api.FixedIPTestCase.test_fixed_ip_associate_not_allocated_without_vif +nova.tests.unit.db.test_db_api.FixedIPTestCase.test_fixed_ip_associate_with_vif +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_associate +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_count_reserved_ips +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_create_safe +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_create_with_duplicate_vlan +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_delete_safe +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_diassociate +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_get +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_get_all +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_get_all_admin_user +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_get_all_by_host +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_get_all_by_uuids +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_get_all_by_uuids_no_networks +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_get_all_no_networks +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_get_all_normal_user +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_get_associated_default_route +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_get_associated_fixed_ips +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_get_by_cidr +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_get_by_cidr_nonexistent +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_get_by_uuid +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_get_by_uuid_nonexistent +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_in_use_on_host +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_set_host_already_set_correct +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_set_host_already_set_incorrect +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_set_host_failed_with_retry_on_no_rows_updated +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_set_host_nonexistent_network +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_set_host_succeeds_retry_on_deadlock +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_set_host_succeeds_retry_on_no_rows_updated +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_set_host_with_initially_no_host +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_update +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_update_nonexistent +nova.tests.unit.db.test_db_api.NetworkTestCase.test_network_update_with_duplicate_vlan +nova.tests.unit.network.test_api.ApiTestCase.test_get_vif_by_mac_address +nova.tests.unit.network.test_api.ApiTestCase.test_get_vifs_by_instance +nova.tests.unit.network.test_api.NetworkHooksTestCase.test_instance_network_info_hook +nova.tests.unit.network.test_config.NetworkAPIConfigTest.test_default +nova.tests.unit.network.test_config.NetworkAPIConfigTest.test_dont_use_neutron +nova.tests.unit.network.test_config.NetworkAPIConfigTest.test_use_neutron +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_add_snat_rule_ext +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_add_snat_rule_no_ext +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_add_snat_rule_snat_range_ext +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_add_snat_rule_snat_range_no_ext +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_apply_not_run +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_apply_ran +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_create_tap_dev +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_create_tap_dev_fallback_to_tunctl +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_create_tap_dev_mac +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_create_tap_dev_multiqueue +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_create_tap_dev_multiqueue_tunctl_raises +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_create_tap_skipped_when_exists +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_create_veth_pair +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_deferred_unset_apply_ran +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_dhcp_opts_not_default_gateway_network +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_dnsmasq_execute +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_dnsmasq_execute_dns_servers +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_dnsmasq_execute_use_network_dns_servers +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_ensure_bridge_brclt_addbr_neutron_race +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_ensure_bridge_brclt_addif_exception +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_ensure_bridge_brings_up_interface +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_ensure_floating_no_duplicate_forwards +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_ensure_vlan +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_ensure_vlan_device_exists +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_exec_ebtables_fail_all +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_exec_ebtables_fail_no_retry +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_exec_ebtables_fail_once +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_exec_ebtables_success +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_flat_override +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_get_dhcp_hosts_for_nw00 +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_get_dhcp_hosts_for_nw01 +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_get_dhcp_leases_for_nw00 +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_get_dhcp_leases_for_nw01 +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_get_dhcp_opts_for_nw00 +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_get_dhcp_opts_for_nw00_no_single_default_gateway +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_get_dhcp_opts_for_nw01 +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_get_dns_hosts_for_nw00 +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_get_dns_hosts_for_nw01 +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_host_dhcp_truncated_hostname +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_host_dhcp_without_default_gateway_network +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_host_dns_without_default_gateway_network +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_initialize_gateway_add_if_blank +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_initialize_gateway_ip_with_dynamic_flag +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_initialize_gateway_moves_wrong_ip +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_initialize_gateway_no_move_right_ip +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_initialize_gateway_resets_route +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_isolated_host +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_linux_bridge_driver_plug +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_linux_ovs_driver_plug_exception +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_metadata_accept +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_metadata_accept_ipv6 +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_metadata_accept_ipv6_localhost +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_metadata_accept_localhost +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_metadata_forward +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_metadata_forward_localhost +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_ovs_vif_port +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_ovs_vif_port_cmd +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_ovs_vif_port_with_type_vhostuser +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_remove_bridge +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_remove_bridge_negative +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_set_device_mtu_default +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_update_dhcp_for_nw00 +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_update_dhcp_for_nw01 +nova.tests.unit.network.test_linux_net.LinuxNetworkTestCase.test_vlan_override +nova.tests.unit.network.test_linux_net.LinuxNetworkUtilsTestCase.test_is_pid_cmdline_correct +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_create_networks +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_create_networks_cidr_already_used +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_create_networks_many +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_create_networks_with_uuid +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_deallocate_for_instance_passes_host_info +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_deallocate_for_instance_passes_host_info_with_update_dns_entries +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_deallocate_for_instance_with_requested_networks +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_deallocate_for_instance_with_update_dns_entries +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_disassociate_network +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_disassociate_network_not_found +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_fixed_cidr_out_of_range +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_fixed_ip_cleanup_rollback +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_flatdhcpmanager_dynamic_fixed_range +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_get_all_networks +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_get_instance_nw_info_client_exceptions +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_get_instance_uuids_by_ip +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_get_instance_uuids_by_ip_regex +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_get_instance_uuids_by_ipv6_regex +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_get_network +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_get_network_not_found +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_remove_fixed_ip_from_instance +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_remove_fixed_ip_from_instance_bad_input +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_validate_cidrs +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_validate_cidrs_already_used +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_validate_cidrs_conflict_existing_supernet +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_validate_cidrs_one_in_use +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_validate_cidrs_smaller_subnet_in_use +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_validate_cidrs_split_all_in_use +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_validate_cidrs_split_cidr_in_use_middle_of_range +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_validate_cidrs_split_exact_in_half +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_validate_cidrs_split_partial +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_validate_cidrs_split_smaller_cidr_in_use +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_validate_cidrs_split_smaller_cidr_in_use2 +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_validate_cidrs_too_many +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_validate_instance_zone_for_dns_domain +nova.tests.unit.network.test_manager.CommonNetworkTestCase.test_vlanmanager_dynamic_fixed_range +nova.tests.unit.network.test_manager.FlatDHCPNetworkTestCase.test_init_host_iptables_defer_apply +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_add_fixed_ip_instance_using_id_without_vpn +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_add_fixed_ip_instance_using_uuid_without_vpn +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_allocate_calculates_quota_auth +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_allocate_fixed_ip_add_vif_fails +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_allocate_fixed_ip_cleanup +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_allocate_fixed_ip_create_new_vifs +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_allocate_fixed_ip_instance_dns +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_allocate_fixed_ip_passes_string_address +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_allocate_floating_ip +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_associate_floating_ip +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_deallocate_calculates_quota_auth +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_deallocate_floating_ip +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_disassociate_floating_ip +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_get_instance_nw_info +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_get_instance_nw_info_fake +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_get_networks_by_uuids_ordering +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_mini_dns_driver +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_mini_dns_driver_with_mixed_case +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_validate_cidr_invalid +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_validate_networks +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_validate_networks_empty_fixed_ip +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_validate_networks_empty_requested_networks +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_validate_networks_invalid_fixed_ip +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_validate_networks_none_fixed_ip +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_validate_networks_none_requested_networks +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_validate_networks_valid_fixed_ipv6 +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_validate_non_int_size +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_validate_reserved +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_validate_reserved_end_invalid +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_validate_reserved_start_end +nova.tests.unit.network.test_manager.FlatNetworkTestCase.test_validate_reserved_start_out_of_range +nova.tests.unit.network.test_manager.NetworkManagerNoDBTestCase.test_deallocate_fixed_ip_explicit_disassociate +nova.tests.unit.network.test_manager.NetworkManagerNoDBTestCase.test_release_fixed_ip_allocated +nova.tests.unit.network.test_manager.NetworkManagerNoDBTestCase.test_release_fixed_ip_mac_matches_associated_instance +nova.tests.unit.network.test_manager.NetworkManagerNoDBTestCase.test_release_fixed_ip_mac_mismatch_associated_instance +nova.tests.unit.network.test_manager.NetworkManagerNoDBTestCase.test_release_fixed_ip_no_mac +nova.tests.unit.network.test_manager.NetworkManagerNoDBTestCase.test_release_fixed_ip_not_associated +nova.tests.unit.network.test_manager.NetworkManagerNoDBTestCase.test_release_fixed_ip_vif_not_found_for_mac +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_add_fixed_ip_instance_without_vpn_requested_networks +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_add_floating_ip_nat_before_bind +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_allocate_fixed_ip +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_allocate_fixed_ip_add_vif_fails +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_allocate_fixed_ip_passes_string_address +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_allocate_fixed_ip_passes_string_address_vpn +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_allocate_fixed_ip_return_none +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_allocate_floating_ip +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_associate_floating_ip +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_create_networks_too_big +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_create_networks_too_many +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_deallocate_fixed +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_deallocate_fixed_deleted +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_deallocate_fixed_no_vif +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_deallocate_fixed_rpc_pinned +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_deallocate_fixed_with_dhcp +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_deallocate_fixed_without_dhcp +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_deallocate_floating_ip +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_disassociate_floating_ip +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_duplicate_vlan_raises +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_fixed_ip_cleanup_fail +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_floating_ip_init_host_with_public_interface +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_floating_ip_init_host_without_public_interface +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_floating_ip_owned_by_project +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_get_networks_by_uuids_ordering +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_init_host_iptables_defer_apply +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_ip_association_and_allocation_of_other_project +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_quota_driver_type +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_validate_networks +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_validate_networks_empty_fixed_ip +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_validate_networks_empty_requested_networks +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_validate_networks_invalid_fixed_ip +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_validate_networks_none_fixed_ip +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_validate_networks_none_requested_networks +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_vlan_be_integer +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_vlan_multiple_with_dhcp_server +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_vlan_multiple_without_dhcp_server +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_vlan_parameter +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_vlan_start +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_vlan_start_multiple +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_vlan_start_used +nova.tests.unit.network.test_manager.VlanNetworkTestCase.test_vpn_allocate_fixed_ip +nova.tests.unit.network.test_network_info.NetworkInfoTests.test_create_async_model +nova.tests.unit.network.test_network_info.NetworkInfoTests.test_create_async_model_exceptions +nova.tests.unit.network.test_network_info.NetworkInfoTests.test_create_model +nova.tests.unit.network.test_network_info.NetworkInfoTests.test_get_floating_ips +nova.tests.unit.network.test_network_info.NetworkInfoTests.test_hydrate +nova.tests.unit.network.test_network_info.NetworkInfoTests.test_injection_dynamic +nova.tests.unit.network.test_network_info.NetworkInfoTests.test_injection_ipv6_two_interfaces +nova.tests.unit.network.test_network_info.NetworkInfoTests.test_injection_ipv6_with_lxc +nova.tests.unit.network.test_network_info.NetworkInfoTests.test_injection_ipv6_with_lxc_no_gateway +nova.tests.unit.network.test_network_info.NetworkInfoTests.test_injection_static +nova.tests.unit.network.test_network_info.NetworkInfoTests.test_injection_static_ipv6 +nova.tests.unit.network.test_network_info.NetworkInfoTests.test_injection_static_ipv6_no_gateway +nova.tests.unit.network.test_network_info.NetworkInfoTests.test_injection_static_no_dns +nova.tests.unit.network.test_network_info.NetworkInfoTests.test_injection_static_no_gateway +nova.tests.unit.network.test_network_info.NetworkInfoTests.test_injection_static_overriden_template +nova.tests.unit.network.test_network_info.NetworkInfoTests.test_injection_static_with_ipv4_off +nova.tests.unit.network.test_network_info.NetworkTests.test_add_subnet +nova.tests.unit.network.test_network_info.NetworkTests.test_add_subnet_a_lot +nova.tests.unit.network.test_network_info.NetworkTests.test_create_network +nova.tests.unit.network.test_network_info.NetworkTests.test_hydrate +nova.tests.unit.network.test_network_info.NetworkTests.test_network_equal +nova.tests.unit.network.test_network_info.NetworkTests.test_network_not_equal +nova.tests.unit.network.test_network_info.TestNetworkMetadata.test__get_default_route +nova.tests.unit.network.test_network_info.TestNetworkMetadata.test__get_dns_services +nova.tests.unit.network.test_network_info.TestNetworkMetadata.test__get_eth_link +nova.tests.unit.network.test_network_info.TestNetworkMetadata.test__get_eth_link_physical +nova.tests.unit.network.test_network_info.TestNetworkMetadata.test__get_nets +nova.tests.unit.network.test_network_info.TestNetworkMetadata.test_get_network_metadata +nova.tests.unit.network.test_network_info.TestNetworkMetadata.test_get_network_metadata_json +nova.tests.unit.network.test_network_info.TestNetworkMetadata.test_get_network_metadata_json_dhcp +nova.tests.unit.network.test_network_info.TestNetworkMetadata.test_get_network_metadata_no_ipv4 +nova.tests.unit.network.test_network_info.VIFTests.test_create_vif +nova.tests.unit.network.test_network_info.VIFTests.test_create_vif_with_type +nova.tests.unit.network.test_network_info.VIFTests.test_hydrate_vif_with_type +nova.tests.unit.network.test_network_info.VIFTests.test_vif_equal +nova.tests.unit.network.test_network_info.VIFTests.test_vif_get_fixed_ips +nova.tests.unit.network.test_network_info.VIFTests.test_vif_get_floating_ips +nova.tests.unit.network.test_network_info.VIFTests.test_vif_get_labeled_ips +nova.tests.unit.network.test_network_info.VIFTests.test_vif_not_equal +nova.tests.unit.network.test_neutronv2.TestNeutronv2AutoAllocateNetwork.test__auto_allocate_network +nova.tests.unit.network.test_neutronv2.TestNeutronv2AutoAllocateNetwork.test__auto_allocate_network_conflict +nova.tests.unit.network.test_neutronv2.TestNeutronv2AutoAllocateNetwork.test__auto_allocate_network_network_not_found +nova.tests.unit.network.test_neutronv2.TestNeutronv2AutoAllocateNetwork.test__can_auto_allocate_network +nova.tests.unit.network.test_neutronv2.TestNeutronv2AutoAllocateNetwork.test__can_auto_allocate_network_no_extension +nova.tests.unit.network.test_neutronv2.TestNeutronv2AutoAllocateNetwork.test__can_auto_allocate_network_validation_conflict +nova.tests.unit.network.test_neutronv2.TestNeutronv2AutoAllocateNetwork.test__has_auto_allocate_extension_empty +nova.tests.unit.network.test_neutronv2.TestNeutronv2AutoAllocateNetwork.test__has_auto_allocate_extension_false +nova.tests.unit.network.test_neutronv2.TestNeutronv2AutoAllocateNetwork.test__has_auto_allocate_extension_refresh_ok +nova.tests.unit.network.test_neutronv2.TestNeutronv2AutoAllocateNetwork.test__ports_needed_per_instance_auto_reqs_no_nets_not_ready +nova.tests.unit.network.test_neutronv2.TestNeutronv2AutoAllocateNetwork.test__ports_needed_per_instance_auto_reqs_no_nets_ok +nova.tests.unit.network.test_neutronv2.TestNeutronv2AutoAllocateNetwork.test__ports_needed_per_instance_empty_reqs_no_nets +nova.tests.unit.network.test_neutronv2.TestNeutronv2AutoAllocateNetwork.test__ports_needed_per_instance_no_reqs_no_nets +nova.tests.unit.network.test_neutronv2.TestNeutronv2AutoAllocateNetwork.test__validate_requested_port_ids_auto_allocate +nova.tests.unit.network.test_neutronv2.TestNeutronv2AutoAllocateNetwork.test_allocate_for_instance_auto_allocate +nova.tests.unit.network.test_neutronv2.TestNeutronv2WithMock.test_update_ports_for_instance_fails_rollback_ports_and_vifs +nova.tests.unit.network.test_os_vif_util.OSVIFUtilTestCase.test_is_firewall_required_not +nova.tests.unit.network.test_os_vif_util.OSVIFUtilTestCase.test_is_firewall_required_via_driver +nova.tests.unit.network.test_os_vif_util.OSVIFUtilTestCase.test_is_firewall_required_via_vif +nova.tests.unit.network.test_os_vif_util.OSVIFUtilTestCase.test_nova_to_osvif_instance +nova.tests.unit.network.test_os_vif_util.OSVIFUtilTestCase.test_nova_to_osvif_instance_minimal +nova.tests.unit.network.test_os_vif_util.OSVIFUtilTestCase.test_nova_to_osvif_ips +nova.tests.unit.network.test_os_vif_util.OSVIFUtilTestCase.test_nova_to_osvif_network +nova.tests.unit.network.test_os_vif_util.OSVIFUtilTestCase.test_nova_to_osvif_network_extra +nova.tests.unit.network.test_os_vif_util.OSVIFUtilTestCase.test_nova_to_osvif_network_labeled_no_bridge +nova.tests.unit.network.test_os_vif_util.OSVIFUtilTestCase.test_nova_to_osvif_network_labeled_no_vlan +nova.tests.unit.network.test_os_vif_util.OSVIFUtilTestCase.test_nova_to_osvif_network_mtu +nova.tests.unit.network.test_os_vif_util.OSVIFUtilTestCase.test_nova_to_osvif_routes +nova.tests.unit.network.test_os_vif_util.OSVIFUtilTestCase.test_nova_to_osvif_subnets +nova.tests.unit.network.test_os_vif_util.OSVIFUtilTestCase.test_nova_to_osvif_vhostuser_non_ovs +nova.tests.unit.network.test_os_vif_util.OSVIFUtilTestCase.test_nova_to_osvif_vhostuser_ovs +nova.tests.unit.network.test_os_vif_util.OSVIFUtilTestCase.test_nova_to_osvif_vhostuser_ovs_no_socket_path +nova.tests.unit.network.test_os_vif_util.OSVIFUtilTestCase.test_nova_to_osvif_vif_ivs_plain +nova.tests.unit.network.test_os_vif_util.OSVIFUtilTestCase.test_nova_to_osvif_vif_linux_bridge +nova.tests.unit.network.test_os_vif_util.OSVIFUtilTestCase.test_nova_to_osvif_vif_ovs_hybrid +nova.tests.unit.network.test_os_vif_util.OSVIFUtilTestCase.test_nova_to_osvif_vif_ovs_plain +nova.tests.unit.network.test_os_vif_util.OSVIFUtilTestCase.test_nova_to_osvif_vif_unknown +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test__associate_floating_ip +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test__disassociate_floating_ip +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_add_dns_entry +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_add_fixed_ip_to_instance +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_add_network_to_project +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_allocate_for_instance +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_create_networks +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_create_private_dns_domain +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_create_public_dns_domain +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_deallocate_fixed_ip +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_deallocate_for_instance +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_deallocate_for_instance_with_expected_networks +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_delete_dns_domain +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_delete_dns_entry +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_delete_network +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_get_dns_domains +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_get_dns_entries_by_address +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_get_dns_entries_by_name +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_get_instance_nw_info +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_lease_fixed_ip +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_migrate_instance_finish +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_migrate_instance_finish_multi_host +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_migrate_instance_start +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_migrate_instance_start_multi_host +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_modify_dns_entry +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_release_dhcp +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_release_dhcp_v116 +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_release_fixed_ip +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_release_fixed_ip_no_mac_support +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_remove_fixed_ip_from_instance +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_rpc_allocate_fixed_ip +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_rpc_setup_network_on_host +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_set_network_host +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_set_network_host_network_object_to_primitive +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_setup_networks_on_host +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_setup_networks_on_host_v1_0 +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_update_dns +nova.tests.unit.network.test_rpcapi.NetworkRpcAPITestCase.test_validate_networks +nova.tests.unit.objects.test_fields.TestNetworkModel.test_coerce_bad_values +nova.tests.unit.objects.test_fields.TestNetworkModel.test_coerce_good_values +nova.tests.unit.objects.test_fields.TestNetworkModel.test_from_primitive +nova.tests.unit.objects.test_fields.TestNetworkModel.test_stringify +nova.tests.unit.objects.test_fields.TestNetworkModel.test_to_primitive +nova.tests.unit.objects.test_fixed_ip.TestFixedIPObject.test_associate_pool_with_vif +nova.tests.unit.objects.test_fixed_ip.TestFixedIPObject.test_associate_with_vif +nova.tests.unit.objects.test_fixed_ip.TestRemoteFixedIPObject.test_associate_pool_with_vif +nova.tests.unit.objects.test_fixed_ip.TestRemoteFixedIPObject.test_associate_with_vif +nova.tests.unit.objects.test_network.TestNetworkObject.test_associate +nova.tests.unit.objects.test_network.TestNetworkObject.test_compat_version_1_1 +nova.tests.unit.objects.test_network.TestNetworkObject.test_create +nova.tests.unit.objects.test_network.TestNetworkObject.test_destroy +nova.tests.unit.objects.test_network.TestNetworkObject.test_disassociate +nova.tests.unit.objects.test_network.TestNetworkObject.test_get_all +nova.tests.unit.objects.test_network.TestNetworkObject.test_get_all_by_host +nova.tests.unit.objects.test_network.TestNetworkObject.test_get_all_by_project +nova.tests.unit.objects.test_network.TestNetworkObject.test_get_all_by_uuids +nova.tests.unit.objects.test_network.TestNetworkObject.test_get_by_cidr +nova.tests.unit.objects.test_network.TestNetworkObject.test_get_by_id +nova.tests.unit.objects.test_network.TestNetworkObject.test_get_by_uuid +nova.tests.unit.objects.test_network.TestNetworkObject.test_in_use_on_host +nova.tests.unit.objects.test_network.TestNetworkObject.test_save +nova.tests.unit.objects.test_network.TestNetworkObject.test_save_with_host +nova.tests.unit.objects.test_network.TestNetworkObject.test_save_with_host_and_other +nova.tests.unit.objects.test_network.TestRemoteNetworkObject.test_associate +nova.tests.unit.objects.test_network.TestRemoteNetworkObject.test_compat_version_1_1 +nova.tests.unit.objects.test_network.TestRemoteNetworkObject.test_create +nova.tests.unit.objects.test_network.TestRemoteNetworkObject.test_destroy +nova.tests.unit.objects.test_network.TestRemoteNetworkObject.test_disassociate +nova.tests.unit.objects.test_network.TestRemoteNetworkObject.test_get_all +nova.tests.unit.objects.test_network.TestRemoteNetworkObject.test_get_all_by_host +nova.tests.unit.objects.test_network.TestRemoteNetworkObject.test_get_all_by_project +nova.tests.unit.objects.test_network.TestRemoteNetworkObject.test_get_all_by_uuids +nova.tests.unit.objects.test_network.TestRemoteNetworkObject.test_get_by_cidr +nova.tests.unit.objects.test_network.TestRemoteNetworkObject.test_get_by_id +nova.tests.unit.objects.test_network.TestRemoteNetworkObject.test_get_by_uuid +nova.tests.unit.objects.test_network.TestRemoteNetworkObject.test_in_use_on_host +nova.tests.unit.objects.test_network.TestRemoteNetworkObject.test_save +nova.tests.unit.objects.test_network.TestRemoteNetworkObject.test_save_with_host +nova.tests.unit.objects.test_network.TestRemoteNetworkObject.test_save_with_host_and_other +nova.tests.unit.objects.test_network_request.TestNetworkRequestObject.test_auto_allocate +nova.tests.unit.objects.test_network_request.TestNetworkRequestObject.test_basic +nova.tests.unit.objects.test_network_request.TestNetworkRequestObject.test_from_tuples_neutron +nova.tests.unit.objects.test_network_request.TestNetworkRequestObject.test_from_tuples_nova +nova.tests.unit.objects.test_network_request.TestNetworkRequestObject.test_is_single_unspecified +nova.tests.unit.objects.test_network_request.TestNetworkRequestObject.test_list_as_tuples +nova.tests.unit.objects.test_network_request.TestNetworkRequestObject.test_load +nova.tests.unit.objects.test_network_request.TestNetworkRequestObject.test_no_allocate +nova.tests.unit.objects.test_network_request.TestNetworkRequestObject.test_obj_make_compatible_pre_1_2 +nova.tests.unit.objects.test_network_request.TestNetworkRequestObject.test_to_tuple_neutron +nova.tests.unit.objects.test_network_request.TestNetworkRequestObject.test_to_tuple_nova +nova.tests.unit.objects.test_network_request.TestNetworkRequestRemoteObject.test_auto_allocate +nova.tests.unit.objects.test_network_request.TestNetworkRequestRemoteObject.test_basic +nova.tests.unit.objects.test_network_request.TestNetworkRequestRemoteObject.test_from_tuples_neutron +nova.tests.unit.objects.test_network_request.TestNetworkRequestRemoteObject.test_from_tuples_nova +nova.tests.unit.objects.test_network_request.TestNetworkRequestRemoteObject.test_is_single_unspecified +nova.tests.unit.objects.test_network_request.TestNetworkRequestRemoteObject.test_list_as_tuples +nova.tests.unit.objects.test_network_request.TestNetworkRequestRemoteObject.test_load +nova.tests.unit.objects.test_network_request.TestNetworkRequestRemoteObject.test_no_allocate +nova.tests.unit.objects.test_network_request.TestNetworkRequestRemoteObject.test_obj_make_compatible_pre_1_2 +nova.tests.unit.objects.test_network_request.TestNetworkRequestRemoteObject.test_to_tuple_neutron +nova.tests.unit.objects.test_network_request.TestNetworkRequestRemoteObject.test_to_tuple_nova +nova.tests.unit.test_notifications.NotificationsTestCase.test_payload_has_vif_mac_address +nova.tests.unit.test_nova_manage.NetworkCommandsTestCase.test_create +nova.tests.unit.test_nova_manage.NetworkCommandsTestCase.test_create_with_lable_too_long +nova.tests.unit.test_nova_manage.NetworkCommandsTestCase.test_create_without_cidr +nova.tests.unit.test_nova_manage.NetworkCommandsTestCase.test_create_without_lable +nova.tests.unit.test_nova_manage.NetworkCommandsTestCase.test_delete +nova.tests.unit.test_nova_manage.NetworkCommandsTestCase.test_delete_by_cidr +nova.tests.unit.test_nova_manage.NetworkCommandsTestCase.test_list +nova.tests.unit.test_nova_manage.NetworkCommandsTestCase.test_modify_associate +nova.tests.unit.test_nova_manage.NetworkCommandsTestCase.test_modify_disassociate +nova.tests.unit.test_nova_manage.NetworkCommandsTestCase.test_modify_unchanged +nova.tests.unit.test_nova_manage.NeutronV2NetworkCommandsTestCase.test_create +nova.tests.unit.test_nova_manage.NeutronV2NetworkCommandsTestCase.test_delete +nova.tests.unit.test_nova_manage.NeutronV2NetworkCommandsTestCase.test_list +nova.tests.unit.test_nova_manage.NeutronV2NetworkCommandsTestCase.test_modify +nova.tests.unit.virt.hyperv.test_driver.HyperVDriverTestCase.test_plug_vifs +nova.tests.unit.virt.hyperv.test_driver.HyperVDriverTestCase.test_unplug_vifs +nova.tests.unit.virt.hyperv.test_vif.HyperVNovaNetworkVIFDriverTestCase.test_plug +nova.tests.unit.virt.hyperv.test_vmops.VMOpsTestCase.test_get_vif_metadata +nova.tests.unit.virt.hyperv.test_vmops.VMOpsTestCase.test_load_vif_driver_neutron +nova.tests.unit.virt.hyperv.test_vmops.VMOpsTestCase.test_load_vif_driver_nova +nova.tests.unit.virt.hyperv.test_vmops.VMOpsTestCase.test_wait_vif_plug_events +nova.tests.unit.virt.ironic.test_driver.IronicDriverTestCase.test_plug_vifs +nova.tests.unit.virt.ironic.test_driver.IronicDriverTestCase.test_plug_vifs_count_mismatch +nova.tests.unit.virt.ironic.test_driver.IronicDriverTestCase.test_plug_vifs_multiple_ports +nova.tests.unit.virt.ironic.test_driver.IronicDriverTestCase.test_plug_vifs_no_network_info +nova.tests.unit.virt.ironic.test_driver.IronicDriverTestCase.test_plug_vifs_with_port +nova.tests.unit.virt.ironic.test_driver.IronicDriverTestCase.test_unplug_vifs +nova.tests.unit.virt.ironic.test_driver.IronicDriverTestCase.test_unplug_vifs_no_network_info +nova.tests.unit.virt.ironic.test_driver.IronicDriverTestCase.test_unplug_vifs_port_not_associated +nova.tests.unit.virt.libvirt.test_designer.DesignerTestCase.test_set_vif_bandwidth_config_no_extra_specs +nova.tests.unit.virt.libvirt.test_designer.DesignerTestCase.test_set_vif_guest_frontend_config +nova.tests.unit.virt.libvirt.test_designer.DesignerTestCase.test_set_vif_host_backend_802qbg_config +nova.tests.unit.virt.libvirt.test_designer.DesignerTestCase.test_set_vif_host_backend_802qbh_config_direct +nova.tests.unit.virt.libvirt.test_designer.DesignerTestCase.test_set_vif_host_backend_802qbh_config_hostdev +nova.tests.unit.virt.libvirt.test_designer.DesignerTestCase.test_set_vif_host_backend_bridge_config +nova.tests.unit.virt.libvirt.test_designer.DesignerTestCase.test_set_vif_host_backend_direct_config +nova.tests.unit.virt.libvirt.test_designer.DesignerTestCase.test_set_vif_host_backend_ethernet_config +nova.tests.unit.virt.libvirt.test_designer.DesignerTestCase.test_set_vif_host_backend_hostdev_pci_config +nova.tests.unit.virt.libvirt.test_designer.DesignerTestCase.test_set_vif_host_backend_hw_veb_direct +nova.tests.unit.virt.libvirt.test_designer.DesignerTestCase.test_set_vif_host_backend_hw_veb_hostdev +nova.tests.unit.virt.libvirt.test_designer.DesignerTestCase.test_set_vif_host_backend_vhostuser_config +nova.tests.unit.virt.libvirt.test_driver.LibvirtConnTestCase.test_cleanup_wants_vif_errors_ignored +nova.tests.unit.virt.libvirt.test_driver.LibvirtConnTestCase.test_pre_live_migration_plug_vifs_retry_fails +nova.tests.unit.virt.libvirt.test_driver.LibvirtConnTestCase.test_pre_live_migration_plug_vifs_retry_works +nova.tests.unit.virt.libvirt.test_driver.LibvirtConnTestCase.test_unplug_vifs_ignores_errors +nova.tests.unit.virt.libvirt.test_driver.LibvirtConnTestCase.test_unplug_vifs_reports_errors +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_config_os_vif_bridge +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_config_os_vif_bridge_nofw +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_config_os_vif_ovs +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_config_os_vif_ovs_hybrid +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_direct_plug_with_port_filter_cap_no_nova_firewall +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_driver_macvtap_exception +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_driver_macvtap_flat +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_driver_macvtap_vlan +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_generic_8021qbg_driver +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_generic_8021qbh_driver +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_generic_driver_bridge +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_generic_driver_none +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_generic_hybrid_driver +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_generic_iovisor_driver +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_generic_ivs_virtualport_driver +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_generic_ovs_virtualport_driver +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_hostdev_physical_driver +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_hw_veb_driver +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_hw_veb_driver_macvtap +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_hybrid_plug_without_nova_firewall +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_ib_hostdev_driver +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_ivs_ethernet_driver +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_ivs_hybrid_driver +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_ivs_plug_with_nova_firewall +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_ivs_plug_with_port_filter_direct_no_nova_firewall +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_ivs_plug_with_port_filter_hybrid_no_nova_firewall +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_macvtap_plug_flat +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_macvtap_plug_vlan +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_midonet_ethernet_vif_driver +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_model_kvm +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_model_kvm_qemu_parallels_custom +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_model_novirtio +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_model_parallels +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_model_qemu_iptables +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_model_qemu_no_firewall +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_model_with_osinfo +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_model_xen +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_multiple_nics +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_osvif_plug_fail +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_osvif_plug_normal +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_osvif_unplug_fail +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_osvif_unplug_normal +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_plug_hw_veb +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_plug_iovisor +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_plug_ivs_hybrid +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_plug_tap +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_plug_vrouter_with_details +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_plug_vrouter_with_details_multiqueue +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_tap_ethernet_vif_driver +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_unplug_hw_veb +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_unplug_iovisor +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_unplug_ivs_ethernet +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_unplug_ivs_hybrid +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_unplug_ivs_hybrid_bridge_does_not_exist +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_unplug_tap +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_unplug_vrouter_with_details +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_vhostuser_driver +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_vhostuser_driver_no_path +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_vhostuser_driver_ovs +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_vhostuser_fp_plug +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_vhostuser_fp_unplug +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_vhostuser_no_queues +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_vhostuser_os_vif_multiqueue +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_vhostuser_ovs_fp_hybrid_plug +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_vhostuser_ovs_fp_hybrid_unplug +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_vhostuser_ovs_fp_plug +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_vhostuser_ovs_fp_unplug +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_virtio_multiqueue +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_virtio_multiqueue_in_kernel_2 +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_virtio_multiqueue_in_kernel_3 +nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase.test_virtio_multiqueue_in_kernel_4 +nova.tests.unit.virt.test_virt_drivers.LibvirtConnTestCase.test_unplug_vifs_with_destroy_vifs_false +nova.tests.unit.virt.test_virt_drivers.LibvirtConnTestCase.test_unplug_vifs_with_destroy_vifs_true +nova.tests.unit.virt.vmwareapi.test_driver_api.VMwareAPIVMTestCase.test_detach_interface_no_vif_match +nova.tests.unit.virt.vmwareapi.test_driver_api.VMwareAPIVMTestCase.test_plug_vifs +nova.tests.unit.virt.vmwareapi.test_driver_api.VMwareAPIVMTestCase.test_unplug_vifs +nova.tests.unit.virt.vmwareapi.test_network_util.GetNetworkWithTheNameTestCase.test_get_network_dvs_exact_match +nova.tests.unit.virt.vmwareapi.test_network_util.GetNetworkWithTheNameTestCase.test_get_network_dvs_match +nova.tests.unit.virt.vmwareapi.test_network_util.GetNetworkWithTheNameTestCase.test_get_network_dvs_match_with_token +nova.tests.unit.virt.vmwareapi.test_network_util.GetNetworkWithTheNameTestCase.test_get_network_network_match +nova.tests.unit.virt.vmwareapi.test_network_util.GetNetworkWithTheNameTestCase.test_get_network_no_match +nova.tests.unit.virt.vmwareapi.test_vif.VMwareVifTestCase.test_check_invalid_ovs_version +nova.tests.unit.virt.vmwareapi.test_vif.VMwareVifTestCase.test_create_port_group_already_exists +nova.tests.unit.virt.vmwareapi.test_vif.VMwareVifTestCase.test_create_port_group_exception +nova.tests.unit.virt.vmwareapi.test_vif.VMwareVifTestCase.test_ensure_vlan_bridge +nova.tests.unit.virt.vmwareapi.test_vif.VMwareVifTestCase.test_ensure_vlan_bridge_with_existing_dvs +nova.tests.unit.virt.vmwareapi.test_vif.VMwareVifTestCase.test_ensure_vlan_bridge_with_network +nova.tests.unit.virt.vmwareapi.test_vif.VMwareVifTestCase.test_ensure_vlan_bridge_without_vlan +nova.tests.unit.virt.vmwareapi.test_vif.VMwareVifTestCase.test_get_network_ref_bridge +nova.tests.unit.virt.vmwareapi.test_vif.VMwareVifTestCase.test_get_network_ref_flat_dhcp +nova.tests.unit.virt.vmwareapi.test_vif.VMwareVifTestCase.test_get_neutron_network_dvs +nova.tests.unit.virt.vmwareapi.test_vif.VMwareVifTestCase.test_get_neutron_network_dvs_no_match +nova.tests.unit.virt.vmwareapi.test_vif.VMwareVifTestCase.test_get_neutron_network_dvs_vif_details +nova.tests.unit.virt.vmwareapi.test_vif.VMwareVifTestCase.test_get_neutron_network_invalid_type +nova.tests.unit.virt.vmwareapi.test_vif.VMwareVifTestCase.test_get_neutron_network_ovs +nova.tests.unit.virt.vmwareapi.test_vif.VMwareVifTestCase.test_get_neutron_network_ovs_integration_bridge +nova.tests.unit.virt.vmwareapi.test_vif.VMwareVifTestCase.test_get_neutron_network_ovs_logical_switch_id +nova.tests.unit.virt.vmwareapi.test_vif.VMwareVifTestCase.test_get_vif_info +nova.tests.unit.virt.vmwareapi.test_vif.VMwareVifTestCase.test_get_vif_info_none +nova.tests.unit.virt.vmwareapi.test_vm_util.VMwareVMUtilTestCase.test_convert_vif_model +nova.tests.unit.virt.vmwareapi.test_vm_util.VMwareVMUtilTestCase.test_get_create_vif_spec +nova.tests.unit.virt.vmwareapi.test_vm_util.VMwareVMUtilTestCase.test_get_create_vif_spec_dvs_port_key +nova.tests.unit.virt.vmwareapi.test_vmops.VMwareVMOpsTestCase.test_extra_specs_vif_shares_custom_pos01 +nova.tests.unit.virt.vmwareapi.test_vmops.VMwareVMOpsTestCase.test_extra_specs_vif_shares_with_invalid_level +nova.tests.unit.virt.vmwareapi.test_vmops.VMwareVMOpsTestCase.test_spawn_vif_limit +nova.tests.unit.virt.vmwareapi.test_vmops.VMwareVMOpsTestCase.test_spawn_vif_reservation +nova.tests.unit.virt.vmwareapi.test_vmops.VMwareVMOpsTestCase.test_spawn_vif_shares_custom +nova.tests.unit.virt.vmwareapi.test_vmops.VMwareVMOpsTestCase.test_spawn_vif_shares_level +nova.tests.unit.virt.xenapi.test_network_utils.NetworkUtilsTestCase.test_find_network_with_bridge_raises_no_networks +nova.tests.unit.virt.xenapi.test_network_utils.NetworkUtilsTestCase.test_find_network_with_bridge_raises_too_many +nova.tests.unit.virt.xenapi.test_network_utils.NetworkUtilsTestCase.test_find_network_with_bridge_works +nova.tests.unit.virt.xenapi.test_network_utils.NetworkUtilsTestCase.test_find_network_with_name_label_raises +nova.tests.unit.virt.xenapi.test_network_utils.NetworkUtilsTestCase.test_find_network_with_name_label_works +nova.tests.unit.virt.xenapi.test_network_utils.NetworkUtilsTestCase.test_find_network_with_name_returns_none +nova.tests.unit.virt.xenapi.test_vif.XenAPIBridgeDriverTestCase.test_plug_create_vlan +nova.tests.unit.virt.xenapi.test_vif.XenAPIOpenVswitchDriverTestCase.test_create_vif_interim_network_exist +nova.tests.unit.virt.xenapi.test_vif.XenAPIOpenVswitchDriverTestCase.test_create_vif_interim_network_new +nova.tests.unit.virt.xenapi.test_vif.XenAPIOpenVswitchDriverTestCase.test_plug +nova.tests.unit.virt.xenapi.test_vif.XenAPIOpenVswitchDriverTestCase.test_post_start_actions +nova.tests.unit.virt.xenapi.test_vif.XenAPIOpenVswitchDriverTestCase.test_unplug +nova.tests.unit.virt.xenapi.test_vif.XenAPIOpenVswitchDriverTestCase.test_unplug_exception +nova.tests.unit.virt.xenapi.test_vif.XenVIFDriverTestCase.test_create_vif +nova.tests.unit.virt.xenapi.test_vif.XenVIFDriverTestCase.test_create_vif_exception +nova.tests.unit.virt.xenapi.test_vif.XenVIFDriverTestCase.test_get_vif_ref +nova.tests.unit.virt.xenapi.test_vif.XenVIFDriverTestCase.test_get_vif_ref_none_and_exception +nova.tests.unit.virt.xenapi.test_vif.XenVIFDriverTestCase.test_unplug +nova.tests.unit.virt.xenapi.test_vif.XenVIFDriverTestCase.test_unplug_exception diff --git a/openstack/nova/wsgi-nova-placement-api.conf b/openstack/nova/wsgi-nova-placement-api.conf new file mode 100644 index 000000000..1f2769869 --- /dev/null +++ b/openstack/nova/wsgi-nova-placement-api.conf @@ -0,0 +1,32 @@ +Listen 8780 + + + WSGIDaemonProcess nova-placement-api processes=2 threads=1 user=nova group=nova display-name=%{GROUP} + WSGIProcessGroup nova-placement-api + WSGIScriptAlias / /usr/local/bin/nova-placement-api + WSGIApplicationGroup %{GLOBAL} + WSGIPassAuthorization On + + = 2.4> + Require all granted + + + Order allow,deny + Allow from all + + + = 2.4> + ErrorLogFormat "%{cu}t %M" + + ErrorLog /var/log/apache2/nova-placement-api.log + CustomLog /var/log/apache2/nova-placement-api_access.log combined + + +Alias /placement /usr/local/bin/nova-placement-api + + SetHandler wsgi-script + Options +ExecCGI + WSGIProcessGroup nova-placement-api + WSGIApplicationGroup %{GLOBAL} + WSGIPassAuthorization On +