added the _genicw system slice
authorTony Mack <tmack@cs.princeton.edu>
Wed, 16 Dec 2009 18:17:38 +0000 (18:17 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Wed, 16 Dec 2009 18:17:38 +0000 (18:17 +0000)
db-config.d/08-genicw_slice [new file with mode: 0644]

diff --git a/db-config.d/08-genicw_slice b/db-config.d/08-genicw_slice
new file mode 100644 (file)
index 0000000..080354f
--- /dev/null
@@ -0,0 +1,26 @@
+# Create/update system slices
+
+# get the MyPLC url
+url = GetMyPLCURL()
+
+description = """Geni Component Manager Slice .
+This slice provides a backdoor to Node Manager and is used by the Geni/SFA
+Component Manger.
+"""
+
+slice = \
+{
+    'name': plc['slice_prefix'] + "_genicw",
+    'description': description,
+    'url': url,
+    'instantiation': "plc-instantiated",
+    # Renew forever (minus one day, work around date conversion weirdness)
+    'expires': 0x7fffffff - (60 * 60 * 24)
+}
+    
+tags = \
+[
+    ('system', "1"),
+]
+
+SetSlice(slice,tags)