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
install pl rspec schema (pl.rng) in /etc/sfa. Add variable to default config file...
[sfa.git]
/
sfa
/
managers
/
aggregate_manager_pl.py
diff --git
a/sfa/managers/aggregate_manager_pl.py
b/sfa/managers/aggregate_manager_pl.py
index
cde20b2
..
2ca9db4
100644
(file)
--- a/
sfa/managers/aggregate_manager_pl.py
+++ b/
sfa/managers/aggregate_manager_pl.py
@@
-67,7
+67,8
@@
def create_slice(api, xrn, xml):
slice = network.get_slice(api, hrn)
current = __get_hostnames(slice.get_nodes())
slice = network.get_slice(api, hrn)
current = __get_hostnames(slice.get_nodes())
- network.addRSpec(xml, "/var/www/html/schemas/pl.rng")
+ network.addRSpec(xml, api.config.SFA_AGGREGATE_RSPEC_SCHEMA)
+
request = __get_hostnames(network.nodesWithSlivers())
# remove nodes not in rspec
request = __get_hostnames(network.nodesWithSlivers())
# remove nodes not in rspec