summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Daniel Hokka Zakrisson [Wed, 9 Feb 2011 18:30:58 +0000 (13:30 -0500)]
Merge branch 'master' of dhozac@git.planet-lab.org:/git/pyplnet
Daniel Hokka Zakrisson [Wed, 9 Feb 2011 18:30:51 +0000 (13:30 -0500)]
Use an incrementer instead of something based on the name.
Thierry Parmentelat [Wed, 9 Feb 2011 09:15:42 +0000 (10:15 +0100)]
make tags ; no svn-keywords
Thierry Parmentelat [Tue, 8 Feb 2011 14:26:20 +0000 (15:26 +0100)]
protect shell variables in ifcfg files, for lines like
DHCLIENTARGS"-R subnet-mask"
Thierry Parmentelat [Mon, 24 Jan 2011 03:40:03 +0000 (04:40 +0100)]
Setting tag pyplnet-4.3-8
no semantic change - just fixed specfile for git URL
Thierry Parmentelat [Wed, 5 Jan 2011 16:59:36 +0000 (17:59 +0100)]
fix URL in specfile - rm svn-keywords
Daniel Hokka Zakrisson [Thu, 9 Dec 2010 17:18:54 +0000 (12:18 -0500)]
Setting tag pyplnet-4.3-7
Secondary interface fixes and features.
Daniel Hokka Zakrisson [Wed, 8 Dec 2010 00:52:52 +0000 (19:52 -0500)]
Fixes for a little bit of everything.
Daniel Hokka Zakrisson [Tue, 7 Dec 2010 22:33:26 +0000 (17:33 -0500)]
Use source based routing if secondary interfaces specify different gateway.
Daniel Hokka Zakrisson [Tue, 7 Dec 2010 21:26:20 +0000 (16:26 -0500)]
Fix some basics...
Thierry Parmentelat [Wed, 28 Apr 2010 07:24:29 +0000 (07:24 +0000)]
Setting tag pyplnet-4.3-6
aliases don't show up in /sys, so use /sbin/ip to get the configured IP addresses instead
Thierry Parmentelat [Wed, 28 Apr 2010 07:14:33 +0000 (07:14 +0000)]
cleaned up and tested again
Marc Fiuczynski [Tue, 2 Mar 2010 15:23:18 +0000 (15:23 +0000)]
updated gifconf() function
Daniel Hokka Zakrisson [Mon, 1 Mar 2010 23:35:33 +0000 (23:35 +0000)]
Aliases don't show up in /sys, so use /sbin/ip to get the configured IP addresses instead.
Thierry Parmentelat [Thu, 11 Feb 2010 15:22:56 +0000 (15:22 +0000)]
Setting tag pyplnet-4.3-5
This is needed for 5.0, as GetSlivers now exposes 'interfaces' and no 'networks' anymore
this code can handle both..
Thierry Parmentelat [Mon, 8 Feb 2010 16:29:44 +0000 (16:29 +0000)]
can cope with 4.3 ('networks') or 5.0 ('interfaces') + more consistent namings
Daniel Hokka Zakrisson [Sat, 30 Jan 2010 03:43:20 +0000 (03:43 +0000)]
Only set DNS1 and DNS2 for the primary network, if they exist.
Thierry Parmentelat [Tue, 29 Sep 2009 04:23:04 +0000 (04:23 +0000)]
Setting tag pyplnet-4.3-4
alias without a mac address: fix runtime error while issuing warning
Thierry Parmentelat [Tue, 22 Sep 2009 14:54:40 +0000 (14:54 +0000)]
fixed runtime error
Stephen Soltesz [Tue, 9 Jun 2009 17:41:22 +0000 (17:41 +0000)]
Tagging module pyplnet - pyplnet-4.3-3
this patch addresses mlab and other multi-interface node confgurations where
the generated boot image and network config files are mis-named.
Stephen Soltesz [Mon, 8 Jun 2009 17:42:27 +0000 (17:42 +0000)]
sort list on is_primary rather than interface_id. this is guaranteed to have
the primary interface first.
Stephen Soltesz [Mon, 8 Jun 2009 16:10:46 +0000 (16:10 +0000)]
addresses one bug that failed to create ifcfg-eth0 for mlab boot images.
Because the variable 'interface' is decremented as each interface is processed,
by the time the primary, is_primary=True interface is reached, the device
name "eth%s" % interface, is not eth0, but, something like eth-4, or eth-12.
This patch sorts the interfaces, implicitly placing the primary (first created)
interface first. There is a lot of room for improvement to how this script
handles interfaces and how it chooses the primary interface.
Thierry Parmentelat [Wed, 22 Apr 2009 18:57:51 +0000 (18:57 +0000)]
Tagging module pyplnet - pyplnet-4.3-2
handle wireless settings back again
Thierry Parmentelat [Wed, 22 Apr 2009 18:55:48 +0000 (18:55 +0000)]
handle wireless settings back again - somehow had dropped off
Thierry Parmentelat [Fri, 17 Apr 2009 11:00:24 +0000 (11:00 +0000)]
Tagging module pyplnet - pyplnet-4.3-1
fixes for 4.3
Barış Metin [Thu, 16 Apr 2009 13:46:12 +0000 (13:46 +0000)]
in 4.3 InterfaceTag (and NodeNetworkSetting) has "tagname" key instead of "name"
Marc Fiuczynski [Wed, 15 Apr 2009 18:15:14 +0000 (18:15 +0000)]
blacklist testing
Marc Fiuczynski [Fri, 27 Feb 2009 11:26:45 +0000 (11:26 +0000)]
Improved modprobe input() method.
- improves parsing handling
- adds support for 'include' commands
Marc Fiuczynski [Tue, 24 Feb 2009 21:51:23 +0000 (21:51 +0000)]
'program' arg belongs with m.output, not m.input. Putting a try: ... except: pass around m.input() unfortunately masked the exception that python was likely raising in response to passing an extra arg to m.input.
Marc Fiuczynski [Mon, 23 Feb 2009 23:09:20 +0000 (23:09 +0000)]
horrible hack to have a single plnet work with both the new and old api
Daniel Hokka Zakrisson [Sat, 13 Dec 2008 19:14:22 +0000 (19:14 +0000)]
If /sys/class/net doesn't exist, use an empty list.
Daniel Hokka Zakrisson [Fri, 12 Dec 2008 21:19:38 +0000 (21:19 +0000)]
Commit 11328 for trunk.
Daniel Hokka Zakrisson [Mon, 8 Dec 2008 17:00:50 +0000 (17:00 +0000)]
Add DNS* settings for static configuration.
Daniel Hokka Zakrisson [Sun, 7 Dec 2008 17:45:52 +0000 (17:45 +0000)]
Don't quote the basic variables, apparently things like udev don't parse quotes.
Thierry Parmentelat [Sun, 7 Dec 2008 14:39:36 +0000 (14:39 +0000)]
oops, that was wrong, created /usr/bin/plnet/ as a directory
Daniel Hokka Zakrisson [Fri, 5 Dec 2008 16:49:57 +0000 (16:49 +0000)]
Create the directories and use root for the network file.
Daniel Hokka Zakrisson [Fri, 5 Dec 2008 16:25:59 +0000 (16:25 +0000)]
Add the gateway for static networks.
Daniel Hokka Zakrisson [Fri, 5 Dec 2008 14:26:22 +0000 (14:26 +0000)]
Add PRIMARY=yes to the correct configuration file.
Thierry Parmentelat [Fri, 5 Dec 2008 06:33:19 +0000 (06:33 +0000)]
again
Thierry Parmentelat [Fri, 5 Dec 2008 06:19:51 +0000 (06:19 +0000)]
again
Thierry Parmentelat [Fri, 5 Dec 2008 05:57:07 +0000 (05:57 +0000)]
broken build
Daniel Hokka Zakrisson [Thu, 4 Dec 2008 22:04:23 +0000 (22:04 +0000)]
Make dhclient persistent, so transient network failures don't make nodes unreachable.
Daniel Hokka Zakrisson [Thu, 4 Dec 2008 21:39:14 +0000 (21:39 +0000)]
Remove unused temporary files.
Daniel Hokka Zakrisson [Thu, 4 Dec 2008 21:01:37 +0000 (21:01 +0000)]
Don't whine about comments in modprobe.conf.
Allow users to specify the program to put in the comment.
Daniel Hokka Zakrisson [Thu, 4 Dec 2008 19:41:50 +0000 (19:41 +0000)]
Make the plnet module a script that uses plcsh to get info for a node.
Daniel Hokka Zakrisson [Thu, 4 Dec 2008 14:42:10 +0000 (14:42 +0000)]
os.tmpnam is unsafe.
Daniel Hokka Zakrisson [Wed, 3 Dec 2008 17:19:02 +0000 (17:19 +0000)]
Add trunk version.
Daniel Hokka Zakrisson [Tue, 2 Dec 2008 21:28:45 +0000 (21:28 +0000)]
Split network configuration logic from NM