

def ex_expand_vlan(self, vlan):
    '\n        Expands the VLAN to the prefix size in private_ipv4_range_size\n        The expansion will\n        not be permitted if the proposed IP space overlaps with an\n        already deployed VLANs IP space.\n\n        :param      vlan: The VLAN to update\n        :type       vlan: :class:`DimensionDataNetworkDomain`\n\n        :return: an instance of `DimensionDataVlan`\n        :rtype: :class:`DimensionDataVlan`\n        '
    edit_node = ET.Element('expandVlan', {
        'xmlns': TYPES_URN,
    })
    edit_node.set('id', vlan.id)
    ET.SubElement(edit_node, 'privateIpv4PrefixSize').text = vlan.private_ipv4_range_size
    self.connection.request_with_orgId_api_2('network/expandVlan', method='POST', data=ET.tostring(edit_node)).object
    return vlan

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py DimensionDataNodeDriver.ex_expand_vlan/original