Bearer Added 48/7748/3
authorpajaresmarti <guillermo.pajaresmartin@telefonica.com>
Thu, 4 Jul 2019 07:14:40 +0000 (09:14 +0200)
committerpajaresmarti <guillermo.pajaresmartin@telefonica.com>
Wed, 24 Jul 2019 10:10:34 +0000 (11:10 +0100)
Change-Id: I40de3e356ec161968d23a3f98cb04d203d9962f5
Signed-off-by: pajaresmarti <guillermo.pajaresmartin@telefonica.com>
osm_ro/wim/wimconn_ietfl2vpn.py

index 4db7393..321c320 100644 (file)
@@ -207,6 +207,7 @@ class WimconnectorIETFL2VPN(WimConnector):
                 self.logger.info("Sending vpn-attachement :{}".format(vpn_attach))
                 uuid_sna = str(uuid.uuid4())
                 site_network_access["network-access-id"] = uuid_sna
+                site_network_access["bearer"] = connection_point_wan_info["wan_service_mapping_info"]["bearer"]
                 site_network_accesses = {}
                 site_network_access_list = []
                 site_network_access_list.append(site_network_access)
@@ -310,6 +311,7 @@ class WimconnectorIETFL2VPN(WimConnector):
             site_network_access["vpn-attachment"] = vpn_attach
             uuid_sna = conn_info[counter]["site-network-access-id"]
             site_network_access["network-access-id"] = uuid_sna
+            site_network_access["bearer"] = connection_point_wan_info["wan_service_mapping_info"]["bearer"]
             site_network_accesses = {}
             site_network_access_list = []
             site_network_access_list.append(site_network_access)