Merge "Adding L2GW Scenario"
[apex.git] / build / rpm_specs / opnfv-apex-common.spec
1 %global srcname opnfv-apex
2
3 Name:           python34-%{srcname}
4 Version:        6.0
5 Release:        %{_release}
6 Summary:        Scripts for OPNFV deployment using Apex
7
8 Group:          System Environment
9 License:        Apache 2.0
10 URL:            https://gerrit.opnfv.org/gerrit/apex.git
11 Source0:        opnfv-apex-common.tar.gz
12
13 BuildArch:      noarch
14 BuildRequires:  python-docutils python34-devel
15 Requires:       opnfv-apex-sdn opnfv-apex-undercloud openvswitch qemu-kvm bridge-utils libguestfs-tools python34-libvirt
16 Requires:       initscripts net-tools iputils iproute iptables python34 python34-yaml python34-jinja2 python3-ipmi python34-virtualbmc
17 Requires:       ipxe-roms-qemu >= 20160127-1
18 Requires:       libvirt-devel ansible
19 Requires:       python34-iptables python34-cryptography python34-pbr
20 Requires:       python34-GitPython python34-pygerrit2
21
22 %description
23 Scripts for OPNFV deployment using Apex
24 https://wiki.opnfv.org/apex
25
26 %prep
27 %autosetup -n %{srcname}-%{version}
28
29 %build
30 rst2html docs/release/installation/index.rst docs/release/installation/installation-instructions.html
31 rst2html docs/release/release-notes/release-notes.rst docs/release/release-notes/release-notes.html
32 %py3_build
33
34 %global __python %{__python3}
35
36 %install
37 mkdir -p %{buildroot}%{_bindir}/
38 %py3_install
39 install ci/util.sh %{buildroot}%{_bindir}/opnfv-util
40
41 mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d/
42 install build/bash_completion_apex %{buildroot}%{_sysconfdir}/bash_completion.d/apex
43
44 mkdir -p %{buildroot}%{_sysconfdir}/opnfv-apex/
45 cp -f %{buildroot}%{_datadir}/opnfv-apex/config/deploy/* %{buildroot}%{_sysconfdir}/opnfv-apex/
46 cp -f %{buildroot}%{_datadir}/opnfv-apex/config/network/* %{buildroot}%{_sysconfdir}/opnfv-apex/
47 rm -f %{buildroot}%{_sysconfdir}/opnfv-apex/os-odl-csit-noha.yaml
48 rm -f %{buildroot}%{_sysconfdir}/opnfv-apex/deploy_settings.yaml
49
50 mkdir -p %{buildroot}%{_docdir}/opnfv/
51 install LICENSE.rst %{buildroot}%{_docdir}/opnfv/
52 install docs/release/installation/installation-instructions.html %{buildroot}%{_docdir}/opnfv/
53 install docs/release/release-notes/index.rst %{buildroot}%{_docdir}/opnfv/release-notes.rst
54 install docs/release/release-notes/release-notes.html %{buildroot}%{_docdir}/opnfv/
55 install config/deploy/deploy_settings.yaml %{buildroot}%{_docdir}/opnfv/deploy_settings.yaml.example
56 install config/network/network_settings.yaml %{buildroot}%{_docdir}/opnfv/network_settings.yaml.example
57 install config/network/network_settings_v6.yaml %{buildroot}%{_docdir}/opnfv/network_settings_v6.yaml.example
58 install config/network/network_settings_vpp.yaml %{buildroot}%{_docdir}/opnfv/network_settings_vpp.yaml.example
59 install config/inventory/pod_example_settings.yaml %{buildroot}%{_docdir}/opnfv/inventory.yaml.example
60
61 %files
62 %{python3_sitelib}/apex/
63 %{python3_sitelib}/apex-*.egg-info
64 %defattr(644, root, root, 644)
65 %attr(755,root,root) %{_bindir}/opnfv-deploy
66 %attr(755,root,root) %{_bindir}/opnfv-clean
67 %attr(755,root,root) %{_bindir}/opnfv-util
68 %{_datadir}/opnfv-apex/
69 %{_sysconfdir}/bash_completion.d/apex
70 %{_sysconfdir}/opnfv-apex/os-nosdn-nofeature-noha.yaml
71 %{_sysconfdir}/opnfv-apex/os-nosdn-bar-noha.yaml
72 %{_sysconfdir}/opnfv-apex/os-nosdn-bar-ha.yaml
73 %{_sysconfdir}/opnfv-apex/os-nosdn-calipso-noha.yaml
74 %{_sysconfdir}/opnfv-apex/os-nosdn-fdio-noha.yaml
75 %{_sysconfdir}/opnfv-apex/os-nosdn-fdio-ha.yaml
76 %{_sysconfdir}/opnfv-apex/os-nosdn-ovs_dpdk-noha.yaml
77 %{_sysconfdir}/opnfv-apex/os-nosdn-nofeature-ha.yaml
78 %{_sysconfdir}/opnfv-apex/os-nosdn-performance-ha.yaml
79 %{_sysconfdir}/opnfv-apex/os-nosdn-pike-noha.yaml
80 %{_sysconfdir}/opnfv-apex/os-odl-pike-noha.yaml
81 %{_sysconfdir}/opnfv-apex/os-nosdn-ovs_dpdk-ha.yaml
82 %{_sysconfdir}/opnfv-apex/os-nosdn-kvm-ha.yaml
83 %{_sysconfdir}/opnfv-apex/os-nosdn-kvm-noha.yaml
84 %{_sysconfdir}/opnfv-apex/os-nosdn-kvm_ovs_dpdk-ha.yaml
85 %{_sysconfdir}/opnfv-apex/os-nosdn-kvm_ovs_dpdk-noha.yaml
86 %{_sysconfdir}/opnfv-apex/os-odl-bgpvpn-ha.yaml
87 %{_sysconfdir}/opnfv-apex/os-odl-bgpvpn-noha.yaml
88 %{_sysconfdir}/opnfv-apex/os-odl-sfc-ha.yaml
89 %{_sysconfdir}/opnfv-apex/os-odl-sfc-noha.yaml
90 %{_sysconfdir}/opnfv-apex/os-odl-fdio-noha.yaml
91 %{_sysconfdir}/opnfv-apex/os-odl_netvirt-fdio-noha.yaml
92 %{_sysconfdir}/opnfv-apex/os-odl-fdio-ha.yaml
93 %{_sysconfdir}/opnfv-apex/os-odl-fdio_dvr-ha.yaml
94 %{_sysconfdir}/opnfv-apex/os-odl-fdio_dvr-noha.yaml
95 %{_sysconfdir}/opnfv-apex/os-odl-l2gw-ha.yaml
96 %{_sysconfdir}/opnfv-apex/os-odl-l2gw-noha.yaml
97 %{_sysconfdir}/opnfv-apex/os-odl-ovs_dpdk-noha.yaml
98 %{_sysconfdir}/opnfv-apex/os-odl-ovs_dpdk-ha.yaml
99 %{_sysconfdir}/opnfv-apex/os-odl-nofeature-ha.yaml
100 %{_sysconfdir}/opnfv-apex/os-odl-nofeature-noha.yaml
101 %{_sysconfdir}/opnfv-apex/os-odl-gluon-noha.yaml
102 %{_sysconfdir}/opnfv-apex/os-ovn-nofeature-noha.yaml
103 %{_sysconfdir}/opnfv-apex/os-onos-nofeature-ha.yaml
104 %{_sysconfdir}/opnfv-apex/os-onos-sfc-ha.yaml
105 %{_sysconfdir}/opnfv-apex/os-ocl-nofeature-ha.yaml
106 %{_sysconfdir}/opnfv-apex/network_settings.yaml
107 %{_sysconfdir}/opnfv-apex/network_settings_vlans.yaml
108 %{_sysconfdir}/opnfv-apex/network_settings_v6.yaml
109 %{_sysconfdir}/opnfv-apex/network_settings_vpp.yaml
110 %doc %{_docdir}/opnfv/LICENSE.rst
111 %doc %{_docdir}/opnfv/installation-instructions.html
112 %doc %{_docdir}/opnfv/release-notes.rst
113 %doc %{_docdir}/opnfv/release-notes.html
114 %doc %{_docdir}/opnfv/deploy_settings.yaml.example
115 %doc %{_docdir}/opnfv/network_settings.yaml.example
116 %doc %{_docdir}/opnfv/network_settings_v6.yaml.example
117 %doc %{_docdir}/opnfv/network_settings_vpp.yaml.example
118 %doc %{_docdir}/opnfv/inventory.yaml.example
119
120 %changelog
121 * Wed Nov 29 2017 Tim Rozet <trozet@redhat.com> - 6.0-0
122   Bump version for Fraser
123 * Wed Oct 25 2017 Tim Rozet <trozet@redhat.com> - 5.0-9
124 - Adds GitPython and pygerrit2 dependencies
125 * Mon Oct 2 2017 Tim Rozet <trozet@redhat.com> - 5.0-8
126 - Adds upstream deployment scenario
127 * Wed Sep 20 2017 Tim Rozet <trozet@redhat.com> - 5.0-7
128 - Add calipso
129 * Fri Sep 08 2017 Tim Rozet <trozet@redhat.com> - 5.0-6
130 - Updates clean to use python
131 * Wed Aug 23 2017 Tim Rozet <trozet@redhat.com> - 5.0-5
132 - Updated requirements
133 * Mon Aug 14 2017 Tim Rozet <trozet@redhat.com> - 5.0-4
134 - Updated for python refactoring
135 * Mon May 08 2017 Dan Radez <dradez@redhat.com> - 5.0-3
136 - adding configure-vm
137 * Tue Apr 11 2017 Dan Radez <dradez@redhat.com> - 5.0-2
138 - Remove l2 scenario files
139 * Tue Apr 04 2017 Dan Radez <dradez@redhat.com> - 5.0-1
140 - Version update for Euphrates
141 - rename to ovs_dpdk
142 * Wed Mar 29 2017 Dan Radez <dradez@redhat.com> - 4.0-9
143 - Remove odl_l2-nofeature scenario file
144 - rename all odl_l3 scenario files to odl
145 * Thu Mar 23 2017 Tim Rozet <trozet@redhat.com> - 4.0-8
146 - Adds os-odl_l3-ovs-ha and noha scenarios
147 * Sun Mar 12 2017 Feng Pan <fpan@redhat.com> - 4.0-7
148 - Add os-nosdn-fdio-ha.yaml
149 * Fri Mar 10 2017 Feng Pan <fpan@redhat.com> - 4.0-6
150 - Add os-odl_l3-fdio-noha.yaml and os-odl_l3-fdio-ha.yaml
151 * Wed Mar 08 2017 Dan Radez <dradez@redhat.com> - 4.0-5
152 - Adding kvm4nfv files
153 - Adding OVN files
154 * Tue Feb 14 2017 Feng Pan <fpan@redhat.com> - 4.0-4
155 - Add network_settings_vpp.yaml
156 * Fri Feb 3 2017 Nikolas Hermanns <nikolas.hermanns@ericsson.com> - 4.0-3
157 - change odl_l3-gluon-noha to odl-gluon-noha
158 * Thu Feb 2 2017 Feng Pan <fpan@redhat.com> - 4.0-2
159 - Add odl_l3-gluon-noha config file
160 * Wed Nov 2 2016 Dan Radez <dradez@redhat.com> - 4.0-1
161 - Version update for Danube
162 * Fri Sep 16 2016 Dan Radez <dradez@redhat.com> - 3.0-13
163 - adding bash completion script
164 * Tue Aug 30 2016 Tim Rozet <trozet@redhat.com> - 3.0-12
165 - Add clean library.
166 * Mon Aug 1 2016 Tim Rozet <trozet@redhat.com> - 3.0-11
167 - Add nosdn fdio scenarios.
168 * Tue Jul 5 2016 Dan Radez <dradez@redhat.com> - 3.0-10
169 - Adding functions.sh files
170 * Wed Jun 15 2016 Tim Rozet <trozet@redhat.com> - 3.0-9
171 - Add fdio scenarios.
172 * Tue Jun 14 2016 Feng Pan <fpan@redhat.com> - 3.0-8
173 - Add network_settings_v6.yaml
174 * Thu Jun 2 2016 Michael Chapman <michapma@redhat.com> - 3.0-7
175 - Add custom libvirt domain.xml.
176 * Wed Jun 1 2016 Feng Pan <fpan@redhat.com> - 3.0-6
177 - Add performance deployment file
178 * Sun May 15 2016 Feng Pan <fpan@redhat.com> - 3.0-5
179 - Fixes python3 dependency.
180 * Sun May 8 2016 Feng Pan <fpan@redhat.com> - 3.0-4
181 - Adds dependency for python34-setuptools
182 * Fri Apr 22 2016 Feng Pan <fpan@redhat.com> - 3.0-3
183 - Adds python network setting parsing lib.
184 * Fri Apr 15 2016 Feng Pan <fpan@redhat.com> - 3.0-2
185 - Adds python ip utility lib.
186 * Mon Apr 11 2016 Tim Rozet <trozet@redhat.com> - 3.0-1
187 - adding opnfv-util
188 * Mon Apr 04 2016 Dan Radez <dradez@redhat.com> - 3.0-0
189 - Version update for Colorado
190 * Mon Apr 04 2016 Dan Radez <dradez@redhat.com> - 2.2-0
191 - adding dependencies initscripts net-tools iputils iproute iptables
192 * Wed Jan 27 2016 Tim Rozet <trozet@redhat.com> - 2.1-4
193 - Adds example inventory file and nosdn scenario
194 * Wed Jan 20 2016 Dan Radez <dradez@redhat.com> - 2.1-3
195 - Updating the installation instructions
196 * Thu Jan 14 2016 Dan Radez <dradez@redhat.com> - 2.1-2
197 - Package Split