/var/lib/nodemanager/
%config(noreplace) /etc/sysconfig/nodemanager
+ ##############################
+ %if "%{build_lxc}" == "1"
+
+ %package -n nodemanager-lxc
+ Summary: PlanetLab Node Manager Plugin for lxc nodes
+ Group: System Environment/Daemons
+ # we use libvirt
+ Requires: libvirt
+ Requires: libvirt-python
+ # cgroups.py needs this
+ Requires: python-inotify
+ # the common package for nodemanager
+ Requires: nodemanager-lib = %{version}
+ # the lxc-specific tools for using slice images
+ Requires: lxc-sliceimage
+ Requires: openvswitch
+
+ %description -n nodemanager-lxc
+ nodemanager-lxc provides the lxc code for the PlanetLab Node Manager.
+
+ %files -n nodemanager-lxc
+ %{_datadir}/NodeManager/sliver_libvirt.*
+ %{_datadir}/NodeManager/sliver_lxc.*
+ %{_datadir}/NodeManager/cgroups.*
+ %{_datadir}/NodeManager/coresched_lxc.*
+
+ %endif
+ ##############################
+
+ ##############################
+ %if "%{build_vs}" == "1"
+
+ %package -n nodemanager-vs
+ Summary: PlanetLab Node Manager Plugin for vserver nodes
+ Group: System Environment/Daemons
+
+ # old name, when all came as a single package with vserver wired in
+ Obsoletes: NodeManager
+ # for nodeupdate
+ Provides: nodemanager
+
+ # our interface to the vserver patch
+ Requires: util-vserver >= 0.30.208-17
+ # and the planetlab utilities
+ Requires: util-vserver-python > 0.3-16
+ # the common package for nodemanager
+ Requires: nodemanager-lib = %{version}
+ # the vserver-specific tools for using slice images
+ Requires: vserver-sliceimage
+
+ %description -n nodemanager-vs
+ nodemanager-vs provides the vserver code for the PlanetLab Node Manager.
+
+ %files -n nodemanager-vs
+ %{_datadir}/NodeManager/sliver_vs.*
+ %{_datadir}/NodeManager/coresched_vs.*
+ # this plugin uses vserver for now
+ %{_datadir}/NodeManager/plugins.drl.*
+
+ %endif
+ ##############################
+
+ ##############################
%changelog
+* Mon Apr 28 2014 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodemanager-5.2-13
+- improve network management in slices
+- _has_systemctl was not declared as global - vsys was failing to restart
+
* Fri Apr 04 2014 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodemanager-5.2-12
- this tag for the first time passes the full range of tests on fedora20
- robustified slice teardown wrt vsys