git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
providing url field while adding slice
[sfa.git]
/
geni
/
util
/
api.py
diff --git
a/geni/util/api.py
b/geni/util/api.py
index
77bb3c0
..
6bc82a6
100644
(file)
--- a/
geni/util/api.py
+++ b/
geni/util/api.py
@@
-255,6
+255,8
@@
class GeniAPI:
if not "instantiation" in pl_record:
pl_record["instantiation"] = "plc-instantiated"
pl_record["name"] = hrn_to_pl_slicename(hrn)
+ if "url" in record:
+ pl_record["url"] = record["url"]
elif type == "node":
if not "hostname" in pl_record: