Replace usage of ifconfig with ip

1) ifconfig is considered deprecated and ip should always be used instead
2) ip is used in the rest of the script already

Change-Id: I19c8620d1a9a4a15437283c21bc029eb1127e0f5
Strip host and device when parsing Swift storage hosts

Change-Id: I99c3fa389b3624b55bd80e5d4781744999b9dca0
Fixes: rhbz#908846
Fixed hardcoded /root in mysql module and add /root/.my.cnf mode 0600

Change-Id: Ie973adb65cf62d688b4e0f4932c55b74ad4280e5
Fixes: rhbz#894733
Merge "Fixed hardcoded /root in mysql module and add /root/.my.cnf mode 0600"
Merge "Strip host and device when parsing Swift storage hosts"
Merge "Replace usage of ifconfig with ip"