Class 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
    • Method Detail

      • 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.