summaryrefslogtreecommitdiffstats
path: root/.gitreview
blob: 1608e3a2ccf8ffd5b02281e0cd14abf968f425f1 (plain)
1
2
3
4
[gerrit]
host=gerrit.opnfv.org
port=29418
project=opnfvdocs.git
span>: python-networking-vpp Version: 0.0.1 Release: %{release}%{?git}%{?dist} License: Apache 2.0 Group: Applications/Internet Source0: python-networking-vpp.tar.gz Url: https://github.com/openstack/networking-vpp/ BuildArch: noarch AutoReq: no Requires: vpp Vendor: OpenStack <openstack-dev@lists.openstack.org> Packager: Feng Pan <fpan@redhat.com> %description ML2 Mechanism driver and small control plane for OpenVPP forwarder %prep %setup -q cat << EOF > %{_builddir}/neutron-vpp-agent.service [Unit] Description=Networking VPP ML2 Agent [Service] ExecStartPre=/usr/bin/systemctl is-active vpp ExecStart=/usr/bin/vpp-agent --config-file /etc/neutron/plugins/ml2/vpp_agent.ini Type=simple Restart=on-failure RestartSec=5s [Install] WantedBy=multi-user.target EOF %install python setup.py install -O1 --root=%{buildroot} --record=INSTALLED_FILES mkdir -p %{buildroot}%{_libdir}/systemd/system install %{_builddir}/neutron-vpp-agent.service %{buildroot}%{_unitdir} %clean rm -rf %{buildroot} %files -f INSTALLED_FILES %defattr(-,root,root) %attr(644,root,root) %{_unitdir}/neutron-vpp-agent.service