Class NeutronBgpvpnsNorthbound
- java.lang.Object
-
- org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound<NeutronBgpvpn,NeutronBgpvpnRequest,INeutronBgpvpnCRUD>
-
- org.opendaylight.neutron.northbound.api.NeutronBgpvpnsNorthbound
-
@Singleton @Path("/bgpvpns") public final class NeutronBgpvpnsNorthbound extends AbstractNeutronNorthbound<NeutronBgpvpn,NeutronBgpvpnRequest,INeutronBgpvpnCRUD>
Neutron Northbound REST APIs for Bgpvpn.
-
-
Field Summary
-
Fields inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
HTTP_OK_BOTTOM, HTTP_OK_TOP
-
-
Constructor Summary
Constructors Constructor Description NeutronBgpvpnsNorthbound(INeutronBgpvpnCRUD neutronCRUD)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
createBgpvpns(NeutronBgpvpnRequest input)
Creates new Bgpvpns.javax.ws.rs.core.Response
deleteBgpvpn(String bgpvpnUUID)
Deletes a Bgpvpn.protected String
getResourceName()
javax.ws.rs.core.Response
listBgpvpns(List<String> fields, String queryID, String queryName, String queryAdminStateUp, String queryStatus, String queryTenantID, String queryType, String queryAutoAggregate, Integer limit, String marker, Boolean pageReverse)
Returns a list of all Bgpvpns.javax.ws.rs.core.Response
showBgpvpn(String bgpvpnUUID, List<String> fields)
Returns a specific Bgpvpn.javax.ws.rs.core.Response
updateBgpvpn(String bgpvpnUUID, NeutronBgpvpnRequest input)
protected void
updateDelta(String uuid, NeutronBgpvpn delta, NeutronBgpvpn original)
Updates a Bgpvpn.-
Methods inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
create, delete, getNeutronCRUD, serviceUnavailable, show, update, uuidNoExist
-
-
-
-
Constructor Detail
-
NeutronBgpvpnsNorthbound
@Inject public NeutronBgpvpnsNorthbound(INeutronBgpvpnCRUD neutronCRUD)
-
-
Method Detail
-
getResourceName
protected String getResourceName()
- Specified by:
getResourceName
in classAbstractNeutronNorthbound<NeutronBgpvpn,NeutronBgpvpnRequest,INeutronBgpvpnCRUD>
-
listBgpvpns
@GET @Produces("application/json") public javax.ws.rs.core.Response listBgpvpns(@QueryParam("fields") List<String> fields, @QueryParam("id") String queryID, @QueryParam("name") String queryName, @QueryParam("admin_state_up") String queryAdminStateUp, @QueryParam("status") String queryStatus, @QueryParam("tenant_id") String queryTenantID, @QueryParam("type") String queryType, @QueryParam("auto_aggregate") String queryAutoAggregate, @QueryParam("limit") Integer limit, @QueryParam("marker") String marker, @DefaultValue("false") @QueryParam("page_reverse") Boolean pageReverse)
Returns a list of all Bgpvpns.
-
showBgpvpn
@Path("{bgpvpnUUID}") @GET @Produces("application/json") public javax.ws.rs.core.Response showBgpvpn(@PathParam("bgpvpnUUID") String bgpvpnUUID, @QueryParam("fields") List<String> fields)
Returns a specific Bgpvpn.
-
createBgpvpns
@POST @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response createBgpvpns(NeutronBgpvpnRequest input)
Creates new Bgpvpns.
-
updateDelta
protected void updateDelta(String uuid, NeutronBgpvpn delta, NeutronBgpvpn original)
Updates a Bgpvpn.- Overrides:
updateDelta
in classAbstractNeutronNorthbound<NeutronBgpvpn,NeutronBgpvpnRequest,INeutronBgpvpnCRUD>
-
updateBgpvpn
@Path("{bgpvpnUUID}") @PUT @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response updateBgpvpn(@PathParam("bgpvpnUUID") String bgpvpnUUID, NeutronBgpvpnRequest input)
-
deleteBgpvpn
@Path("{bgpvpnUUID}") @DELETE public javax.ws.rs.core.Response deleteBgpvpn(@PathParam("bgpvpnUUID") String bgpvpnUUID)
Deletes a Bgpvpn.
-
-