summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunaid Ali <junaidali@plumgrid.com>2016-06-19 23:54:39 +0500
committerJunaid Ali <junaidali@plumgrid.com>2016-06-19 23:54:39 +0500
commitcaacd59ab4df50d4cb39b99329cbed8919636288 (patch)
tree61434d353f0e7e7de543a6cc1e95b0b5ae740f68
parenta3da099ebec1281a4acb3868274ea824228908ef (diff)
Changes:
Updated fabric-interfaces config description Removed unused imports
-rw-r--r--config.yaml3
-rw-r--r--hooks/pg_gw_utils.py2
2 files changed, 1 insertions, 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:
18 type: string 18 type: string
19 description: | 19 description: |
20 Interfaces that will provide fabric connectivity on the gateway nodes. 20 Interfaces that will provide fabric connectivity on the gateway nodes.
21 Provided in form of json in a string. These interfaces have to be connected 21 Provided in form of json in a string. Default value is MANAGEMENT which
22 to the os-data-network specified in the config. Default value is MANAGEMENT which
23 will configure the management interface as the fabric interface on each 22 will configure the management interface as the fabric interface on each
24 director. 23 director.
25 network-device-mtu: 24 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 (
23 get_iface_from_addr, 23 get_iface_from_addr,
24 get_bridges, 24 get_bridges,
25 get_bridge_nics, 25 get_bridge_nics,
26 is_address_in_network,
27 get_iface_addr
28) 26)
29from charmhelpers.core.host import ( 27from charmhelpers.core.host import (
30 write_file, 28 write_file,