'Ensure the same hash is used for long interface names.
If the generated vlan device name would be too long, make sure that
everything before the \'.\' is equal. This might be helpful when
debugging problems.'

def test_get_subinterface_name_advanced(self):

    max_device_name = 'abcdefghijklmno'
    vlan_dev_name1 = self.lbm.get_subinterface_name(max_device_name, '1')
    vlan_dev_name2 = self.lbm.get_subinterface_name(max_device_name, '1111')
    self.assertEqual(vlan_dev_name1.partition('.')[0], vlan_dev_name2.partition('.')[0])
