def get_ip_nonlocal_bind(namespace=None):
 cmd = ['sysctl', '-bn', IP_NONLOCAL_BIND]
 ip_wrapper = IPWrapper(namespace)
 return int(ip_wrapper.netns.execute(cmd, run_as_root=True))

def get_ip_nonlocal_bind ( namespace = None ) : cmd = [ 'sysctl' , '-bn' , IP_NONLOCAL_BIND ] ip_wrapper = IPWrapper ( namespace ) return int ( ip_wrapper . netns . execute ( cmd , run_as_root = True ) )
get kernel option value of ip_nonlocal_bind in given namespace .