示例#1
0
               'defined, it can be redefined by changing "vpc_pool" and '
               'restarting neutron. Existing VPC ids in the database are '
               'gathered and compared against the new "vpc_pool" config.  New '
               'configured vpcids not found in the database are added.  '
               'Inactive entries in the database not found in the new '
               'configured vpcids list are removed. An example of this '
               'configuration is `vpc_pool=1001-1025,1028`.')),
    base.RemainderOpt(
        'compute_hosts',
        help=_('The "compute_hosts" option is not actually an option keyword '
               'but rather a documentation placeholder for describing how '
               'compute hosts are configured. For each host '
               'connected to a port on the switch, specify the hostname and '
               'assign the Nexus switch physical port (interface) it is '
               'connected to.  The format of this configuration is '
               '<your-compute-hostname>=<intf_type:port>). Valid '
               'intf_types are "ethernet" or "port-channel".  The default '
               'setting for <intf_type:> is "ethernet" and need not be added '
               'to this setting. (Sample configs are: compute1=1/1 or '
               'compute2=ethernet:1/2 or compute3=port-channel:1). If you '
               'have multiple compute hosts connected to the same switch, '
               'they must each be configured on a different line in the '
               'config file.  This configuration applies to VM deployments '
               'only.'))
]

ml2_cisco_opts = [
    cfg.BoolOpt(
        'host_key_checks',
        default=False,
        deprecated_for_removal=True,
示例#2
0
               '<start_vpc_no,end_vpc_no> allows you to configure a range '
               'from start to end and <vpc_no> allows just individual '
               'numbers.  There can be any number of ranges and numbers '
               'separated by commas. There is no default value.  If not '
               'configured, the port-channel will only handle learned cases '
               'and attempts to create port-channels will fail since there is '
               'no id pool available from which to allocate an id. Once '
               'defined, it can be redefined by changing "vpc_pool" and '
               'restarting neutron. Existing VPC ids in the database are '
               'gathered and compared against the new "vpc_pool" config.  New '
               'configured vpcids not found in the database are added.  '
               'Inactive entries in the database not found in the new '
               'configured vpcids list are removed. An example of this '
               'configuration is `vpc_pool=1001-1025,1028`.')),
    base.RemainderOpt(
        'host_port_mapping',
        deprecated_for_removal=True,
        deprecated_reason="Replaced by 'port_host_mapping' option")
]

ml2_cisco_opts = [
    cfg.BoolOpt(
        'host_key_checks',
        default=False,
        deprecated_for_removal=True,
        help=_('Set to True to enable strict hostkey checks when connecting '
               'to Nexus switches via ncclient; otherwise, no hostkey checks '
               'are performed). This will be deprecated along with '
               'nexus_driver since this is associated to the ncclient driver '
               'which is going away.')),
    cfg.StrOpt(
        'managed_physical_network',
示例#3
0
               help=_('Name of QoS Policy pre-defined in UCSM, to be '
                      'applied to all VM-FEX Port Profiles. This is '
                      'an optional parameter.')),
    cfg.StrOpt('sp_template_list',
               help=_('This is an optional configuration to be provided to '
                      'the UCSM driver when the OpenStack controller and '
                      'compute hosts are controlled by UCSM Service Profile '
                      'Templates.')),
    cfg.StrOpt('vnic_template_list',
               help=_('This is an optional configuration to be provided to '
                      'the UCSM driver when vNICs connected to external '
                      'physical networks are controlled by a vNIC Template '
                      'on the UCSM.')),
]

sriov_opts = [base.RemainderOpt('network_vlans')]

ucsms = base.SubsectionOpt(
    'ml2_cisco_ucsm_ip',
    dest='ucsms',
    help=_("Subgroups that allow you to specify the UCSMs to be "
           "managed by the UCSM ML2 driver."),
    subopts=ml2_cisco_ucsm_common)

CONF.register_opts(ml2_cisco_ucsm_opts, "ml2_cisco_ucsm")
CONF.register_opts(ml2_cisco_ucsm_common, "ml2_cisco_ucsm")
CONF.register_opt(ucsms, "ml2_cisco_ucsm")
CONF.register_opts(sriov_opts, "sriov_multivlan_trunk")


def parse_pci_vendor_config():
示例#4
0
                   '                     '
                   'physnet2:vnic_template_path2:vt2\n'
                   'This is an optional config with no defaults.')),
]

sriov_opts = [
    base.RemainderOpt('network_name',
                      dest="network_vlans",
                      item_type=VlanListType(),
                      help=_('SR-IOV Multi-VLAN trunk config section is an '
                             'optional config section to accomodate the '
                             'scenario where an application using an SR-IOV '
                             'port to communicate would like to send traffic '
                             'on multiple application specific VLANs not '
                             'known to OpenStack. This config section is '
                             'applicable across all UCSMs specified as part '
                             'of the OpenStack cloud. The names of the '
                             'neutron networks on which the SR-IOV ports are '
                             'going to be created have to be known ahead of '
                             'time and should be associated with a list or '
                             'range of application VLANs using the following '
                             'format:\n'
                             '<neutron network name>=<comma separated list of '
                             'VLAN-ids or VLAN-id ranges> '
                             'For example:\ntest_network1=5,7-9')),
]

ucsms = base.SubsectionOpt(
    'ml2_cisco_ucsm_ip',
    dest='ucsms',
    help=_("Subgroups that allow you to specify the UCSMs to be "
示例#5
0
    cfg.StrOpt('scheduler'),
    cfg.StrOpt('driver'),
    cfg.StrOpt('cfg_agent_service_helper'),
    cfg.StrOpt('cfg_agent_driver')
]


router_types = base.SubsectionOpt(
    'cisco_router_type',
    dest='cisco_router_type',
    help=_("Subgroups that allow you to specify the hosting devices"),
    subopts=router_type_subopts)


hwvlantrunkingdrivers_subopts = [
    base.RemainderOpt('interfaces')
]

hwvlantrunkingdrivers = base.SubsectionOpt(
    'HwVLANTrunkingPlugDriver',
    dest='HwVLANTrunkingPlugDriver',
    help=_("Subgroups that allow you to specify trunking driver interfaces"),
    subopts=hwvlantrunkingdrivers_subopts)

cfg.CONF.register_opt(hosting_device_credentials)
cfg.CONF.register_opt(hosting_device_templates)
cfg.CONF.register_opt(hosting_devices)
cfg.CONF.register_opt(router_types)
cfg.CONF.register_opt(hwvlantrunkingdrivers)