!13 update networking-generic-switch package for openstack wallaby
From: @liksh Reviewed-by: @xiyuanwang Signed-off-by: @xiyuanwang
This commit is contained in:
commit
bbe36bac5f
BIN
networking-generic-switch-5.0.0.tar.gz
Normal file
BIN
networking-generic-switch-5.0.0.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,11 +1,14 @@
|
||||
Name: python3-networking-generic-switch
|
||||
Version: 4.0.1
|
||||
Release: 2
|
||||
%global common_desc The Modular Layer 2 (ml2) plugin driver, that allow to work \
|
||||
with switches from different vendors. It uses netmiko library \
|
||||
that configures equipment via SSH.
|
||||
Name: networking-generic-switch
|
||||
Version: 5.0.0
|
||||
Release: 1
|
||||
Summary: Generic Switch ML2 Neutron Driver
|
||||
License: ASL 2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://launchpad.net/networking-generic-switch
|
||||
Source0: https://tarballs.openstack.org/networking-generic-switch/networking-generic-switch-stable-victoria.tar.gz
|
||||
Source0: https://files.pythonhosted.org/packages/a1/7a/d3b4143c27c4c29700685273512233665950c4085fefdb4ba6b7464608a2/networking-generic-switch-5.0.0.tar.gz
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: openstack-macros
|
||||
BuildRequires: python3-netmiko
|
||||
@ -38,13 +41,13 @@ Requires: python3-tooz
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
This is a Modular Layer 2 `Neutron Mechanism driver
|
||||
<https://wiki.openstack.org/wiki/Neutron/ML2>`_. The mechanism driver is
|
||||
responsible for applying configuration information to hardware equipment.
|
||||
``GenericSwitch`` provides a pluggable framework to implement
|
||||
functionality required for use-cases like OpenStack Ironic multi-tenancy mode.
|
||||
It abstracts applying changes to all switches managed by this ML2 plugin
|
||||
and handling ``local_link_information`` field of Neutron port.
|
||||
%{common_desc}
|
||||
|
||||
%package -n python3-networking_generic_switch
|
||||
Summary: Generic Switch ML2 Neutron Driver
|
||||
|
||||
%description -n python3-networking_generic_switch
|
||||
%{common_desc}
|
||||
|
||||
%package doc
|
||||
Summary: Generic Switch ML2 Neutron Driver Doc
|
||||
@ -57,13 +60,11 @@ BuildRequires: python3-sphinxcontrib-apidoc
|
||||
Documentation for OpenStack Generic Switch ML2 Neutron Driver.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n networking-generic-switch-4.0.1.dev4
|
||||
%autosetup
|
||||
%py_req_cleanup
|
||||
|
||||
%build
|
||||
%{py3_build}
|
||||
|
||||
PBR_VERSION=4.0.1.dev4 sphinx-build -b html doc/source doc/build/html
|
||||
# remove the sphinx-build leftovers
|
||||
rm -rf doc/build/html/.{doctrees,buildinfo}
|
||||
|
||||
@ -74,7 +75,7 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
|
||||
%check
|
||||
%{__python3} -m stestr.cli run
|
||||
|
||||
%files
|
||||
%files -n python3-networking_generic_switch
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python3_sitelib}/networking_generic_switch
|
||||
@ -82,9 +83,11 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
|
||||
|
||||
%files doc
|
||||
%license LICENSE
|
||||
%doc doc/build/html
|
||||
|
||||
%changelog
|
||||
* Thu Jul 15 2021 liksh <liks11@chinaunicom.cn> - 5.0.0-1
|
||||
- update 4.0.1 to 5.0.0
|
||||
|
||||
* Mon Mar 15 2021 zhaorenhai <zhaorenhai@hotmail.com> - 4.0.1-2
|
||||
- Add source0 url
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user