From: Tony Mack Date: Wed, 14 Apr 2010 11:30:46 +0000 (+0000) Subject: added 'peer_id' attribute to slice object X-Git-Tag: sfa-0.9-11~6^2~32 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=4b61ad89b58f942adb9270a1faf9c7a53466d67b added 'peer_id' attribute to slice object --- diff --git a/sfa/plc/network.py b/sfa/plc/network.py index 955036c5..94f6e04a 100644 --- a/sfa/plc/network.py +++ b/sfa/plc/network.py @@ -115,6 +115,7 @@ class Slice: self.network = network self.id = slice['slice_id'] self.name = slice['name'] + self.peer_id = slice['peer_id'] self.node_ids = set(slice['node_ids']) self.slice_tag_ids = slice['slice_tag_ids']