Stabilizing iSER interface after reboot
By changing the eth prefix to mlnx Change-Id: If49af5c18d8fc240911a6a8be13ce60b43cb46f1
This commit is contained in:
parent
c9ffc114b2
commit
212b1ce28a
|
@ -25,7 +25,7 @@ MLNX_SECTION = 'mellanox-plugin'
|
|||
SETTINGS_FILE = '/etc/astute.yaml'
|
||||
PLUGIN_OVERRIDE_FILE = '/etc/hiera/override/plugins.yaml'
|
||||
MLNX_DRIVERS_LIST = ('mlx4_en', 'eth_ipoib')
|
||||
ISER_IFC_NAME = 'eth_iser0'
|
||||
ISER_IFC_NAME = 'mlnx_iser0'
|
||||
LOG_FILE = '/var/log/mellanox-plugin.log'
|
||||
|
||||
class MellanoxSettingsException(Exception):
|
||||
|
@ -152,7 +152,7 @@ class MellanoxSettings(object):
|
|||
storage_vlan = mlnx.get('storage_vlan')
|
||||
storage_parent = cls.get_interface_by_network('storage')
|
||||
if storage_vlan and mlnx['driver'] == 'mlx4_en': # Use VLAN dev
|
||||
vlan_name = "{0}{1}".format('vlan', storage_vlan)
|
||||
vlan_name = "{0}.{1}".format(ISER_IFC_NAME, storage_vlan)
|
||||
# Set storage rule to iSER interface vlan interface
|
||||
cls.data['network_scheme']['roles']['storage'] = vlan_name
|
||||
# Set iSER interface vlan interface
|
||||
|
|
|
@ -5,7 +5,7 @@ name: mellanox-plugin
|
|||
title: Mellanox Openstack features
|
||||
|
||||
# Plugin version
|
||||
version: 2.0.34
|
||||
version: 2.0.35
|
||||
|
||||
# Description
|
||||
description: Enable features over Mellanox hardware
|
||||
|
|
Loading…
Reference in New Issue