Class NeutronVpnIpSecSiteConnectionsNorthbound
- java.lang.Object
-
- org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound<NeutronVpnIpSecSiteConnection,NeutronVpnIpSecSiteConnectionRequest,INeutronVpnIpSecSiteConnectionsCRUD>
-
- org.opendaylight.neutron.northbound.api.NeutronVpnIpSecSiteConnectionsNorthbound
-
@Singleton @Path("/vpn/ipsecsiteconnections") public final class NeutronVpnIpSecSiteConnectionsNorthbound extends AbstractNeutronNorthbound<NeutronVpnIpSecSiteConnection,NeutronVpnIpSecSiteConnectionRequest,INeutronVpnIpSecSiteConnectionsCRUD>
Neutron Northbound REST APIs for VPN IPSEC SiteConnection.
-
-
Field Summary
-
Fields inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
HTTP_OK_BOTTOM, HTTP_OK_TOP
-
-
Constructor Summary
Constructors Constructor Description NeutronVpnIpSecSiteConnectionsNorthbound(INeutronVpnIpSecSiteConnectionsCRUD neutronCRUD)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
createVpnIPSecSiteConnection(NeutronVpnIpSecSiteConnectionRequest input)
Creates new VPN IPSEC SiteConnection.javax.ws.rs.core.Response
deleteVpnIPSecSiteConnection(String connectionID)
Deletes a VPN IPSEC SiteConnection.protected String
getResourceName()
javax.ws.rs.core.Response
listVpnIPSecSiteConnections(List<String> fields, String queryID, String queryTenantID, String queryName, String queryPeerAddress, String queryPeerID, String queryRouteMode, Integer queryMtu, String queryAuthMode, String queryPsk, String queryInitiator, Boolean queryAdminStateUp, String queryStatus, String queryIkePolicyID, String queryIpSecPolicyID, String queryVpnServiceID)
Returns a list of all VPN IPSEC SiteConnections.javax.ws.rs.core.Response
showVpnIPSecSiteConnection(String connectionID, List<String> fields)
Returns a specific VPN IPSEC SiteConnection.javax.ws.rs.core.Response
updateVpnIPSecSiteConnection(String connectionID, NeutronVpnIpSecSiteConnectionRequest input)
Updates a VPN IPSEC SiteConnection.-
Methods inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
create, delete, getNeutronCRUD, serviceUnavailable, show, update, updateDelta, uuidNoExist
-
-
-
-
Constructor Detail
-
NeutronVpnIpSecSiteConnectionsNorthbound
@Inject public NeutronVpnIpSecSiteConnectionsNorthbound(INeutronVpnIpSecSiteConnectionsCRUD neutronCRUD)
-
-
Method Detail
-
getResourceName
protected String getResourceName()
-
listVpnIPSecSiteConnections
@GET @Produces("application/json") public javax.ws.rs.core.Response listVpnIPSecSiteConnections(@QueryParam("fields") List<String> fields, @QueryParam("id") String queryID, @QueryParam("tenant_id") String queryTenantID, @QueryParam("name") String queryName, @QueryParam("peer_address") String queryPeerAddress, @QueryParam("peer_id") String queryPeerID, @QueryParam("route_mode") String queryRouteMode, @QueryParam("mtu") Integer queryMtu, @QueryParam("auth_mode") String queryAuthMode, @QueryParam("psk") String queryPsk, @QueryParam("initiator") String queryInitiator, @QueryParam("admin_state_up") Boolean queryAdminStateUp, @QueryParam("status") String queryStatus, @QueryParam("ikepolicy_id") String queryIkePolicyID, @QueryParam("ipsecpolicy_id") String queryIpSecPolicyID, @QueryParam("vpnservice_id") String queryVpnServiceID)
Returns a list of all VPN IPSEC SiteConnections.
-
showVpnIPSecSiteConnection
@Path("{connectionID}") @GET @Produces("application/json") public javax.ws.rs.core.Response showVpnIPSecSiteConnection(@PathParam("connectionID") String connectionID, @QueryParam("fields") List<String> fields)
Returns a specific VPN IPSEC SiteConnection.
-
createVpnIPSecSiteConnection
@POST @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response createVpnIPSecSiteConnection(NeutronVpnIpSecSiteConnectionRequest input)
Creates new VPN IPSEC SiteConnection.
-
updateVpnIPSecSiteConnection
@Path("{connectionID}") @PUT @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response updateVpnIPSecSiteConnection(@PathParam("connectionID") String connectionID, NeutronVpnIpSecSiteConnectionRequest input)
Updates a VPN IPSEC SiteConnection.
-
deleteVpnIPSecSiteConnection
@Path("{connectionID}") @DELETE public javax.ws.rs.core.Response deleteVpnIPSecSiteConnection(@PathParam("connectionID") String connectionID)
Deletes a VPN IPSEC SiteConnection.
-
-