pyplnet.git
15 years agoTagging module pyplnet - pyplnet-4.2-2 pyplnet-4.2-2
Daniel Hokka Zakrisson [Mon, 15 Dec 2008 19:39:37 +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.

15 years agoTagging module pyplnet - pyplnet-4.2-2
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.

15 years agoIf /sys/class/net doesn't exist, use an empty list.
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.

15 years agoTagging module pyplnet - pyplnet-4.2-1
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.

15 years agoRewrite sioc.c in Python so pyplnet can be easily used from the BootManager.
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.

15 years agoAdd DNS* settings for static configuration.
Daniel Hokka Zakrisson [Mon, 8 Dec 2008 17:00:50 +0000 (17:00 +0000)]
Add DNS* settings for static configuration.

15 years agoDon't quote the basic variables, apparently things like udev don't parse quotes.
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.

15 years agoBring changeset 11301 to the branch from the trunk.
Daniel Hokka Zakrisson [Sun, 7 Dec 2008 17:33:45 +0000 (17:33 +0000)]
Bring changeset 11301 to the branch from the trunk.

15 years agoCreate the directories and use root for the network file.
Daniel Hokka Zakrisson [Fri, 5 Dec 2008 16:49:57 +0000 (16:49 +0000)]
Create the directories and use root for the network file.

15 years agoAdd the gateway for static networks.
Daniel Hokka Zakrisson [Fri, 5 Dec 2008 16:25:59 +0000 (16:25 +0000)]
Add the gateway for static networks.

15 years agoAdd PRIMARY=yes to the correct configuration file.
Daniel Hokka Zakrisson [Fri, 5 Dec 2008 14:26:22 +0000 (14:26 +0000)]
Add PRIMARY=yes to the correct configuration file.

15 years agoFixes from Thierry on the trunk.
Daniel Hokka Zakrisson [Fri, 5 Dec 2008 14:25:30 +0000 (14:25 +0000)]
Fixes from Thierry on the trunk.

15 years agoMake dhclient persistent, so transient network failures don't make nodes unreachable.
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.

15 years agoRemove unused temporary files.
Daniel Hokka Zakrisson [Thu, 4 Dec 2008 21:39:14 +0000 (21:39 +0000)]
Remove unused temporary files.

15 years agoDon't whine about comments in modprobe.conf.
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.

15 years agoMake the plnet module a script that uses plcsh to get info for a node.
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.

15 years agoos.tmpnam is unsafe.
Daniel Hokka Zakrisson [Thu, 4 Dec 2008 14:42:10 +0000 (14:42 +0000)]
os.tmpnam is unsafe.

15 years agosvn:keywords
Daniel Hokka Zakrisson [Wed, 3 Dec 2008 17:03:47 +0000 (17:03 +0000)]
svn:keywords

15 years agoStart at 0.
Daniel Hokka Zakrisson [Wed, 3 Dec 2008 16:51:47 +0000 (16:51 +0000)]
Start at 0.

15 years agoSplit network configuration logic from NM
Daniel Hokka Zakrisson [Tue, 2 Dec 2008 21:28:45 +0000 (21:28 +0000)]
Split network configuration logic from NM