def create_nic(self, datacenter_id, server_id, nic):
data = json.dumps(self._create_nic_dict(nic))<EOL>response = self._perform_request(<EOL>url='<STR_LIT>' % (<EOL>datacenter_id,<EOL>server_id),<EOL>method='<STR_LIT:POST>',<EOL>data=data)<EOL>return response<EOL>
Creates a NIC on the specified server.

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

:param      server_id: The unique ID of the server.
:type       server_id: ``str``

:param      nic: A NIC dict.
:type       nic: ``dict``