def get_subnet_name():
 ret = salt.utils.mac_utils.execute_return_result('systemsetup -getlocalsubnetname')
 return salt.utils.mac_utils.parse_return(ret)

def get_subnet_name ( ) : ret = salt . utils . mac_utils . execute_return_result ( 'systemsetup -getlocalsubnetname' ) return salt . utils . mac_utils . parse_return ( ret )
gets the local subnet name :return: the local subnet name :rtype: str cli example: .