def get_vlan_device_name(src_dev, vlan):
 src_dev = p_utils.get_interface_name(src_dev, max_len=(n_const.DEVICE_NAME_MAX_LEN - MAX_VLAN_POSTFIX_LEN))
 return ('%s.%s' % (src_dev, vlan))

def get_vlan_device_name ( src_dev , vlan ) : src_dev = p_utils . get_interface_name ( src_dev , max_len = ( n_const . DEVICE_NAME_MAX_LEN - MAX_VLAN_POSTFIX_LEN ) ) return ( '%s.%s' % ( src_dev , vlan ) )
generating the vlan device name .