File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -76,28 +76,20 @@ def change_wan_access_bandwidth(self,
7676 wan_access ,
7777 bandwidth_type ,
7878 bandwidth = None ,
79- bandwidth_local = None ,
80- bandwidth_remote = None ,
8179 ** params ):
8280 """ change wan accesss bandwidth.
8381 @param wan_access: the IDs of wan access.
8482 @param bandwidth_type: wan access bandwitdth type eg: elastic.
8583 @param bandwidth: the new bandwidth for all, unit in Mbps.
86- @param bandwidth_local: the new bandwidth for local city, unit in Mbps.
87- @param bandwidth_remote : the new bandwidth for remote city,
88- unit in Mbps.
8984 """
9085 action = const .ACTION_CHANGE_WAN_ACCESS_BANDWIDTH
91- valid_keys = ['wan_access' , 'bandwidth_type' , 'bandwidth' ,
92- 'bandwidth_local' , 'bandwidth_remote' ]
86+ valid_keys = ['wan_access' , 'bandwidth_type' , 'bandwidth' ]
9387 body = filter_out_none (locals (), valid_keys )
9488 if not self .conn .req_checker .check_params (
9589 body ,
9690 required_params = ['wan_access' ,
9791 'bandwidth_type' ],
98- integer_params = ['bandwidth' ,
99- 'bandwidth_local' ,
100- 'bandwidth_remote' ]
92+ integer_params = ['bandwidth' ]
10193 ):
10294 return None
10395
You can’t perform that action at this time.
0 commit comments