Flush br-storage IP address for RDMA connection

Change-Id: I846b4f0c5a23184d4d91fcc3a4eb9eef149943e6
This commit is contained in:
Aviram Bar-Haim 2016-02-14 21:09:46 +02:00
parent 362b635b7c
commit 689fe24394
3 changed files with 2 additions and 7 deletions

View File

@ -201,6 +201,7 @@ class MellanoxSettings(object):
'bridge': 'br-storage',
'name': storage_parent,
})
endpoints['br-storage'] = {'IP' : 'None'}
@classmethod
def get_endpoints_section(cls):

View File

@ -12,16 +12,10 @@ class mellanox_openstack::cinder_iser (
cinder_config { 'DEFAULT/iscsi_ip_address' :
value => "$iser_ip_address"
}
exec { 'flush_br_storage' :
command => "ip addr flush dev br-storage",
onlyif => "ip a | grep -q br-storage",
path => ['/bin', '/sbin']
}
service { $cinder::params::volume_service :
ensure => running,
subscribe => [Cinder_config['DEFAULT/iscsi_protocol'],
Cinder_config['DEFAULT/volume_driver'],
Exec['flush_br_storage'],
Cinder_config['DEFAULT/iscsi_ip_address']]
}
}

View File

@ -5,7 +5,7 @@ name: mellanox-plugin
title: Mellanox Openstack features
# Plugin version
version: 2.0.22
version: 2.0.23
# Description
description: Enable features over Mellanox hardware