git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
392cfb8
)
added 'peer_id' attribute to slice object
author
Tony Mack
<tmack@cs.princeton.edu>
Wed, 14 Apr 2010 11:30:46 +0000
(11:30 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Wed, 14 Apr 2010 11:30:46 +0000
(11:30 +0000)
sfa/plc/network.py
patch
|
blob
|
history
diff --git
a/sfa/plc/network.py
b/sfa/plc/network.py
index
955036c
..
94f6e04
100644
(file)
--- 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']