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