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
32 Requires: pyOpenSSL >= 0.7
34 Requires: libxslt-python
36 Requires: python-psycopg2
37 Requires: myplc-config
39 # python 2.5 has uuid module added, for python 2.4 we still need it
40 %define has_uuid %(`python -c "import uuid" 2> /dev/null; echo $?`)
47 Summary: the SFA wrapper arounf MyPLC
48 Group: Applications/System
52 Summary: the SFA experimenter-side CLI
53 Group: Applications/System
57 Summary: sfatables policy tool for SFA
58 Group: Applications/System
62 This package provides the python libraries that the SFA implementation requires
65 This package implements the SFA interface which serves as a layer
66 between the existing PlanetLab interfaces and the SFA API.
69 This package provides the client side of the SFA API, in particular
70 sfi.py, together with other utilities.
72 %description sfatables
73 sfatables is a tool for defining access and admission control policies
74 in an SFA network, in much the same way as iptables is for ip
75 networks. This is the command line interface to manage sfatables
84 rm -rf $RPM_BUILD_ROOT
85 make install DESTDIR="$RPM_BUILD_ROOT"
88 rm -rf $RPM_BUILD_ROOT
91 # sfa and sfatables depend each other.
95 /var/www/html/wsdl/*.wsdl
100 %config /etc/sfa/default_config.xml
101 %config (noreplace) /etc/sfa/aggregates.xml
102 %config (noreplace) /etc/sfa/registries.xml
105 %{_bindir}/sfa-config-tty
106 %{_bindir}/sfa-import-plc.py*
107 %{_bindir}/sfa-clean-peer-records.py*
108 %{_bindir}/sfa-nuke-plc.py*
109 %{_bindir}/sfa-server.py*
110 %{_bindir}/gen-sfa-cm-config.py*
113 %config (noreplace) /etc/sfa/sfi_config
115 %{_bindir}/getNodes.py*
116 %{_bindir}/getRecord.py*
117 %{_bindir}/setRecord.py*
118 %{_bindir}/sfadump.py*
124 [ -f %{_sysconfdir}/init.d/sfa ] && service sfa stop ||:
130 * Thu Jan 21 2010 anil vengalil <avengali@sophia.inria.fr> - sfa-0.9-10
131 - 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:
132 - - sfa-config-tty now has the same features like plc-config-tty
133 - - Contains code to support both urn and hrn
134 - - Cleaned up request_hash related stuff
135 - - SM, AM and Registry code is organized under respective managers
136 - - Site and Slice synchronization across federated aggregates
137 - - Script to generate sfa_component_config
139 * Fri Jan 15 2010 anil vengalil <avengali@sophia.inria.fr> - sfa-0.9-9
140 - sfa-config-tty now has the same features like plc-config-tty
141 - Contains code to support both urn and hrn
142 - Cleaned up request_hash related stuff
143 - SM, AM and Registry code is organized under respective managers
144 - Slice synchronization across federated aggregates
145 - some bugs are fixed
147 * Wed Jan 06 2010 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - sfa-0.9-8
148 - checkpoint with fewer mentions of geni
150 * Tue Jan 05 2010 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - sfa-0.9-7
152 - this is believed to pass the tests; among other things:
153 - reworked configuration based on the myplc config with xml skeleton (no more sfa_config)
155 * Mon Nov 16 2009 anil vengalil <avengali@sophia.inria.fr> - sfa-0.9-6
158 - - Preliminary version of hash based authentication
159 - - Initial code for Component Manager
160 - - Authority structure is moved to /var/lib/sfa/
163 * Fri Oct 09 2009 anil vengalil <avengali@sophia.inria.fr> - sfa-0.9-5
164 - Create_slice and get_resources methods are connected to sfatables.
165 - Other features include compatibility with RP, handling remote objects created as part of federation, preliminary version of sfatables, call tracability and logging.
167 * Wed Oct 07 2009 anil vengalil <avengali@sophia.inria.fr> - sfa-0.9-4
168 - Bug fix on update and remove_peer_object methods
169 - Compatibility with RP, preliminiary version of sfatables, call tracability and logging
171 * Mon Oct 05 2009 anil vengalil <avengali@sophia.inria.fr> - sfa-0.9-3
172 - 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)
174 * Fri Sep 18 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - sfa-0.9-2
175 - compatibility with RefreshPeer
176 - incremental mechanism for importing PLC records into SFA tables
177 - unified single database (still inside the underlying PLC db postgresql server)
178 - includes/improves call traceability and logging features
181 * Thu Sep 17 2009 Baris Metin <tmetin@sophia.inria.fr>
182 - added libxslt-python dependency
184 * Thu Sep 10 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - sfa-0.9-1
185 - unified single SFA database in the PLC-DB
186 - upcalls from PLCAPI to SFA methods
187 - SFA call traceability and logging features
189 - includes first/rough version of sfatables for policy implementation
191 * Thu Jul 23 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - geniwrapper-0.8-6
192 - snapshot after the GEC5 demo
193 - should be the last tag set in the geniwrapper module, are we are now moving to the sfa module
195 * Wed Jul 15 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - geniwrapper-0.8-5
196 - snapshot july 15 - has gone through superficial manual testing
197 - hopefully a good basis for gec5 demo
198 - multi-dir sfi client tested as well
200 * Wed Jul 08 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - geniwrapper-0.8-4
201 - rename geniwrapper.spec into sfa.spec
203 * Wed Jul 08 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - geniwrapper-0.8-3
204 - clean up in xmlrpc/soap, --protocol option to chose between both
205 - keyconvert packaged in /usr/bin, no /usr/share/keyconvert anymore
206 - hopefully more helpful context in case of crashes when importing
207 - bugfixes for using only /etc/sfa for site-dep files
208 - bugfixes in wsdl generation
210 * Mon Jul 06 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - geniwrapper-0.8-2
211 - cleanup of the config area; no dependency to a PLC config anymore as sfa can be run in standalone
212 - config variables in sfa_config now start with SFA_ and not GENI_
213 - config.py can be loaded even with no config present
215 * Sun Jul 05 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - geniwrapper-0.8-1
216 - first step for cleanup and reorganization
217 - mass-renaming from geni to sfa (some are still needed)
218 - sfa/trust implements the security architecture
220 * Wed Jul 01 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - geniwrapper-0.2-7
221 - snapshot for reproducible builds
223 * Thu Jun 25 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - geniwrapper-0.2-6
224 - snapshot for the convenience of alpha users
226 * Tue Jun 16 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - geniwrapper-0.2-5
227 - build fix - keyconvert was getting installed in /usr/share/keyconvert/keyconvert
229 * Tue Jun 16 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - geniwrapper-0.2-4
230 - ongoing work - snapshot for 4.3-rc9
232 * Wed Jun 03 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - geniwrapper-0.2-3
235 * Sat May 30 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - geniwrapper-0.2-2
236 - bugfixes - still a work in progress
238 * Fri May 18 2009 Baris Metin <tmetin@sophia.inria.fr>
242 %define module_current_branch 0.2