def vlan_id(self):
        """
        VLAN ID for this interface, if any
        
        :return: VLAN identifier
        :rtype: str
        """
        nicid = self.nicid
        if nicid:
            v = nicid.split('.')
            if len(v) > 1:
                return nicid.split('.')[1]
def vlan_id ( self ) : nicid = self . nicid if nicid : v = nicid . split ( '.' ) if len ( v ) > 1 : return nicid . split ( '.' ) [ 1 ]
VLAN ID for this interface, if any
        
        :return: VLAN identifier
        :rtype: str