Fix VLAN param casting to int in mellanox conf
Change-Id: Idb3f67e6f12f089f48d2316a1249ee0ee7ff124b
This commit is contained in:
parent
6717738158
commit
4dd7266601
|
@ -111,7 +111,7 @@ class MellanoxSettings(object):
|
|||
"Failed reading vlan for br-storage"
|
||||
)
|
||||
if mlnx['driver'] == 'eth_ipoib':
|
||||
pkey = format((vlan ^ 0x8000),'04x')
|
||||
pkey = format((int(vlan) ^ 0x8000),'04x')
|
||||
mlnx['storage_pkey'] = pkey
|
||||
|
||||
@classmethod
|
||||
|
|
|
@ -5,7 +5,7 @@ name: mellanox-plugin
|
|||
title: Mellanox Openstack features
|
||||
|
||||
# Plugin version
|
||||
version: 2.0.11
|
||||
version: 2.0.12
|
||||
|
||||
# Description
|
||||
description: Enable features over Mellanox hardware
|
||||
|
|
Loading…
Reference in New Issue