eaf06fc85c0a8b4f2fda34820bf8db7675f77f72
[myplc.git] / db-config.d / 082-slice_sfacm
1 # -*-python-*-
2 # $Id$
3 # $URL$
4 ####################
5 # Create/update system slices
6
7 # get the MyPLC url
8 url = GetMyPLCURL()
9
10 description = """Geni Component Manager Slice .
11 This slice provides a backdoor to Node Manager and is used by the Geni/SFA
12 Component Manger.
13 """
14
15 slice = \
16 {
17     'name': plc['slice_prefix'] + "_sfacm",
18     'description': description,
19     'url': url,
20     'instantiation': "plc-instantiated",
21     # Renew forever (minus one day, work around date conversion weirdness)
22     'expires': 0x7fffffff - (60 * 60 * 24)
23 }
24     
25 tags = \
26 [
27     ('system', "1"),
28 ]
29
30 SetSlice(slice,tags)