Class NeutronVpnIkePoliciesNorthbound
- java.lang.Object
-
- org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound<NeutronVpnIkePolicy,NeutronVpnIkePolicyRequest,INeutronVpnIkePolicyCRUD>
-
- org.opendaylight.neutron.northbound.api.NeutronVpnIkePoliciesNorthbound
-
@Singleton @Path("/vpn/ikepolicies") public final class NeutronVpnIkePoliciesNorthbound extends AbstractNeutronNorthbound<NeutronVpnIkePolicy,NeutronVpnIkePolicyRequest,INeutronVpnIkePolicyCRUD>
Neutron Northbound REST APIs for VPN IKE Policy.
-
-
Field Summary
-
Fields inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
HTTP_OK_BOTTOM, HTTP_OK_TOP
-
-
Constructor Summary
Constructors Constructor Description NeutronVpnIkePoliciesNorthbound(INeutronVpnIkePolicyCRUD neutronCRUD)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
createVpnIkePolicy(NeutronVpnIkePolicyRequest input)
Creates new VPN IKE Policy.javax.ws.rs.core.Response
deleteVpnIkePolicy(String policyUUID)
Deletes a VPN IKE Policy.protected String
getResourceName()
javax.ws.rs.core.Response
listVpnIkePolicies(List<String> fields, String queryID, String queryName, String queryTenantID, String queryAuthAlgorithm, String queryEncryptionAlgorithm, String queryPhase1NegotiationMode, String queryPFS, String queryIKEVersion)
Returns a list of all VPN IKE Policies.javax.ws.rs.core.Response
showVpnIkePolicy(String policyUUID, List<String> fields)
Returns a specific VPN IKE Policy.javax.ws.rs.core.Response
updateVpnIkePolicy(String policyUUID, NeutronVpnIkePolicyRequest input)
Updates a VPN IKE Policy.-
Methods inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
create, delete, getNeutronCRUD, serviceUnavailable, show, update, updateDelta, uuidNoExist
-
-
-
-
Constructor Detail
-
NeutronVpnIkePoliciesNorthbound
@Inject public NeutronVpnIkePoliciesNorthbound(INeutronVpnIkePolicyCRUD neutronCRUD)
-
-
Method Detail
-
getResourceName
protected String getResourceName()
- Specified by:
getResourceName
in classAbstractNeutronNorthbound<NeutronVpnIkePolicy,NeutronVpnIkePolicyRequest,INeutronVpnIkePolicyCRUD>
-
listVpnIkePolicies
@GET @Produces("application/json") public javax.ws.rs.core.Response listVpnIkePolicies(@QueryParam("fields") List<String> fields, @QueryParam("id") String queryID, @QueryParam("name") String queryName, @QueryParam("tenant_id") String queryTenantID, @QueryParam("auth_algorithm") String queryAuthAlgorithm, @QueryParam("encryption_algorithm") String queryEncryptionAlgorithm, @QueryParam("phase1_negotiation_mode") String queryPhase1NegotiationMode, @QueryParam("pfs") String queryPFS, @QueryParam("ike_version") String queryIKEVersion)
Returns a list of all VPN IKE Policies.
-
showVpnIkePolicy
@Path("{policyID}") @GET @Produces("application/json") public javax.ws.rs.core.Response showVpnIkePolicy(@PathParam("policyID") String policyUUID, @QueryParam("fields") List<String> fields)
Returns a specific VPN IKE Policy.
-
createVpnIkePolicy
@POST @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response createVpnIkePolicy(NeutronVpnIkePolicyRequest input)
Creates new VPN IKE Policy.
-
updateVpnIkePolicy
@Path("{policyID}") @PUT @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response updateVpnIkePolicy(@PathParam("policyID") String policyUUID, NeutronVpnIkePolicyRequest input)
Updates a VPN IKE Policy.
-
deleteVpnIkePolicy
@Path("{policyID}") @DELETE public javax.ws.rs.core.Response deleteVpnIkePolicy(@PathParam("policyID") String policyUUID)
Deletes a VPN IKE Policy.
-
-