11 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
12 %global python_sitearch %( python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)" )
13 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
18 Source0: %{name}-%{version}.tar.bz2
20 Group: Applications/System
21 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
24 Packager: PlanetLab Central <support@planet-lab.org>
25 Distribution: PlanetLab %{plrelease}
26 URL: %(echo %{url} | cut -d ' ' -f 2)
27 Summary: the SFA python libraries
28 Group: Applications/System
33 Requires: libxslt-python
36 # python 2.5 has uuid module added, for python 2.4 we still need it.
37 # we can't really check for if we can load uuid as a python module,
38 # it'll be installed by "devel.pkgs". we have the epel repository so
39 # python-uuid will be provided. but we can test for the python
41 %define has_py24 %(`python -c "import sys;sys.exit(sys.version_info[0:2] == (2,4))" 2> /dev/null; echo $?`)
47 Summary: the SFA wrapper around MyPLC's NodeManager
48 Group: Applications/System
50 Requires: pyOpenSSL >= 0.6
53 Summary: the SFA wrapper arounf MyPLC
54 Group: Applications/System
56 Requires: python-psycopg2
57 Requires: myplc-config
58 Requires: pyOpenSSL >= 0.7
61 Summary: the SFA experimenter-side CLI
62 Group: Applications/System
64 Requires: pyOpenSSL >= 0.7
67 Summary: sfatables policy tool for SFA
68 Group: Applications/System
72 This package provides the python libraries that the SFA implementation requires
75 This package implements the SFA interface which serves as a layer
76 between the existing PlanetLab NodeManager interfaces and the SFA API.
79 This package implements the SFA interface which serves as a layer
80 between the existing PlanetLab interfaces and the SFA API.
83 This package provides the client side of the SFA API, in particular
84 sfi.py, together with other utilities.
86 %description sfatables
87 sfatables is a tool for defining access and admission control policies
88 in an SFA network, in much the same way as iptables is for ip
89 networks. This is the command line interface to manage sfatables
98 rm -rf $RPM_BUILD_ROOT
99 make install DESTDIR="$RPM_BUILD_ROOT"
102 rm -rf $RPM_BUILD_ROOT
105 # sfa and sfatables depend each other.
109 /var/www/html/wsdl/*.wsdl
113 %{_bindir}/sfa_component_setup.py*
117 %defattr(-,root,root)
118 %config /etc/sfa/default_config.xml
119 %config (noreplace) /etc/sfa/aggregates.xml
120 %config (noreplace) /etc/sfa/registries.xml
122 %{_bindir}/sfa-config-tty
123 %{_bindir}/sfa-import-plc.py*
124 %{_bindir}/sfa-clean-peer-records.py*
125 %{_bindir}/sfa-nuke-plc.py*
126 %{_bindir}/sfa-server.py*
127 %{_bindir}/gen-sfa-cm-config.py*
130 %config (noreplace) /etc/sfa/sfi_config
132 %{_bindir}/getNodes.py*
133 %{_bindir}/getRecord.py*
134 %{_bindir}/setRecord.py*
135 %{_bindir}/sfadump.py*
141 [ -f %{_sysconfdir}/init.d/sfa ] && service sfa stop ||:
144 [ -f %{_sysconfdir}/init.d/sfacm ] && service sfacm stop ||:
150 chkconfig --add sfacm
152 * Thu Jan 21 2010 anil vengalil <avengali@sophia.inria.fr> - sfa-0.9-10
153 - This tag is quite same as the previous one (sfa-0.9-9) except that the vini and max aggregate managers are also updated for urn support. Other features are:
154 - - sfa-config-tty now has the same features like plc-config-tty
155 - - Contains code to support both urn and hrn
156 - - Cleaned up request_hash related stuff
157 - - SM, AM and Registry code is organized under respective managers
158 - - Site and Slice synchronization across federated aggregates
159 - - Script to generate sfa_component_config
161 * Fri Jan 15 2010 anil vengalil <avengali@sophia.inria.fr> - sfa-0.9-9
162 - sfa-config-tty now has the same features like plc-config-tty
163 - Contains code to support both urn and hrn
164 - Cleaned up request_hash related stuff
165 - SM, AM and Registry code is organized under respective managers
166 - Slice synchronization across federated aggregates
167 - some bugs are fixed
169 * Wed Jan 06 2010 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - sfa-0.9-8
170 - checkpoint with fewer mentions of geni
172 * Tue Jan 05 2010 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - sfa-0.9-7
174 - this is believed to pass the tests; among other things:
175 - reworked configuration based on the myplc config with xml skeleton (no more sfa_config)
177 * Mon Nov 16 2009 anil vengalil <avengali@sophia.inria.fr> - sfa-0.9-6
180 - - Preliminary version of hash based authentication
181 - - Initial code for Component Manager
182 - - Authority structure is moved to /var/lib/sfa/
185 * Fri Oct 09 2009 anil vengalil <avengali@sophia.inria.fr> - sfa-0.9-5
186 - Create_slice and get_resources methods are connected to sfatables.
187 - Other features include compatibility with RP, handling remote objects created as part of federation, preliminary version of sfatables, call tracability and logging.
189 * Wed Oct 07 2009 anil vengalil <avengali@sophia.inria.fr> - sfa-0.9-4
190 - Bug fix on update and remove_peer_object methods
191 - Compatibility with RP, preliminiary version of sfatables, call tracability and logging
193 * Mon Oct 05 2009 anil vengalil <avengali@sophia.inria.fr> - sfa-0.9-3
194 - Compatibility with RP, two additional methods to handle remote objects, call tracability and logging, PLCDB now has single table for sfa records, preliminary version of sfatables (still under development)
196 * Fri Sep 18 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - sfa-0.9-2
197 - compatibility with RefreshPeer
198 - incremental mechanism for importing PLC records into SFA tables
199 - unified single database (still inside the underlying PLC db postgresql server)
200 - includes/improves call traceability and logging features
203 * Thu Sep 17 2009 Baris Metin <tmetin@sophia.inria.fr>
204 - added libxslt-python dependency
206 * Thu Sep 10 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - sfa-0.9-1
207 - unified single SFA database in the PLC-DB
208 - upcalls from PLCAPI to SFA methods
209 - SFA call traceability and logging features
211 - includes first/rough version of sfatables for policy implementation
213 * Thu Jul 23 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - geniwrapper-0.8-6
214 - snapshot after the GEC5 demo
215 - should be the last tag set in the geniwrapper module, are we are now moving to the sfa module
217 * Wed Jul 15 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - geniwrapper-0.8-5
218 - snapshot july 15 - has gone through superficial manual testing
219 - hopefully a good basis for gec5 demo
220 - multi-dir sfi client tested as well
222 * Wed Jul 08 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - geniwrapper-0.8-4
223 - rename geniwrapper.spec into sfa.spec
225 * Wed Jul 08 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - geniwrapper-0.8-3
226 - clean up in xmlrpc/soap, --protocol option to chose between both
227 - keyconvert packaged in /usr/bin, no /usr/share/keyconvert anymore
228 - hopefully more helpful context in case of crashes when importing
229 - bugfixes for using only /etc/sfa for site-dep files
230 - bugfixes in wsdl generation
232 * Mon Jul 06 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - geniwrapper-0.8-2
233 - cleanup of the config area; no dependency to a PLC config anymore as sfa can be run in standalone
234 - config variables in sfa_config now start with SFA_ and not GENI_
235 - config.py can be loaded even with no config present
237 * Sun Jul 05 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - geniwrapper-0.8-1
238 - first step for cleanup and reorganization
239 - mass-renaming from geni to sfa (some are still needed)
240 - sfa/trust implements the security architecture
242 * Wed Jul 01 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - geniwrapper-0.2-7
243 - snapshot for reproducible builds
245 * Thu Jun 25 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - geniwrapper-0.2-6
246 - snapshot for the convenience of alpha users
248 * Tue Jun 16 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - geniwrapper-0.2-5
249 - build fix - keyconvert was getting installed in /usr/share/keyconvert/keyconvert
251 * Tue Jun 16 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - geniwrapper-0.2-4
252 - ongoing work - snapshot for 4.3-rc9
254 * Wed Jun 03 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - geniwrapper-0.2-3
257 * Sat May 30 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - geniwrapper-0.2-2
258 - bugfixes - still a work in progress
260 * Fri May 18 2009 Baris Metin <tmetin@sophia.inria.fr>
264 %define module_current_branch 0.2