@POST
	@Path("/v2.0/ports")
	@Produces(MediaType.APPLICATION_JSON)
	public Response createPort(final String request) throws MalformedURLException, IOException{
		//Convert input object NetworkData into a String like a Json text
		Object port;
		port = JsonUtility.fromResponseStringToObject(request,ExtendedPort.class);
		String input = JsonUtility.toJsonString(port);
		System.out.println(input);
		//Connect to a REST service
		HttpURLConnection conn=HTTPConnector.HTTPConnect(new URL(this.URLpath), OpenstackNetProxyConstants.HTTP_METHOD_POST, input);
		//Get the response text from the REST service
		String response=HTTPConnector.printStream(conn);
		Object result;
		if(response.equals("Multiple created")) result=response;
		else result=(ExtendedPort) JsonUtility.fromResponseStringToObject(response, ExtendedPort.class);
		int responseCode=conn.getResponseCode();
		HTTPConnector.HTTPDisconnect(conn);
		//Insert data into the Knowledge Base
		if (responseCode==201){
//			ExtendedPort p=(ExtendedPort)result;
//			if(p.getPorts()==null)PortOntology.insertExtendedPort(p, null);
//			else PortOntology.insertMultipleExtendedPorts(p);
		}
		//Build the response
		return Response.status(responseCode).header("Access-Control-Allow-Origin", "*").entity(result).build();
	}