Esempio n. 1
0
 def update_bgp_dynamic_routing(self, edge_id, bgp_request):
     uri = self._build_uri_path(edge_id, BGP_ROUTING_CONFIG)
     return self.do_request(HTTP_PUT,
                            uri,
                            VcnsApiClient.xmldumps(bgp_request),
                            format='xml')
Esempio n. 2
0
 def update_bgp_dynamic_routing(self, edge_id, bgp_request):
     uri = self._build_uri_path(edge_id, BGP_ROUTING_CONFIG)
     return self.do_request(HTTP_PUT, uri,
                            VcnsApiClient.xmldumps(bgp_request),
                            format='xml')
Esempio n. 3
0
 def update_edge_routing_config(self, edge_id, request_config):
     uri = self._build_uri_path(edge_id, ROUTING_CONFIG)
     return self.do_request(HTTP_PUT,
                            uri,
                            VcnsApiClient.xmldumps(request_config),
                            format='xml')
Esempio n. 4
0
 def update_edge_routing_config(self, edge_id, request_config):
     uri = self._build_uri_path(edge_id, ROUTING_CONFIG)
     return self.do_request(HTTP_PUT, uri,
                            VcnsApiClient.xmldumps(request_config),
                            format='xml')