Class NeutronL2gatewayConnectionNorthbound

    • Method Detail

      • createL2gatewayConnection

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response createL2gatewayConnection​(NeutronL2gatewayConnectionRequest input)
        Creates L2gateway Connection.
        Parameters:
        input - contains connection details
        Returns:
        status
      • listL2gatewayConnections

        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response listL2gatewayConnections​(@QueryParam("fields")
                                                                  List<String> fields,
                                                                  @QueryParam("tenant_id")
                                                                  String queryTenantID,
                                                                  @QueryParam("connection_id")
                                                                  String queryConnectionID,
                                                                  @QueryParam("l2gateway_id")
                                                                  String queryL2gatewayID,
                                                                  @QueryParam("network_id")
                                                                  String queryNetworkID,
                                                                  @QueryParam("segment_id")
                                                                  String querySegmentID,
                                                                  @QueryParam("port_id")
                                                                  String queryPortID,
                                                                  @QueryParam("limit")
                                                                  String limit,
                                                                  @QueryParam("marker")
                                                                  String marker,
                                                                  @QueryParam("page_reverse")
                                                                  String pageReverse)
        Returns a list of all L2gateway Connections.
      • showL2gatewayID

        @Path("{l2gatewayConnectionID}")
        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response showL2gatewayID​(@PathParam("l2gatewayConnectionID")
                                                         String l2gatewayConnectionID,
                                                         @QueryParam("fields")
                                                         List<String> fields)
        Returns a specific L2gateway Connection.
        Parameters:
        l2gatewayConnectionID - gateway connectID to fetch
        fields - attributes used for querying
        Returns:
        status
      • deleteL2gatewayConnection

        @Path("{l2gatewayConnectionID}")
        @DELETE
        public javax.ws.rs.core.Response deleteL2gatewayConnection​(@PathParam("l2gatewayConnectionID")
                                                                   String l2gatewayConnectionID)
        Deletes a L2gateway Connection.
        Parameters:
        l2gatewayConnectionID - connection ID to delete
        Returns:
        status