Skip to content

Commit e39fe5f

Browse files
committed
vpn service
1 parent ab27f07 commit e39fe5f

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

‎openstackclient/tests/network/v2_0/common.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def when_run(self, clazz, pargs):
9191
print('====================================================')
9292
print("body = " + str(lasty.body))
9393
print("querystring = " + str(getattr(lasty, 'querystring', '')))
94-
print("command = " + str(lasty.command))
94+
print("command = " + str(getattr(lasty, 'command', '')))
9595
print("method = " + str(lasty.method))
9696
print("path = " + str(lasty.path))
9797
print('====================================================')

‎openstackclient/tests/network/v2_0/test_gateway.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def test_get_parser_all(self):
5959
class TestSetGateway(common.TestNetworkBase):
6060
def test_get_parser_nothing(self):
6161
parsed = self.given_args(gateway.SetGateway, "noo")
62-
self.assertEqual('noo', parsed.network)
62+
self.assertEqual('noo', parsed.gateway)
6363

6464

6565
class TestShowGateway(common.TestNetworkBase):

‎setup.cfg‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,11 @@ openstack.network.v2_0 =
333333
subnet_list = openstackclient.network.v2_0.subnet:ListSubnet
334334
subnet_show = openstackclient.network.v2_0.subnet:ShowSubnet
335335
subnet_set = openstackclient.network.v2_0.subnet:SetSubnet
336+
vpn_service_create = openstackclient.network.v2_0.vpn.service:CreateService
337+
vpn_service_delete = openstackclient.network.v2_0.vpn.service:DeleteService
338+
vpn_service_list =openstackclient.network.v2_0.vpn.service:ListService
339+
vpn_service_set =openstackclient.network.v2_0.vpn.service:SetService
340+
vpn_service_show =openstackclient.network.v2_0.vpn.service:ShowService
336341

337342
[build_sphinx]
338343
source-dir = doc/source

0 commit comments

Comments
 (0)