Class NeutronBgpvpnRouterAssociationsNorthbound
- java.lang.Object
-
- org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound<NeutronBgpvpnRouterAssociation,NeutronBgpvpnRouterAssociationRequest,INeutronBgpvpnRouterAssociationCRUD>
-
- org.opendaylight.neutron.northbound.api.NeutronBgpvpnRouterAssociationsNorthbound
-
@Singleton @Path("/bgpvpn/routerassociations") public final class NeutronBgpvpnRouterAssociationsNorthbound extends AbstractNeutronNorthbound<NeutronBgpvpnRouterAssociation,NeutronBgpvpnRouterAssociationRequest,INeutronBgpvpnRouterAssociationCRUD>
Neutron Northbound REST APIs for BgpvpnRouterAssociation.
This class provides REST APIs for managing neutron BgpvpnRouterAssociations
Authentication scheme : HTTP Basic
Authentication realm : opendaylight
Transport : HTTP and HTTPS
HTTPS Authentication is disabled by default. Administrator can enable it in tomcat-server.xml after adding a proper keystore / SSL certificate from a trusted authority.
More info : http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html#Configuration
-
-
Field Summary
-
Fields inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
HTTP_OK_BOTTOM, HTTP_OK_TOP
-
-
Constructor Summary
Constructors Constructor Description NeutronBgpvpnRouterAssociationsNorthbound(INeutronBgpvpnRouterAssociationCRUD neutronCRUD)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
createBgpvpnRouterAssociations(NeutronBgpvpnRouterAssociationRequest input)
Creates new BgpvpnRouterAssociations.javax.ws.rs.core.Response
deleteBgpvpn(String bgpvpnRouterAssociationUUID)
Deletes a BgpvpnRouterAssociation.protected String
getResourceName()
javax.ws.rs.core.Response
listBgpvpnRouterAssociations(List<String> fields, String queryID, String queryBgpvpnId, String queryRouterId, Integer limit, String marker, Boolean pageReverse)
Returns a list of all BgpvpnRouterAssociations.javax.ws.rs.core.Response
showBgpvpnRouterAssociation(String bgpvpnRouterAssociationUUID, List<String> fields)
Returns a specific BgpvpnRouterAssociation.javax.ws.rs.core.Response
updateBgpvpnRouterAssociation(String bgpvpnRouterAssociationUUID, NeutronBgpvpnRouterAssociationRequest input)
Updates a BgpvpnRouterAssociation.-
Methods inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
create, delete, getNeutronCRUD, serviceUnavailable, show, update, updateDelta, uuidNoExist
-
-
-
-
Constructor Detail
-
NeutronBgpvpnRouterAssociationsNorthbound
@Inject public NeutronBgpvpnRouterAssociationsNorthbound(INeutronBgpvpnRouterAssociationCRUD neutronCRUD)
-
-
Method Detail
-
getResourceName
protected String getResourceName()
-
listBgpvpnRouterAssociations
@GET @Produces("application/json") public javax.ws.rs.core.Response listBgpvpnRouterAssociations(@QueryParam("fields") List<String> fields, @QueryParam("id") String queryID, @QueryParam("bgpvpn_id") String queryBgpvpnId, @QueryParam("router_id") String queryRouterId, @QueryParam("limit") Integer limit, @QueryParam("marker") String marker, @DefaultValue("false") @QueryParam("page_reverse") Boolean pageReverse)
Returns a list of all BgpvpnRouterAssociations.
-
showBgpvpnRouterAssociation
@Path("{routerassociationUUID}") @GET @Produces("application/json") public javax.ws.rs.core.Response showBgpvpnRouterAssociation(@PathParam("routerassociationUUID") String bgpvpnRouterAssociationUUID, @QueryParam("fields") List<String> fields)
Returns a specific BgpvpnRouterAssociation.
-
createBgpvpnRouterAssociations
@POST @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response createBgpvpnRouterAssociations(NeutronBgpvpnRouterAssociationRequest input)
Creates new BgpvpnRouterAssociations.
-
updateBgpvpnRouterAssociation
@Path("{routerassociationUUID}") @PUT @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response updateBgpvpnRouterAssociation(@PathParam("routerassociationUUID") String bgpvpnRouterAssociationUUID, NeutronBgpvpnRouterAssociationRequest input)
Updates a BgpvpnRouterAssociation.
-
deleteBgpvpn
@Path("{routerassociationUUID}") @DELETE public javax.ws.rs.core.Response deleteBgpvpn(@PathParam("routerassociationUUID") String bgpvpnRouterAssociationUUID)
Deletes a BgpvpnRouterAssociation.
-
-