# Path: networking_vsphere/_i18n.py
# DOMAIN = "networking_vsphere"
# _C = _translators.contextual_form
# _P = _translators.plural_form
# _LI = _translators.log_info
# _LW = _translators.log_warning
# _LE = _translators.log_error
# _LC = _translators.log_critical
# def get_available_languages():


import argparse
import six
from networking_vsphere._i18n import _
from neutronclient.common import exceptions
from neutronclient.common import extension
from neutronclient.common import utils
from neutronclient.neutron import v2_0 as neutronV20
    list_columns = ['vcenter_id', 'cluster_id', 'being_mitigated',
                    'threshold_reached']
    pagination_support = True
    sorting_support = True


class OVSvAppMitigatedClusterShow(extension.ClientExtensionShow,
                                  OVSvAppMitigatedCluster):
    """Show mitigated info of a given cluster."""

    shell_command = 'ovsvapp-mitigated-cluster-show'
    allow_names = True

    def args2body(self, parsed_args):
        body = {'ovsvapp_mitigated_cluster': {
                'vcenter_id': parsed_args.vcenter_id,
                'cluster_id': parsed_args.cluster_id}}
        return body

    def get_parser(self, prog_name):
        parser = super(neutronV20.ShowCommand, self).get_parser(prog_name)
        parser.add_argument(
            '--vcenter-id', metavar='VCENTER_ID',
            required=True,
            dest='vcenter_id',
            help=_('Specify the vcenter_id.'))
        parser.add_argument(
            '--cluster-id', metavar='CLUSTER_ID',
            dest='cluster_id',
            required=True,

# Path: networking_vsphere/_i18n.py
# DOMAIN = "networking_vsphere"
# _C = _translators.contextual_form
# _P = _translators.plural_form
# _LI = _translators.log_info
# _LW = _translators.log_warning
# _LE = _translators.log_error
# _LC = _translators.log_critical
# def get_available_languages():


# Path: networking_vsphere/neutronclient/_ovsvapp_mitigated_cluster.py
import argparse
import six
from networking_vsphere._i18n import _
from neutronclient.common import exceptions
from neutronclient.common import extension
from neutronclient.common import utils
from neutronclient.neutron import v2_0 as neutronV20

    list_columns = ['vcenter_id', 'cluster_id', 'being_mitigated',
                    'threshold_reached']
    pagination_support = True
    sorting_support = True


class OVSvAppMitigatedClusterShow(extension.ClientExtensionShow,
                                  OVSvAppMitigatedCluster):
    """Show mitigated info of a given cluster."""

    shell_command = 'ovsvapp-mitigated-cluster-show'
    allow_names = True

    def args2body(self, parsed_args):
        body = {'ovsvapp_mitigated_cluster': {
                'vcenter_id': parsed_args.vcenter_id,
                'cluster_id': parsed_args.cluster_id}}
        return body

    def get_parser(self, prog_name):
        parser = super(neutronV20.ShowCommand, self).get_parser(prog_name)
        parser.add_argument(
            '--vcenter-id', metavar='VCENTER_ID',
            required=True,
            dest='vcenter_id',
            help=_('Specify the vcenter_id.'))
        parser.add_argument(
            '--cluster-id', metavar='CLUSTER_ID',
            dest='cluster_id',
            required=True,

            help=_('Specify the cluster_id.'))