nodemanager.git
13 years agoSetting tag nodemanager-1.8-32 nodemanager-1.8-32
S.Çağlar Onur [Thu, 20 Jan 2011 19:39:08 +0000 (14:39 -0500)]
Setting tag nodemanager-1.8-32
Add required helper function

13 years agoadd required helper function
S.Çağlar Onur [Thu, 20 Jan 2011 19:29:03 +0000 (14:29 -0500)]
add required helper function

13 years agoSetting tag nodemanager-1.8-31 nodemanager-1.8-31
S.Çağlar Onur [Thu, 20 Jan 2011 19:12:36 +0000 (14:12 -0500)]
Setting tag nodemanager-1.8-31
Add missing vinit script

13 years agoMerge branch '1.8' of ssh://git.planet-lab.org/git/nodemanager into 1.8
S.Çağlar Onur [Thu, 20 Jan 2011 19:11:36 +0000 (14:11 -0500)]
Merge branch '1.8' of ssh://git.planet-lab.org/git/nodemanager into 1.8

13 years agoforgot to add
S.Çağlar Onur [Thu, 20 Jan 2011 19:11:30 +0000 (14:11 -0500)]
forgot to add

13 years agoSetting tag nodemanager-1.8-30 nodemanager-1.8-30
S.Çağlar Onur [Thu, 20 Jan 2011 19:05:24 +0000 (14:05 -0500)]
Setting tag nodemanager-1.8-30
backport required vinit support from master

13 years agobackport required vinit support from master
S.Çağlar Onur [Thu, 20 Jan 2011 19:04:01 +0000 (14:04 -0500)]
backport required vinit support from master

13 years agoSetting tag nodemanager-1.8-29 nodemanager-1.8-29
Barış Metin [Tue, 27 Jul 2010 13:17:24 +0000 (15:17 +0200)]
Setting tag nodemanager-1.8-29
tagging to test module-tag on branch (no changes in nodemanager)

13 years agoMerge commit 'nodemanager-1.8-28' into 1.8
Barış Metin [Tue, 27 Jul 2010 12:58:22 +0000 (14:58 +0200)]
Merge commit 'nodemanager-1.8-28' into 1.8

13 years agoadd changelogs too
Barış Metin [Tue, 27 Jul 2010 10:31:23 +0000 (12:31 +0200)]
add changelogs too

13 years agoit's actually on 1.8-28
Barış Metin [Tue, 27 Jul 2010 10:21:36 +0000 (12:21 +0200)]
it's actually on 1.8-28

13 years agobump taglevel manually
Barış Metin [Tue, 27 Jul 2010 10:20:24 +0000 (12:20 +0200)]
bump taglevel manually

13 years agoSetting tag nodemanager-1.8-28 nodemanager-1.8-28
Daniel Hokka Zakrisson [Mon, 26 Jul 2010 19:42:09 +0000 (15:42 -0400)]
Setting tag nodemanager-1.8-28
Fix cciss LVM and partition detection.

13 years agoFix module-tag mess.
Daniel Hokka Zakrisson [Mon, 26 Jul 2010 19:40:31 +0000 (15:40 -0400)]
Fix module-tag mess.

13 years agocciss fix and cleaner way to reach the partition.
Daniel Hokka Zakrisson [Mon, 26 Jul 2010 19:30:43 +0000 (15:30 -0400)]
cciss fix and cleaner way to reach the partition.

13 years agoFix for cciss.
Daniel Hokka Zakrisson [Fri, 23 Jul 2010 14:34:22 +0000 (10:34 -0400)]
Fix for cciss.

14 years agoTweaks 1.8
Sapan Bhatia [Wed, 28 Apr 2010 15:09:51 +0000 (15:09 +0000)]
Tweaks

14 years agoAdd a friendly log message to prove that the slice id was correctly
Sapan Bhatia [Tue, 27 Apr 2010 18:21:36 +0000 (18:21 +0000)]
Add a friendly log message to prove that the slice id was correctly
recorded.

14 years agoAdded some precautions to this change.
Sapan Bhatia [Tue, 27 Apr 2010 16:35:49 +0000 (16:35 +0000)]
Added some precautions to this change.

14 years agoBackporting latest changes for 2.6.27 to the 4.3 version of NM
Sapan Bhatia [Mon, 26 Apr 2010 22:09:18 +0000 (22:09 +0000)]
Backporting latest changes for 2.6.27 to the 4.3 version of NM

14 years agoSetting tag NodeManager-1.8-26
S.Çağlar Onur [Wed, 10 Mar 2010 02:12:23 +0000 (02:12 +0000)]
Setting tag NodeManager-1.8-26
Support codemux's IP field
Introduce DRL plugin

14 years agoops
S.Çağlar Onur [Tue, 9 Mar 2010 21:29:34 +0000 (21:29 +0000)]
ops

14 years agosupport codemux's ip field
S.Çağlar Onur [Tue, 9 Mar 2010 21:16:12 +0000 (21:16 +0000)]
support codemux's ip field

14 years agocosmetic fix
S.Çağlar Onur [Thu, 4 Mar 2010 15:45:04 +0000 (15:45 +0000)]
cosmetic fix

14 years agoDRL plugin
S.Çağlar Onur [Mon, 1 Mar 2010 21:43:45 +0000 (21:43 +0000)]
DRL plugin

14 years agoSetting tag NodeManager-1.8-25
Marc Fiuczynski [Tue, 23 Feb 2010 05:26:53 +0000 (05:26 +0000)]
Setting tag NodeManager-1.8-25
Only call /etc/init.d/codemux if it is installed.

14 years agoCall /etc/init.d/codemux only when codemux is installed
Marc Fiuczynski [Tue, 23 Feb 2010 05:25:14 +0000 (05:25 +0000)]
Call /etc/init.d/codemux only when codemux is installed

14 years agoSetting tag NodeManager-1.8-24
Daniel Hokka Zakrisson [Fri, 19 Feb 2010 17:47:42 +0000 (17:47 +0000)]
Setting tag NodeManager-1.8-24
Enable/disable the codemux service too.

14 years agoMerge from trunk.
Daniel Hokka Zakrisson [Fri, 19 Feb 2010 17:42:08 +0000 (17:42 +0000)]
Merge from trunk.

14 years agoBranch 2.0 for module NodeManager created (as new trunk) from tag NodeManager-1.8-23
Thierry Parmentelat [Fri, 29 Jan 2010 14:14:32 +0000 (14:14 +0000)]
Branch 2.0 for module NodeManager created (as new trunk) from tag NodeManager-1.8-23

14 years agoSetting tag NodeManager-1.8-23 NodeManager-1.8-23
Thierry Parmentelat [Tue, 12 Jan 2010 14:48:50 +0000 (14:48 +0000)]
Setting tag NodeManager-1.8-23
emergency tag - make the setting of hmac by the sliverauth plugin more robust

14 years agoSetting tag NodeManager-1.8-23
Thierry Parmentelat [Tue, 12 Jan 2010 14:48:48 +0000 (14:48 +0000)]
Setting tag NodeManager-1.8-23
emergency tag - make the setting of hmac by the sliverauth plugin more robust

14 years agoemergency fix for sliverauth & delegated slices
Thierry Parmentelat [Tue, 12 Jan 2010 14:41:36 +0000 (14:41 +0000)]
emergency fix for sliverauth & delegated slices

14 years agoSetting tag NodeManager-1.8-22
Thierry Parmentelat [Mon, 11 Jan 2010 14:57:53 +0000 (14:57 +0000)]
Setting tag NodeManager-1.8-22
support for f10 and f12 in the vref slice tag

14 years agosupport for f10 and f12 in the vref slice tag
Thierry Parmentelat [Mon, 11 Jan 2010 14:51:24 +0000 (14:51 +0000)]
support for f10 and f12 in the vref slice tag

14 years agoSetting tag NodeManager-1.8-21
Thierry Parmentelat [Sat, 9 Jan 2010 07:42:19 +0000 (07:42 +0000)]
Setting tag NodeManager-1.8-21
build on fedora12
uses slicename 'sfacm' instead of 'genicw'

14 years agorenmaed _genicw to _sfacm
Tony Mack [Wed, 6 Jan 2010 02:16:16 +0000 (02:16 +0000)]
renmaed _genicw to _sfacm

14 years agopl_genicw is allowed to call all methods
Tony Mack [Wed, 16 Dec 2009 02:20:30 +0000 (02:20 +0000)]
pl_genicw is allowed to call all methods

14 years agofix specfile
Thierry Parmentelat [Tue, 15 Dec 2009 09:49:06 +0000 (09:49 +0000)]
fix specfile

14 years agoSetting tag NodeManager-1.8-20
Sapan Bhatia [Fri, 30 Oct 2009 18:18:11 +0000 (18:18 +0000)]
Setting tag NodeManager-1.8-20
This tag is identical to 1.8-19. The main addition is PLC-controllable vsys scripts. The reason I am
retagging is to eliminate any confusion associated with the -19 tag which was (temporarily) modified a few
days ago.

14 years agoMake usage of sliver auth configurable from the _default slice attribute
Marc Fiuczynski [Fri, 30 Oct 2009 18:06:00 +0000 (18:06 +0000)]
Make usage of sliver auth configurable from the _default slice attribute

14 years agoSetting tag NodeManager-1.8-19
Sapan Bhatia [Wed, 28 Oct 2009 01:47:07 +0000 (01:47 +0000)]
Setting tag NodeManager-1.8-19
This patch makes vsys scripts PLC-configurable. Previously, vsys scripts needed to be
self-contained. With this change, they will be able to refer to the attributes associated with a
slice.

14 years agoBug
Sapan Bhatia [Wed, 28 Oct 2009 01:43:26 +0000 (01:43 +0000)]
Bug

14 years agoBug fix: bracket
Sapan Bhatia [Wed, 28 Oct 2009 01:42:19 +0000 (01:42 +0000)]
Bug fix: bracket

14 years agoAdded a log message for every time a slice is blessed.
Sapan Bhatia [Wed, 28 Oct 2009 01:27:39 +0000 (01:27 +0000)]
Added a log message for every time a slice is blessed.

14 years agoNew plugin for making vsys scripts PLC-controllable.
Sapan Bhatia [Wed, 28 Oct 2009 01:22:14 +0000 (01:22 +0000)]
New plugin for making vsys scripts PLC-controllable.

14 years agofix for syntax error
Barış Metin [Thu, 22 Oct 2009 09:13:40 +0000 (09:13 +0000)]
fix for syntax error

Setting tag NodeManager-1.8-18

--This line, and those below, will be ignored--
Please write a changelog for this new tag in the section above
DIFF=========
Index: tools.py
===================================================================
--- tools.py (.../tags/NodeManager-1.8-17) (révision 15402)
+++ tools.py (.../trunk) (révision 15402)
@@ -18,18 +18,21 @@
     return interface

 def get_hwaddr_from_plnode():
-    for line in open("/usr/boot/plnode.txt", 'r').readlines():
-        if line.startswith("NET_DEVICE"):
-            return line.split("=")[1].strip().strip('"')
+    try:
+        for line in open("/usr/boot/plnode.txt", 'r').readlines():
+            if line.startswith("NET_DEVICE"):
+                return line.split("=")[1].strip().strip('"')
+    except:
+        pass
     return None

 def get_if_from_hwaddr(hwaddr):
-   import sioc
-   devs = sioc.gifconf()
-   for dev in devs:
-      dev_hwaddr = sioc.gifhwaddr(dev)
-      if dev_hwaddr == hwaddr: return dev
-   return None
+    import sioc
+    devs = sioc.gifconf()
+    for dev in devs:
+        dev_hwaddr = sioc.gifhwaddr(dev)
+        if dev_hwaddr == hwaddr: return dev
+    return None

 def as_daemon_thread(run):
     """Call function <run> with no arguments in its own thread."""
Index: bwmon.py
===================================================================
--- bwmon.py (.../tags/NodeManager-1.8-17) (révision 15402)
+++ bwmon.py (.../trunk) (révision 15402)
@@ -324,7 +324,7 @@
                   (self.name,
                    bwlimit.format_tc_rate(maxrate),
                    bwlimit.format_tc_rate(maxi2rate)), 1)
-            bwlimit.set(xid = self.xid, dev = dev_default
+            bwlimit.set(xid = self.xid, dev = dev_default,
                 minrate = self.MinRate * 1000,
                 maxrate = self.MaxRate * 1000,
                 maxexemptrate = self.Maxi2Rate * 1000,

14 years agobug-fix
Anil-Kumar Vengalil [Thu, 22 Oct 2009 07:39:05 +0000 (07:39 +0000)]
bug-fix

14 years agowrap open() with try/except
Barış Metin [Wed, 21 Oct 2009 15:42:34 +0000 (15:42 +0000)]
wrap open() with try/except

14 years agoSetting tag NodeManager-1.8-17
Anil-Kumar Vengalil [Wed, 21 Oct 2009 10:40:20 +0000 (10:40 +0000)]
Setting tag NodeManager-1.8-17

-fixed problem with sioc import at the build side
-bwlimit.set() now accepts the device and does not asume that it is eth0

14 years agoimport sioc only when needed.
Barış Metin [Wed, 21 Oct 2009 10:19:34 +0000 (10:19 +0000)]
import sioc only when needed.

14 years agotesting: this is to avoid building failing while building myplc-doc
Anil-Kumar Vengalil [Wed, 21 Oct 2009 10:15:07 +0000 (10:15 +0000)]
testing: this is to avoid building failing while building myplc-doc

14 years ago- don't hardcode the device name (depends on util-vserver-pl change rev. 15385)
Barış Metin [Tue, 20 Oct 2009 12:58:19 +0000 (12:58 +0000)]
- don't hardcode the device name (depends on util-vserver-pl change rev. 15385)

Setting tag NodeManager-1.8-16

--This line, and those below, will be ignored--
Please write a changelog for this new tag in the section above
DIFF=========
Index: tools.py
===================================================================
--- tools.py (.../tags/NodeManager-1.8-15) (révision 15386)
+++ tools.py (.../trunk) (révision 15386)
@@ -8,12 +8,31 @@
 import threading
 import fcntl
 import commands
+import sioc

 import logger

 PID_FILE = '/var/run/nm.pid'

+def get_default_if():
+    interface = get_if_from_hwaddr(get_hwaddr_from_plnode())
+    if not interface: interface = "eth0"
+    return interface
+
+def get_hwaddr_from_plnode():
+    for line in open("/usr/boot/plnode.txt", 'r').readlines():
+        if line.startswith("NET_DEVICE"):
+            return line.split("=")[1].strip().strip('"')
+    return None
+
+def get_if_from_hwaddr(hwaddr):
+    devs = sioc.gifconf()
+    for dev in devs:
+        dev_hwaddr = sioc.gifhwaddr(dev)
+        if dev_hwaddr == hwaddr: return dev
+    return None
+
 def as_daemon_thread(run):
     """Call function <run> with no arguments in its own thread."""
     thr = threading.Thread(target=run)
Index: bwmon.py
===================================================================
--- bwmon.py (.../tags/NodeManager-1.8-15) (révision 15386)
+++ bwmon.py (.../trunk) (révision 15386)
@@ -52,8 +52,9 @@
 seconds_per_day = 24 * 60 * 60
 bits_per_byte = 8

+dev_default = tools.get_default_if()
 # Burst to line rate (or node cap).  Set by NM. in KBit/s
-default_MaxRate = int(bwlimit.get_bwcap() / 1000)
+default_MaxRate = int(bwlimit.get_bwcap(dev_default) / 1000)
 default_Maxi2Rate = int(bwlimit.bwmax / 1000)
 # 5.4 Gbyte per day. 5.4 * 1024 k * 1024M * 1024G
 # 5.4 Gbyte per day max allowed transfered per recording period
@@ -323,7 +324,7 @@
                   (self.name,
                    bwlimit.format_tc_rate(maxrate),
                    bwlimit.format_tc_rate(maxi2rate)), 1)
-            bwlimit.set(xid = self.xid,
+            bwlimit.set(xid = self.xid, dev = dev_default
                 minrate = self.MinRate * 1000,
                 maxrate = self.MaxRate * 1000,
                 maxexemptrate = self.Maxi2Rate * 1000,
@@ -704,7 +705,7 @@
         nmdbcopy = copy.deepcopy(database.db)
         database.db_lock.release()
         try:
-            if getDefaults(nmdbcopy) and len(bwlimit.tc("class show dev eth0")) > 0:
+            if getDefaults(nmdbcopy) and len(bwlimit.tc("class show dev %s" % dev_default)) > 0:
                 # class show to check if net:InitNodeLimit:bwlimit.init has run.
                 sync(nmdbcopy)
             else: logger.log("bwmon:  BW limits DISABLED.")
Index: net.py
===================================================================
--- net.py (.../tags/NodeManager-1.8-15) (révision 15386)
+++ net.py (.../trunk) (révision 15386)
@@ -11,8 +11,10 @@
 import sioc, plnet

 # local modules
-import bwlimit, logger, iptables
+import bwlimit, logger, iptables, tools

+dev_default = tools.get_default_if()
+
 def start(options, conf):
     logger.log("net plugin starting up...")

@@ -22,7 +24,7 @@
     if 'OVERRIDES' in dir(config):
         if config.OVERRIDES.get('net_max_rate') == '-1':
             logger.log("net: Slice and node BW Limits disabled.")
-            if len(bwlimit.tc("class show dev eth0")):
+            if len(bwlimit.tc("class show dev %s" % dev_default)):
                 logger.verbose("*** DISABLING NODE BW LIMITS ***")
                 bwlimit.stop()
         else:
Index: plugins/rawdisk.py
===================================================================
--- plugins/rawdisk.py (.../tags/NodeManager-1.8-15) (révision 15386)
+++ plugins/rawdisk.py (.../trunk) (révision 15386)
@@ -39,7 +39,6 @@
             break
         buf = buf.strip()
         fields = re.split(pat, buf)
-        print fields
         dev = fields[-1]
         if not dev.startswith("dm-") and dev.endswith("1") and dev not in in_vg:
             devices.append("/dev/%s" % dev)

14 years agoRemove debugging statement.
Daniel Hokka Zakrisson [Fri, 16 Oct 2009 15:12:03 +0000 (15:12 +0000)]
Remove debugging statement.

14 years agocorrecting file path
Anil-Kumar Vengalil [Wed, 14 Oct 2009 09:23:51 +0000 (09:23 +0000)]
correcting file path

14 years agouse dev_default for bwlimit.set()
Barış Metin [Wed, 14 Oct 2009 09:03:16 +0000 (09:03 +0000)]
use dev_default for bwlimit.set()

14 years agodon't hardcode the device name.
Barış Metin [Wed, 14 Oct 2009 08:47:48 +0000 (08:47 +0000)]
don't hardcode the device name.

14 years agoThe seed for random previously was the meaning of life (i.e., 42) but
Marc Fiuczynski [Fri, 9 Oct 2009 15:43:24 +0000 (15:43 +0000)]
The seed for random previously was the meaning of life (i.e., 42) but
that resulted in a not so random choice for the hmac.  This
implementation now uses a random.seed that is based on the current
time.

Setting tag NodeManager-1.8-15

14 years agotypo
Thierry Parmentelat [Fri, 9 Oct 2009 15:19:13 +0000 (15:19 +0000)]
typo

14 years agominor improvements with the hope that slivers across machines get different hmacs
Marc Fiuczynski [Wed, 7 Oct 2009 21:47:54 +0000 (21:47 +0000)]
minor improvements with the hope that slivers across machines get different hmacs

14 years agoSetting tag NodeManager-1.8-14
Marc Fiuczynski [Tue, 6 Oct 2009 20:43:59 +0000 (20:43 +0000)]
Setting tag NodeManager-1.8-14

Minor fix such that sliverauth.py makes a more specific call to
GetSliceTags that include that specific tagname it is looking for.

14 years agoOnly get the hmac tag.
Daniel Hokka Zakrisson [Sat, 26 Sep 2009 12:30:50 +0000 (12:30 +0000)]
Only get the hmac tag.

14 years agoSetting tag NodeManager-1.8-13
Stephen Soltesz [Sun, 20 Sep 2009 01:52:21 +0000 (01:52 +0000)]
Setting tag NodeManager-1.8-13
Fix bug that prevented 'OVERRIDES' for working correctly.

14 years agofixing the logic for r14697 and adding a clarifying note.
Stephen Soltesz [Sat, 19 Sep 2009 19:55:30 +0000 (19:55 +0000)]
fixing the logic for r14697 and adding a clarifying note.

14 years ago(no commit message)
Marc Fiuczynski [Sat, 19 Sep 2009 01:57:31 +0000 (01:57 +0000)]

14 years agoSetting tag NodeManager-1.8-12
Faiyaz Ahmed [Tue, 8 Sep 2009 20:14:03 +0000 (20:14 +0000)]
Setting tag NodeManager-1.8-12
Increase disk limits to 10G per sliver
Sanity check slice for home directory before starting (hack)
Check codemux arguments

14 years agoIncrease disk limit.
Faiyaz Ahmed [Mon, 7 Sep 2009 19:10:31 +0000 (19:10 +0000)]
Increase disk limit.

14 years agoBe a bit more robust to poorly defined codemux attribute values
Marc Fiuczynski [Thu, 13 Aug 2009 16:17:15 +0000 (16:17 +0000)]
Be a bit more robust to poorly defined codemux attribute values

14 years agoclean up of the 'configure' method. Now provides more failure information
Marc Fiuczynski [Thu, 13 Aug 2009 16:16:31 +0000 (16:16 +0000)]
clean up of the 'configure' method.  Now provides more failure information

14 years agoSetting tag NodeManager-1.8-11
Faiyaz Ahmed [Thu, 6 Aug 2009 20:23:31 +0000 (20:23 +0000)]
Setting tag NodeManager-1.8-11
* Fix Delegation
* Move plcapi in plugin-api GetSlivers() calls.
* Persistent Authcheck and resync session when auth failure

14 years agoloop on authcheck code in case session is wrong AND api is unavailable.
Faiyaz Ahmed [Thu, 6 Aug 2009 20:21:20 +0000 (20:21 +0000)]
loop on authcheck code in case session is wrong AND api is unavailable.

14 years agoChange plugin API (GetSlivers()) argument order to avoid unnecessary PLCAPI dependenc...
Faiyaz Ahmed [Thu, 6 Aug 2009 16:35:33 +0000 (16:35 +0000)]
Change plugin API (GetSlivers()) argument order to avoid unnecessary PLCAPI dependency.  Fixes Delegation.

14 years agoformatting
Faiyaz Ahmed [Tue, 4 Aug 2009 17:09:41 +0000 (17:09 +0000)]
formatting

14 years agoSetting tag NodeManager-1.8-10
Faiyaz Ahmed [Tue, 4 Aug 2009 16:29:19 +0000 (16:29 +0000)]
Setting tag NodeManager-1.8-10
Disabling sliverauth module.  Not ready for deployment.

14 years agobump util-vserver-python requires. old util-vserver-python's paths are wrong.
Faiyaz Ahmed [Tue, 4 Aug 2009 16:27:18 +0000 (16:27 +0000)]
bump util-vserver-python requires.  old util-vserver-python's paths are wrong.

14 years agoDisabling sliverauth
Faiyaz Ahmed [Tue, 4 Aug 2009 16:18:44 +0000 (16:18 +0000)]
Disabling sliverauth

14 years agoSetting tag NodeManager-1.8-9
Faiyaz Ahmed [Mon, 3 Aug 2009 21:35:17 +0000 (21:35 +0000)]
Setting tag NodeManager-1.8-9
Fixing overrides semantics.

14 years agoFix overrides to clean out when none present.
Faiyaz Ahmed [Mon, 3 Aug 2009 21:31:26 +0000 (21:31 +0000)]
Fix overrides to clean out when none present.

14 years agoSetting tag NodeManager-1.8-8
Faiyaz Ahmed [Mon, 3 Aug 2009 20:57:44 +0000 (20:57 +0000)]
Setting tag NodeManager-1.8-8
Generalized plugins
Fixed initscript start up bug.

14 years agoRearranging and moving trunk to 1.8.
Faiyaz Ahmed [Mon, 3 Aug 2009 20:55:38 +0000 (20:55 +0000)]
Rearranging and moving trunk to 1.8.

14 years agoNM does not fork often. A stack limit is now unnecessary.
Faiyaz Ahmed [Mon, 3 Aug 2009 20:45:56 +0000 (20:45 +0000)]
NM does not fork often.  A stack limit is now unnecessary.
This fixes the crond bug inside slivers.

14 years agocleanup: use os.path.join
Marc Fiuczynski [Tue, 21 Jul 2009 18:50:24 +0000 (18:50 +0000)]
cleanup: use os.path.join

14 years agoTabs vs. spaces.
Daniel Hokka Zakrisson [Mon, 20 Jul 2009 23:28:12 +0000 (23:28 +0000)]
Tabs vs. spaces.

14 years agouse a temp file to write the keys
Marc Fiuczynski [Fri, 17 Jul 2009 04:05:35 +0000 (04:05 +0000)]
use a temp file to write the keys

14 years agoonly copy in the /dev/sd* file if its not there
Marc Fiuczynski [Fri, 17 Jul 2009 04:04:01 +0000 (04:04 +0000)]
only copy in the /dev/sd* file if its not there

14 years agoNodeManager plugin to empower slivers to make API calls.
Marc Fiuczynski [Thu, 16 Jul 2009 21:23:49 +0000 (21:23 +0000)]
NodeManager plugin to empower slivers to make API calls.

14 years agoNodeManager plugin to support mapping unused raw disks into a slice
Marc Fiuczynski [Thu, 16 Jul 2009 21:23:14 +0000 (21:23 +0000)]
NodeManager plugin to support mapping unused raw disks into a slice
that has the rawdisk sliver tag.

14 years agoNM plugin to pull down special account keys: specifically site_admin and root
Marc Fiuczynski [Thu, 16 Jul 2009 19:53:42 +0000 (19:53 +0000)]
NM plugin to pull down special account keys: specifically site_admin and root

14 years agoNeed to use , rather than / as the sed separator
Marc Fiuczynski [Wed, 15 Jul 2009 13:35:12 +0000 (13:35 +0000)]
Need to use , rather than / as the sed separator

14 years agoSyntax error in overrides
Faiyaz Ahmed [Tue, 14 Jul 2009 18:21:45 +0000 (18:21 +0000)]
Syntax error in overrides

14 years agosync up with what's on the branch
Marc Fiuczynski [Thu, 9 Jul 2009 02:27:34 +0000 (02:27 +0000)]
sync up with what's on the branch

14 years agoUpdated to pass plugins an API handle (plc) and the plc_config (config) in addition...
Marc Fiuczynski [Thu, 9 Jul 2009 02:26:35 +0000 (02:26 +0000)]
Updated to pass plugins an API handle (plc) and the plc_config (config) in addition to the data pulled down from GetSlivers; Also made known_modules (which are basically plugins) and plugins use the same function signature

14 years agoas a plugin, be more verbose about when they are started
Marc Fiuczynski [Tue, 7 Jul 2009 22:00:38 +0000 (22:00 +0000)]
as a plugin, be more verbose about when they are started

14 years ago- change so that NodeManager/plugins are always loaded, as that's
Marc Fiuczynski [Tue, 7 Jul 2009 21:58:00 +0000 (21:58 +0000)]
- change so that NodeManager/plugins are always loaded, as that's
  where codemux & vsys live

14 years agonet.py is a 'required' 'plugin' module similar to conf_files.py, bwmon.py, and sm.py
Marc Fiuczynski [Tue, 7 Jul 2009 21:50:08 +0000 (21:50 +0000)]
net.py is a 'required' 'plugin' module similar to conf_files.py, bwmon.py, and sm.py

14 years agoChange local GetSlivers() callbacks to take args as (plc,data,config)
Marc Fiuczynski [Tue, 7 Jul 2009 21:10:06 +0000 (21:10 +0000)]
Change local GetSlivers() callbacks to take args as (plc,data,config)

14 years ago- turn net.py into a NM plugin and move to plugin directory
Marc Fiuczynski [Tue, 7 Jul 2009 20:32:36 +0000 (20:32 +0000)]
- turn net.py into a NM plugin and move to plugin directory
- pass plc, data, and config to each plugin

14 years agoCall to get whole record, not just tags.
Faiyaz Ahmed [Mon, 6 Jul 2009 21:13:18 +0000 (21:13 +0000)]
Call to get whole record, not just tags.

14 years agoCall to get whole record, not just tags.
Faiyaz Ahmed [Mon, 6 Jul 2009 21:13:18 +0000 (21:13 +0000)]
Call to get whole record, not just tags.

14 years agoGet slice tags from within sliver using nm api.
Faiyaz Ahmed [Mon, 6 Jul 2009 16:37:40 +0000 (16:37 +0000)]
Get slice tags from within sliver using nm api.