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


from oslo_config import cfg
from networking_odl._i18n import _



odl_opts = [
    cfg.StrOpt('url',
               help=_("HTTP URL of OpenDaylight REST interface.")),
    cfg.StrOpt('username',
               help=_("HTTP username for authentication.")),
    cfg.StrOpt('password', secret=True,
               help=_("HTTP password for authentication.")),
    cfg.IntOpt('timeout', default=10,
               help=_("HTTP timeout in seconds.")),
    cfg.IntOpt('session_timeout', default=30,
               help=_("Tomcat session timeout in minutes.")),
    cfg.FloatOpt('sync_timeout', default=10,
                 help=_("Sync thread timeout in seconds or fraction.")),
    cfg.IntOpt('retry_count', default=5,
               help=_("Number of times to retry a row before failing.")),
    cfg.IntOpt('maintenance_interval', default=300,
               help=_("Journal maintenance operations interval in seconds.")),
    cfg.IntOpt('completed_rows_retention', default=0,
               help=_("Time to keep completed rows (in seconds)."
                      "For performance reasons it's not recommended to "
                      "change this from the default value (0) which "
                      "indicates completed rows aren't kept."
                      "This value will be checked every maintenance_interval "
                      "by the cleanup thread. To keep completed rows "
                      "indefinitely, set the value to -1")),
    cfg.BoolOpt('enable_lightweight_testing',
                default=False,

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


# Path: networking_odl/common/config.py
from oslo_config import cfg
from networking_odl._i18n import _




odl_opts = [
    cfg.StrOpt('url',
               help=_("HTTP URL of OpenDaylight REST interface.")),
    cfg.StrOpt('username',
               help=_("HTTP username for authentication.")),
    cfg.StrOpt('password', secret=True,
               help=_("HTTP password for authentication.")),
    cfg.IntOpt('timeout', default=10,
               help=_("HTTP timeout in seconds.")),
    cfg.IntOpt('session_timeout', default=30,
               help=_("Tomcat session timeout in minutes.")),
    cfg.FloatOpt('sync_timeout', default=10,
                 help=_("Sync thread timeout in seconds or fraction.")),
    cfg.IntOpt('retry_count', default=5,
               help=_("Number of times to retry a row before failing.")),
    cfg.IntOpt('maintenance_interval', default=300,
               help=_("Journal maintenance operations interval in seconds.")),
    cfg.IntOpt('completed_rows_retention', default=0,
               help=_("Time to keep completed rows (in seconds)."
                      "For performance reasons it's not recommended to "
                      "change this from the default value (0) which "
                      "indicates completed rows aren't kept."
                      "This value will be checked every maintenance_interval "
                      "by the cleanup thread. To keep completed rows "
                      "indefinitely, set the value to -1")),
    cfg.BoolOpt('enable_lightweight_testing',
                default=False,

                help=_('Test without real ODL.')),