# Path: networking_vsphere/neutronclient/_ovsvapp_cluster.py
# class OVSvAppCluster(extension.NeutronClientExtension):
# class OVSvAppClusterCreate(extension.ClientExtensionCreate, OVSvAppCluster):
# class OVSvAppClusterUpdate(extension.ClientExtensionUpdate, OVSvAppCluster):
# class OVSvAppClusterList(extension.ClientExtensionList, OVSvAppCluster):
# class OVSvAppClusterShow(extension.ClientExtensionShow, OVSvAppCluster):
# def _format_devices(ovsvapp_cluster):
# def comman_args2body(parsed_args):
# def comman_add_args(parser):
#     def add_known_arguments(self, parser):
#     def args2body(self, parsed_args):
#     def get_parser(self, prog_name):
#     def run(self, parsed_args):
#     def args2body(self, parsed_args):
#     def execute(self, parsed_args):
# 
# Path: networking_vsphere/tests/unit/neutronclient/test_cli20.py
# TOKEN = neutron_test_cli20.TOKEN
# class MyResp(neutron_test_cli20.MyResp):
# class MyApp(neutron_test_cli20.MyApp):
# class MyComparator(neutron_test_cli20.MyComparator):
# class MyUrlComparator(neutron_test_cli20.MyUrlComparator):
# class CLITestV20Base(neutron_test_cli20.CLITestV20Base):
#     def setUp(self, plurals=None):
#     def _test_create_resource(self, resource, cmd, name, myid, args,
#                               position_names, position_values,
#                               tenant_id=None, tags=None, admin_state_up=True,
#                               extra_body=None, cmd_resource=None,
#                               parent_id=None, **kwargs):
#     def _test_update_resource(self, resource, cmd, myid, args, extrafields,
#                               cmd_resource=None, parent_id=None):


import sys
import mock
from networking_vsphere.neutronclient import (
    _ovsvapp_cluster as ovsvapp_cluster)
from networking_vsphere.tests.unit.neutronclient import test_cli20
from neutronclient import shell
        return contrib

    def test_ext_cmd_loaded(self):
        """Tests ovsvapp-cluster commands loaded."""
        shell.NeutronShell('2.0')
        ext_cmd = {'ovsvapp-cluster-list':
                   ovsvapp_cluster.OVSvAppClusterList,
                   'ovsvapp-cluster-show':
                   ovsvapp_cluster.OVSvAppClusterShow}
        self.assertDictContainsSubset(ext_cmd, shell.COMMANDS['2.0'])

    def test_create_ovsvapp_clusters(self):
        """Test Create OVSvApp clusters."""

        resources = "ovsvapp_cluster"
        vcenter_id = 'v1'
        clusters = ['c1']
        args = ['--vcenter_id', 'v1',
                '--clusters', 'c1']
        position_names = ['vcenter_id', 'clusters']
        position_values = [vcenter_id, clusters]
        cmd = ovsvapp_cluster.OVSvAppClusterCreate(
            test_cli20.MyApp(sys.stdout), None)
        self._test_create_resource(resources, cmd, vcenter_id, 'myid', args,
                                   position_names, position_values)

    def test_update_ovsvapp_clusters(self):
        """Test Update OVSvApp clusters."""

        resources = 'ovsvapp_cluster'

# Path: networking_vsphere/neutronclient/_ovsvapp_cluster.py
# class OVSvAppCluster(extension.NeutronClientExtension):
# class OVSvAppClusterCreate(extension.ClientExtensionCreate, OVSvAppCluster):
# class OVSvAppClusterUpdate(extension.ClientExtensionUpdate, OVSvAppCluster):
# class OVSvAppClusterList(extension.ClientExtensionList, OVSvAppCluster):
# class OVSvAppClusterShow(extension.ClientExtensionShow, OVSvAppCluster):
# def _format_devices(ovsvapp_cluster):
# def comman_args2body(parsed_args):
# def comman_add_args(parser):
#     def add_known_arguments(self, parser):
#     def args2body(self, parsed_args):
#     def get_parser(self, prog_name):
#     def run(self, parsed_args):
#     def args2body(self, parsed_args):
#     def execute(self, parsed_args):
# 
# Path: networking_vsphere/tests/unit/neutronclient/test_cli20.py
# TOKEN = neutron_test_cli20.TOKEN
# class MyResp(neutron_test_cli20.MyResp):
# class MyApp(neutron_test_cli20.MyApp):
# class MyComparator(neutron_test_cli20.MyComparator):
# class MyUrlComparator(neutron_test_cli20.MyUrlComparator):
# class CLITestV20Base(neutron_test_cli20.CLITestV20Base):
#     def setUp(self, plurals=None):
#     def _test_create_resource(self, resource, cmd, name, myid, args,
#                               position_names, position_values,
#                               tenant_id=None, tags=None, admin_state_up=True,
#                               extra_body=None, cmd_resource=None,
#                               parent_id=None, **kwargs):
#     def _test_update_resource(self, resource, cmd, myid, args, extrafields,
#                               cmd_resource=None, parent_id=None):


# Path: networking_vsphere/tests/unit/neutronclient/test_cli_ovsvapp_cluster.py
import sys
import mock
from networking_vsphere.neutronclient import (
    _ovsvapp_cluster as ovsvapp_cluster)
from networking_vsphere.tests.unit.neutronclient import test_cli20
from neutronclient import shell

        return contrib

    def test_ext_cmd_loaded(self):
        """Tests ovsvapp-cluster commands loaded."""
        shell.NeutronShell('2.0')
        ext_cmd = {'ovsvapp-cluster-list':
                   ovsvapp_cluster.OVSvAppClusterList,
                   'ovsvapp-cluster-show':
                   ovsvapp_cluster.OVSvAppClusterShow}
        self.assertDictContainsSubset(ext_cmd, shell.COMMANDS['2.0'])

    def test_create_ovsvapp_clusters(self):
        """Test Create OVSvApp clusters."""

        resources = "ovsvapp_cluster"
        vcenter_id = 'v1'
        clusters = ['c1']
        args = ['--vcenter_id', 'v1',
                '--clusters', 'c1']
        position_names = ['vcenter_id', 'clusters']
        position_values = [vcenter_id, clusters]
        cmd = ovsvapp_cluster.OVSvAppClusterCreate(
            test_cli20.MyApp(sys.stdout), None)
        self._test_create_resource(resources, cmd, vcenter_id, 'myid', args,
                                   position_names, position_values)

    def test_update_ovsvapp_clusters(self):
        """Test Update OVSvApp clusters."""

        resources = 'ovsvapp_cluster'

        cmd = ovsvapp_cluster.OVSvAppClusterUpdate(