commit
9d3c974cbb
@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
DIR_BRCD=$DEST/networking-brocade
|
||||
|
||||
if is_service_enabled net-brcd; then
|
||||
|
||||
if [[ "$1" == "source" ]]; then
|
||||
:
|
||||
fi
|
||||
|
||||
if [[ "$1" == "stack" && "$2" == "install" ]]; then
|
||||
cd $DIR_BRCD
|
||||
echo "Installing networking-brocade"
|
||||
setup_develop $DIR_BRCD
|
||||
fi
|
||||
|
||||
if [[ "$1" == "clean" ]]; then
|
||||
:
|
||||
fi
|
||||
fi
|
@ -0,0 +1,19 @@
|
||||
[l3_brocade_mlx]
|
||||
# switch_names = Comma separated list of names of MLX switches to be configured
|
||||
# Example:
|
||||
# switch_names = mlx
|
||||
|
||||
[L3_BROCADE_MLX_EXAMPLE]
|
||||
# address = The IP address of the MLX switch
|
||||
# username = The SSH username to use to connect to device
|
||||
# password = The SSH password to use to connect to device
|
||||
# physical_networks = Allowed physical networks for VLAN configuration
|
||||
# ports = Comma separated list of ports on the switch which needs to be tagged to VLAN
|
||||
#
|
||||
# Example:
|
||||
# [mlx]
|
||||
# address = 10.24.20.21
|
||||
# username = admin
|
||||
# password = password
|
||||
# physical_networks = physnet1
|
||||
# ports = 3/3, 3/9
|
@ -0,0 +1,33 @@
|
||||
[ml2_brocade_fi_ni]
|
||||
# switch_names = Comma separated names of switch to be configured
|
||||
# Example:
|
||||
# switch_names = icx-1, icx-2
|
||||
|
||||
[ML2_BROCADE_MLX_EXAMPLE]
|
||||
# address = The address of the host to SSH to
|
||||
# username = The username to use to connect to device
|
||||
# password = The password to use to connect to device
|
||||
# physical_networks = Allowed physical networks
|
||||
# ports = Ports on the switch which needs to tagged to VLAN. Multiple ports can be separated by a comma.
|
||||
# transport = Protocol to use for device connection(SSH or Telnet). Default is SSH. This is an optional parameter
|
||||
# ostype = Optional parameter, which will identify the firmware version(FI/NI)
|
||||
#
|
||||
# Example:
|
||||
# [icx-1]
|
||||
# address = 10.24.20.22
|
||||
# username = admin
|
||||
# password = password
|
||||
# physical_networks = physnet1
|
||||
# ports = 1/1/1, 1/1/2
|
||||
# transport = SSH
|
||||
# ostype = FI
|
||||
|
||||
# Example:
|
||||
# [mlx]
|
||||
# address = 10.24.20.21
|
||||
# username = admin
|
||||
# password = password
|
||||
# physical_networks = physnet1
|
||||
# ports = 3/3, 3/9
|
||||
# transport = SSH
|
||||
# ostype = NI
|
@ -0,0 +1,44 @@
|
||||
# Copyright 2016 Brocade Communications
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import oslo_i18n
|
||||
|
||||
DOMAIN = "networking-brocade"
|
||||
|
||||
_translators = oslo_i18n.TranslatorFactory(domain=DOMAIN)
|
||||
|
||||
# The primary translation function using the well-known name "_"
|
||||
_ = _translators.primary
|
||||
|
||||
# The contextual translation function using the name "_C"
|
||||
# requires oslo.i18n >=2.1.0
|
||||
_C = _translators.contextual_form
|
||||
|
||||
# The plural translation function using the name "_P"
|
||||
# requires oslo.i18n >=2.1.0
|
||||
_P = _translators.plural_form
|
||||
|
||||
# Translators for log levels.
|
||||
#
|
||||
# The abbreviated names are meant to reflect the usual use of a short
|
||||
# name like '_'. The "L" is for "log" and the other letter comes from
|
||||
# the level.
|
||||
_LI = _translators.log_info
|
||||
_LW = _translators.log_warning
|
||||
_LE = _translators.log_error
|
||||
_LC = _translators.log_critical
|
||||
|
||||
|
||||
def get_available_languages():
|
||||
return oslo_i18n.get_available_languages(DOMAIN)
|
@ -1,21 +1,16 @@
|
||||
# The order of packages is significant, because pip processes them in the order
|
||||
# of appearance. Changing the order has an impact on the overall integration
|
||||
# process, which may cause wedges in the gate later.
|
||||
pbr<2.0,>=1.4
|
||||
pbr>=1.6 # Apache-2.0
|
||||
|
||||
eventlet>=0.17.4
|
||||
httplib2>=0.7.5
|
||||
netaddr>=0.7.12
|
||||
SQLAlchemy<1.1.0,>=0.9.7
|
||||
alembic>=0.8.0
|
||||
six>=1.9.0
|
||||
oslo.config>=2.1.0 # Apache-2.0
|
||||
oslo.db>=2.0 # Apache-2.0
|
||||
oslo.messaging!=1.17.0,!=1.17.1,>=1.16.0
|
||||
oslo.serialization>=1.4.0 # Apache-2.0
|
||||
oslo.utils>=2.0.0 # Apache-2.0
|
||||
|
||||
# This project does depend on neutron as a library, but the
|
||||
# openstack tooling does not play nicely with projects that
|
||||
# are not publicly available in pypi.
|
||||
# -e git+https://git.openstack.org/openstack/neutron#egg=neutron
|
||||
eventlet!=0.18.3,>=0.18.2 # MIT
|
||||
httplib2>=0.7.5 # MIT
|
||||
netaddr!=0.7.16,>=0.7.12 #BSD
|
||||
SQLAlchemy<1.1.0,>=1.0.10 # MIT
|
||||
alembic>=0.8.0 # MIT
|
||||
six>=1.9.0 # MIT
|
||||
oslo.config>=3.7.0 # Apache-2.0
|
||||
oslo.db>=4.1.0 # Apache-2.0
|
||||
oslo.messaging>=4.0.0
|
||||
oslo.serialization>=1.10.0 # Apache-2.0
|
||||
oslo.utils>=3.5.0 # Apache-2.0
|
||||
|
Loading…
Reference in new issue