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