Esempio n. 1
0
                       "or <physical_network>")),
]

vxlan_opts = [
    cfg.BoolOpt('enable_vxlan',
                default=False,
                help=_("Enable VXLAN on the agent. Can be enabled when "
                       "agent is managed by ml2 plugin using linuxbridge "
                       "mechanism driver")),
    cfg.IntOpt('ttl', help=_("TTL for vxlan interface protocol packets.")),
    cfg.IntOpt('tos', help=_("TOS for vxlan interface protocol packets.")),
    cfg.StrOpt('vxlan_group',
               default=DEFAULT_VXLAN_GROUP,
               help=_("Multicast group for vxlan interface.")),
    cfg.IPOpt('local_ip',
              version=4,
              help=_("Local IP address of the VXLAN endpoints.")),
    cfg.BoolOpt('l2_population',
                default=False,
                help=_("Extension to use alongside ml2 plugin's l2population "
                       "mechanism driver. It enables the plugin to populate "
                       "VXLAN forwarding table.")),
]

bridge_opts = [
    cfg.ListOpt('physical_interface_mappings',
                default=DEFAULT_INTERFACE_MAPPINGS,
                help=_("List of <physical_network>:<physical_interface>")),
]

agent_opts = [
Esempio n. 2
0
CONF = cfg.CONF
DEFAULT_CONFIG_FILE = 'testagent.conf'
DEFAULT_SUBSCRIPTION_FILE = 'subscription4.conf'
DEFAULT_SELFASSESSMENT_DIR = '/etc/testagent/selfassessment'
DEFAULT_EVIDENCES_DIR = 'var/log/testagent/evidences'
DEFAULT_MAIN_LOGFILE = 'var/log/testagent/testagent.log'

main = [cfg.StrOpt('log-level', default='info', help="Log level")]

CONF.register_opts(main)

subscription_service = cfg.OptGroup(name='subscription',
                                    title='Subscription service options')
subscription_service_opts = [
    cfg.IntOpt('port', default=8080, help="Listening port"),
    cfg.IPOpt("address", default='0.0.0.0', help="Listening address"),
    cfg.StrOpt("server_cert", default=None, help="SSL certificate file"),
    cfg.StrOpt("server_key", default=None, help="SSL key file"),
    cfg.StrOpt(
        "client_ca",
        default=None,
        help="SSL Certification Authority for TLS client authentication"),
]

CONF.register_group(subscription_service)
CONF.register_opts(subscription_service_opts, subscription_service)

apis_service = cfg.OptGroup(name='apis_service', title='APIs service options')
apis_service_opts = [
    cfg.IntOpt('port', default=8081, help="Listening port"),
    cfg.IPOpt("address", default='0.0.0.0', help="Listening address"),
Esempio n. 3
0
    cfg.StrOpt('integration_bridge',
               default='br-int',
               help=_("Integration bridge to use.")),
    cfg.StrOpt('tunnel_bridge',
               default='br-tun',
               help=_("Tunnel bridge to use.")),
    cfg.StrOpt('int_peer_patch_port',
               default='patch-tun',
               help=_("Peer patch port in integration bridge for tunnel "
                      "bridge.")),
    cfg.StrOpt('tun_peer_patch_port',
               default='patch-int',
               help=_("Peer patch port in tunnel bridge for integration "
                      "bridge.")),
    cfg.IPOpt('local_ip',
              version=4,
              help=_("Local IP address of tunnel endpoint.")),
    cfg.ListOpt('bridge_mappings',
                default=DEFAULT_BRIDGE_MAPPINGS,
                help=_("List of <physical_network>:<bridge>. "
                       "Deprecated for ofagent.")),
    cfg.BoolOpt('use_veth_interconnection',
                default=False,
                help=_("Use veths instead of patch ports to interconnect the "
                       "integration bridge to physical bridges.")),
]

agent_opts = [
    cfg.IntOpt('polling_interval',
               default=2,
               help=_("The number of seconds the agent will wait between "