%define name sfa
%define version 2.1
-%define taglevel 23
+%define taglevel 26
%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
%global python_sitearch %( python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)" )
Vendor: PlanetLab
Packager: PlanetLab Central <support@planet-lab.org>
-Distribution: PlanetLab %{plrelease}
+Distribution: PlanetLab
URL: %{SCMURL}
Summary: Server-side for SFA, generic implementation derived from PlanetLab
Group: Applications/System
Requires: sfa
+%package senslab
+Summary: the SFA layer around SensLab
+Group: Applications/System
+Requires: sfa
+
%package dummy
Summary: the SFA layer around a Dummy Testbed
Group: Applications/System
Group: Applications/System
Requires: sfa-common
-%description
-This package provides the python libraries for the PlanetLab implementation of SFA
+%description
+This package provides the registry, aggregate manager and slice
+managers for SFA. In most cases it is advisable to install additional
+package for a given testbed, like e.g. sfa-plc for a PlanetLab tesbed.
+
+%description common
+This package contains the python libraries for SFA both client and server-side.
%description client
This package provides the client side of the SFA API, in particular
%description nitos
The SFA driver for NITOS.
+%description senslab
+The SFA driver for SensLab.
+
%description dummy
The SFA driver for a Dummy Testbed.
%install
rm -rf $RPM_BUILD_ROOT
-make VERSIONTAG="%{version}-%{taglevel}" SCMURL="%{SCMURL}" install DESTDIR="$RPM_BUILD_ROOT"
+make RPMVERSION="%{version}" RPMRELEASE="%{taglevel}" SCMURL="%{SCMURL}" DESTDIR="$RPM_BUILD_ROOT" install
%clean
rm -rf $RPM_BUILD_ROOT
%config /etc/sfa/default_config.xml
%config (noreplace) /etc/sfa/aggregates.xml
%config (noreplace) /etc/sfa/registries.xml
+%config (noreplace) /etc/sfa/api_versions.xml
/usr/share/sfa/migrations
/usr/share/sfa/examples
/var/www/html/wsdl/*.wsdl
%files nitos
%{python_sitelib}/sfa/nitos
+%files senslab
+%{python_sitelib}/sfa/iotlab
+
%files dummy
%{python_sitelib}/sfa/dummy
#[ "$1" -ge "1" ] && service sfa-cm restart || :
%changelog
+* Tue Jun 18 2013 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - sfa-2.1-26
+- -- core
+- do start flash policy server when configured
+- fix PLCInvalidArgument
+- fix sfaadmin.py list
+- fix version number of GENIv3 RSpec in sfi.py
+- Add support of leases in PGv2 and GENIv3 RSpecs
+- pldriver.delete_sliver removes leases as well
+- -- senslab
+- handling user creation in the senslab LDAP when a user from a federated testbed creates a lease using senslab resources
+- changed lease granularity to 1 minute.
+- add check to ensure the required expirement is of 10 min duration minimum
+- fix sliver_status
+- fix leases management
+- fixed GetSlices, delete_sliver and DeleteJobs
+- cleanup and code documention - removed unused functions and methods
+- changed some return values to be easier to handle for the most part
+- refactored slabimport module
+- added a Jenkins configuration file to test automated deployment, which is not working yet
+
+* Tue Feb 26 2013 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - sfa-2.1-25
+- sfi and sfaadmin list now share the same display code for related objs
+- support for advertising alternate api urls - for other API versions - api_versions.xml
+- cleaned up GID class
+- senslab: improved importer
+- senslab: add site to SlabLocation from Location
+- senslab: new class JsonPage
+- senslab: fix debian packaging
+- federica: fix list_slices
+
+* Tue Jan 29 2013 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - sfa-2.1-24
+- merged the senslab driver from git.f-lab.fr
+- merged the teagle flavour
+- debian packaging should work much better
+- added debug messsages for when db connection fails
+
* Sun Jan 20 2013 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - sfa-2.1-23
- minor fix in registry
- fix for sfi gid, use clientbootstrap