Interpolate vars in ns_IPaddr2 ocf
Interpolate vars in ns_IPaddr2 ocf

Corrected all bash tests for zero and non-zero
length vars. Corrected missing quotes when checking
for netmask and ns string length.

Renamed [[ to [ where appropriate for -n and -z tests.

Change-Id: Ic83a406ab7681222679edee6688f4ba1aa0a19aa
Closes-Bug: #1455961

xarses/fuel-library,huntxu/fuel-library,huntxu/fuel-library,ddepaoli3/fuel-library-dev,stackforge/fuel-library,stackforge/fuel-library,ddepaoli3/fuel-library-dev,eayunstack/fuel-library,stackforge/fuel-library,huntxu/fuel-library,stackforge/fuel-library,xarses/fuel-library,eayunstack/fuel-library,eayunstack/fuel-library,eayunstack/fuel-library,huntxu/fuel-library,huntxu/fuel-library,ddepaoli3/fuel-library-dev,ddepaoli3/fuel-library-dev,ddepaoli3/fuel-library-dev,xarses/fuel-library,xarses/fuel-library,eayunstack/fuel-library