tempest/api/network/base.py
def create_vpnservice(cls, subnet_id, router_id):
        """Wrapper utility that returns a test vpn service."""
        resp, body = cls.client.create_vpnservice(
            subnet_id, router_id, admin_state_up=True,
            name=data_utils.rand_name("vpnservice-"))
        vpnservice = body['vpnservice']
        cls.vpnservices.append(vpnservice)
        return vpnservice
Wrapper utility that returns a test vpn service.
Wrapper utility that returns a test vpn service.
Wrapper utility that returns a test vpn service .
def create_vpnservice(cls, subnet_id, router_id):
        resp, body = cls.client.create_vpnservice(
            subnet_id, router_id, admin_state_up=True,
            name=data_utils.rand_name("vpnservice-"))
        vpnservice = body['vpnservice']
        cls.vpnservices.append(vpnservice)
        return vpnservice
def create_vpnservice ( cls , subnet_id , router_id ) : resp , body = cls . client . create_vpnservice ( subnet_id , router_id , admin_state_up = True , name = data_utils . rand_name ( "vpnservice-" ) ) vpnservice = body [ 'vpnservice' ] cls . vpnservices . append ( vpnservice ) return vpnservice
Wrapper utility that returns a test vpn service.
Wrapper utility that returns a test vpn service .
"""Wrapper utility that returns a test vpn service."""
cls
subnet_id
router_id