# Path: networking_odl/_i18n.py
# DOMAIN = "networking_odl"
# _C = _translators.contextual_form
# _P = _translators.plural_form
# def get_available_languages():


import os
import socket
import subprocess  # nosec
import sys
from oslo_config import cfg
from oslo_log import log as logging
from oslo_serialization import jsonutils
from networking_odl._i18n import _
            An entry should look like:
                --ovs_hostconfigs='{
                    "ODL L2": {
                        "allowed_network_types":
                            ["local","vlan", "vxlan","gre"],
                        "bridge_mappings": {"physnet1":"br-ex"}
                        "supported_vnic_types": [
                            {
                                "vnic_type":"normal",
                                "vif_type":"ovs",
                                "vif_details":{}
                             }
                        ],
                    },
                    "ODL L3": {}
                }'

            Default: --ovs_hostconfigs=
            """)),

    cfg.StrOpt(
        'vhostuser_mode',
        choices=['client', 'server'],
        default='client',
        help=_("""
            It specifies the OVS VHostUser mode.

            Choices: --vhostuser_mode=client
                     --vhostuser_mode=server


# Path: networking_odl/_i18n.py
# DOMAIN = "networking_odl"
# _C = _translators.contextual_form
# _P = _translators.plural_form
# def get_available_languages():


# Path: networking_odl/cmd/set_ovs_hostconfigs.py
import os
import socket
import subprocess  # nosec
import sys
from oslo_config import cfg
from oslo_log import log as logging
from oslo_serialization import jsonutils
from networking_odl._i18n import _

            An entry should look like:
                --ovs_hostconfigs='{
                    "ODL L2": {
                        "allowed_network_types":
                            ["local","vlan", "vxlan","gre"],
                        "bridge_mappings": {"physnet1":"br-ex"}
                        "supported_vnic_types": [
                            {
                                "vnic_type":"normal",
                                "vif_type":"ovs",
                                "vif_details":{}
                             }
                        ],
                    },
                    "ODL L3": {}
                }'

            Default: --ovs_hostconfigs=
            """)),

    cfg.StrOpt(
        'vhostuser_mode',
        choices=['client', 'server'],
        default='client',
        help=_("""
            It specifies the OVS VHostUser mode.

            Choices: --vhostuser_mode=client
                     --vhostuser_mode=server


            Default: --vhostuser_mode=client