summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Marc Fiuczynski [Tue, 24 Feb 2009 22:11:45 +0000 (22:11 +0000)]
Tagging module pyplnet - pyplnet-4.2-3
BUGFIX: the "program" argument needs to go with the the m.output() method.
The bug is that the m.input() method does not take two args and python
will raise an exception to indicate this. However, the m.input()
method was wrapped in a
try:
m.input(a,b)
except:
pass
which masked this error. The mainly visible side effect is that the
specific modprobe.conf file is not parsed and so any previously
written aliases and options are lost.
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.
Daniel Hokka Zakrisson [Mon, 15 Dec 2008 19:39:35 +0000 (19:39 +0000)]
Tagging module pyplnet - pyplnet-4.2-2
Work on PLCs running in Linux-VServer guests or other environments where /sys
isn't mounted.
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 23:51:04 +0000 (23:51 +0000)]
Tagging module pyplnet - pyplnet-4.2-1
Rewrite sioc in Python.
Add a plnet symlink to make it easier to run the script via plcsh.
Set DNS servers/gateway for static configurations.
Work with an empty tree.
Use tempfile for temporary files.
Daniel Hokka Zakrisson [Fri, 12 Dec 2008 21:17:46 +0000 (21:17 +0000)]
Rewrite sioc.c in Python so pyplnet can be easily used from the BootManager.
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.
Daniel Hokka Zakrisson [Sun, 7 Dec 2008 17:33:45 +0000 (17:33 +0000)]
Bring changeset 11301 to the branch from the trunk.
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.
Daniel Hokka Zakrisson [Fri, 5 Dec 2008 14:25:30 +0000 (14:25 +0000)]
Fixes from Thierry on the trunk.
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:03:47 +0000 (17:03 +0000)]
svn:keywords
Daniel Hokka Zakrisson [Wed, 3 Dec 2008 16:51:47 +0000 (16:51 +0000)]
Start at 0.
Daniel Hokka Zakrisson [Tue, 2 Dec 2008 21:28:45 +0000 (21:28 +0000)]
Split network configuration logic from NM