File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,3 +46,8 @@ def build_option_parser(parser):
4646 % DEFAULT_API_VERSION ,
4747 )
4848 return parser
49+
50+
51+ def check_api_version (check_version ):
52+ # SDK supports auto-negotiation for us: always return True
53+ return True
Original file line number Diff line number Diff line change @@ -46,3 +46,8 @@ def build_option_parser(parser):
4646 % DEFAULT_API_VERSION ,
4747 )
4848 return parser
49+
50+
51+ def check_api_version (check_version ):
52+ # SDK supports auto-negotiation for us: always return True
53+ return True
Original file line number Diff line number Diff line change 2727
2828def make_client (instance ):
2929 """Returns a network proxy"""
30- # NOTE(dtroyer): As of osc-lib 1.8.0 and OpenStackSDK 0.10.0 the
31- # old Profile interface and separate client creation
32- # for each API that uses the SDK is unnecessary. This
33- # callback remains as a remnant of the original plugin
34- # interface and to avoid the code churn of changing all
35- # of the existing references.
3630 LOG .debug (
3731 'Network client initialized using OpenStack SDK: %s' ,
3832 instance .sdk_connection .network ,
You can’t perform that action at this time.
0 commit comments