From caacd59ab4df50d4cb39b99329cbed8919636288 Mon Sep 17 00:00:00 2001 From: Junaid Ali Date: Sun, 19 Jun 2016 23:54:39 +0500 Subject: [PATCH] Changes: Updated fabric-interfaces config description Removed unused imports --- config.yaml | 3 +-- hooks/pg_gw_utils.py | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/config.yaml b/config.yaml index 1f53ed3..f961bb6 100644 --- a/config.yaml +++ b/config.yaml @@ -18,8 +18,7 @@ options: type: string description: | Interfaces that will provide fabric connectivity on the gateway nodes. - Provided in form of json in a string. These interfaces have to be connected - to the os-data-network specified in the config. Default value is MANAGEMENT which + Provided in form of json in a string. Default value is MANAGEMENT which will configure the management interface as the fabric interface on each director. network-device-mtu: diff --git a/hooks/pg_gw_utils.py b/hooks/pg_gw_utils.py index 5582b3c..73ae795 100644 --- a/hooks/pg_gw_utils.py +++ b/hooks/pg_gw_utils.py @@ -23,8 +23,6 @@ from charmhelpers.contrib.network.ip import ( get_iface_from_addr, get_bridges, get_bridge_nics, - is_address_in_network, - get_iface_addr ) from charmhelpers.core.host import ( write_file,