From 7af748c23a629dcc386fa1cc3709c1bd3a654fad Mon Sep 17 00:00:00 2001 From: Scott Baker Date: Wed, 12 Nov 2008 19:26:53 +0000 Subject: [PATCH] add slice id to geniticket; create geni slices as delegated by default --- plc/plc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plc/plc.py b/plc/plc.py index e9457b71..a9391e72 100644 --- a/plc/plc.py +++ b/plc/plc.py @@ -58,7 +58,7 @@ def geni_fields_to_pl_fields(type, hrn, geni_fields, pl_fields): elif type == "slice": if not "instantiation" in pl_fields: - pl_fields["instantiation"] = "plc-instantiated" + pl_fields["instantiation"] = "delegated" # "plc-instantiated" if not "name" in pl_fields: pl_fields["name"] = hrn_to_pl_slicename(hrn) if not "max_nodes" in pl_fields: @@ -870,6 +870,7 @@ class Registry(GeniServer): attributes['instantiation'] = record.pl_info['instantiation'] attributes['vref'] = 'default' attributes['timestamp'] = time.time() + attributes['slice_id'] = record.pl_info['slice_id'] rspec = {} -- 2.43.0