'Test port interface edge conditions.
- Bogus body is a 400'

def test_interface_func_negative(self):

    server = self._build_minimal_create_server_request()
    created_server = self.api.post_server({'server': server})
    created_server_id = created_server['id']
    os_interface_url = ('/servers/%s/os-interface' % created_server_id)
    body = create_request_body()
    del body['interfaceAttachment']['fixed_ips']
    resp = self.api.api_post(os_interface_url, body, check_response_status=False)
    self.assertEqual(400, resp.status)
    body = create_request_body()
    del body['interfaceAttachment']['port_id']
    del body['interfaceAttachment']['net_id']
    resp = self.api.api_post(os_interface_url, body, check_response_status=False)
    self.assertEqual(400, resp.status)
