projects
/
osm
/
RO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for bug 1054
[osm/RO.git]
/
RO
/
osm_ro
/
wim
/
wan_link_actions.py
diff --git
a/RO/osm_ro/wim/wan_link_actions.py
b/RO/osm_ro/wim/wan_link_actions.py
index
7409fb7
..
7dd4165
100644
(file)
--- a/
RO/osm_ro/wim/wan_link_actions.py
+++ b/
RO/osm_ro/wim/wan_link_actions.py
@@
-315,7
+315,9
@@
class WanLinkCreate(RefreshMixin, CreateAction):
if details.get('encapsulation_type') == 'vlan':
point['service_endpoint_encapsulation_type'] = 'dot1q'
point['service_endpoint_encapsulation_info'] = {
if details.get('encapsulation_type') == 'vlan':
point['service_endpoint_encapsulation_type'] = 'dot1q'
point['service_endpoint_encapsulation_info'] = {
- 'vlan': details['encapsulation_id']
+ 'vlan': details['encapsulation_id'],
+ 'switch_dpid': wan_info['switch_dpid'],
+ 'switch_port': wan_info['switch_port']
}
else:
point['service_endpoint_encapsulation_type'] = 'none'
}
else:
point['service_endpoint_encapsulation_type'] = 'none'