@staticmethod
def expand_vlans(vlans):
    """
        Will expand a comma separated list of vlan ids into a list of discrete vlan ids
        :rtype : list
        :param vlans: str of comma separated vlan lists
        """
    vlan_ranges = vlans.split(',')
    vlan_list = []
    for v_range in vlan_ranges:
        if '-' in v_range:
            [v_low, v_hi] = v_range.split('-')
            vlan_list.extend(range(int(v_low), int(v_hi) + 1))
        else:
            vlan_list.append(v_range)
    return vlan_list
