From: Faiyaz Ahmed Date: Tue, 10 Mar 2009 18:49:14 +0000 (+0000) Subject: Keep in line with schema. X-Git-Url: http://git.onelab.eu/?p=nodemanager-topo.git;a=commitdiff_plain;h=d24a4554ca31b5a8f22e606f578fd2b07fcf71f9 Keep in line with schema. --- diff --git a/vinilinkspec.py b/vinilinkspec.py index d2aeee2..1f47e26 100755 --- a/vinilinkspec.py +++ b/vinilinkspec.py @@ -68,16 +68,16 @@ def linkSpecDict(): ifspecs = [] for node in nodeset: ifspecs.append(ifSpecDict(node)) - linkspecs.append({'LinkSpec': {\ + linkspecs.append({\ 'type': 'ipv4', 'init_params': None, 'bw': '1Gbps', 'min_alloc': '0', 'bw': '1Gbps', - 'endpoints': ifspecs, + 'endpoint': ifspecs, 'start_time': int(time()), - 'duration': '-1'}}) - return linkspecs + 'duration': '-1'}) + return {'LinkSpec': linkspecs} def main():