Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Feature.bigip 13 mgmt vs eth0 65 #66

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/f5_image_prep/os-functions/openstack-network.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ function set_iface_value () {
# initial chars in a BIGIP version string. We do this
# because the name of the managment interface changes
# from eth0 to mgmt in version 13.
if (( "$1" >= "13"))
version=$(tmsh show /sys version | grep -i version)
if [ $(perl -le "print (\"\$$version\" =~ /(\d+)\.\d+\.\d+/)") -ge 13 ]
then
echo mgmt
else
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# limitations under the License.
#

from setuptools import find_packages
from setuptools import setup

import f5_image_prep
Expand All @@ -32,4 +31,6 @@
'Programming Language :: Python',
'Intended Audience :: System Administrators',
],
install_requires=['python-keystoneclient == 1.7.2',
'python-glanceclient == 1.2.0']
)