def create_lan(self, datacenter_id, lan):
data = json.dumps(self._create_lan_dict(lan))<EOL>response = self._perform_request(<EOL>url='<STR_LIT>' % datacenter_id,<EOL>method='<STR_LIT:POST>',<EOL>data=data)<EOL>return response<EOL>
Creates a LAN in the data center.

:param      datacenter_id: The unique ID of the data center.
:type       datacenter_id: ``str``

:param      lan: The LAN object to be created.
:type       lan: ``dict``