#!/usr/bin/python /usr/bin/plcsh
-# $Id$
import os
import socket
failedToGetSettings = False
# NOTE: GetInterfaces/NodeNetworks does not necessarily order the interfaces
- # returned. Because 'interface'is decremented as each interface is processed,
+ # returned. Because 'interface' is decremented as each interface is processed,
# by the time is_primary=True (primary) interface is reached, the device
# "eth%s" % interface, is not eth0. But, something like eth-4, or eth-12.
# This code sorts the interfaces, placing is_primary=True interfaces first.
# print the configuration values
for (key, val) in details.iteritems():
if key not in ('IFNAME','ALIAS','CFGOPTIONS','DRIVER','GATEWAY'):
- f.write('%s=%s\n' % (key, val))
+ f.write('%s="%s"\n' % (key, val))
# print the configuration specific option values (if any)
if 'CFGOPTIONS' in details:
-#
-# $Id$
-#
-%define url $URL$
-
%define name pyplnet
%define version 4.3
-%define taglevel 6
+%define taglevel 8
%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
Vendor: PlanetLab
Packager: PlanetLab Central <support@planet-lab.org>
Distribution: PlanetLab %{plrelease}
-URL: %(echo %{url} | cut -d ' ' -f 2)
+URL: %{SCMURL}
Requires: python >= 2.4
BuildRequires: python, python-devel
%{python_sitelib}/*
%changelog
+* Mon Jan 24 2011 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - pyplnet-4.3-8
+- no semantic change - just fixed specfile for git URL
+
+* Thu Dec 09 2010 Daniel Hokka Zakrisson <dhokka@cs.princeton.edu> - pyplnet-4.3-7
+- Secondary interface fixes and features.
+
* Wed Apr 28 2010 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - pyplnet-4.3-6
- aliases don't show up in /sys, so use /sbin/ip to get the configured IP addresses instead
# Daniel Hokka Zakrisson <daniel@hozac.com>
# Copyright (C) 2008 The Trustees of Princeton University
#
-# $Id$
-#
import os
from distutils.core import setup, Extension