Class NeutronVpnIpSecPoliciesNorthbound
- java.lang.Object
-
- org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound<NeutronVpnIpSecPolicy,NeutronVpnIpSecPolicyRequest,INeutronVpnIpSecPolicyCRUD>
-
- org.opendaylight.neutron.northbound.api.NeutronVpnIpSecPoliciesNorthbound
-
@Singleton @Path("/vpn/ipsecpolicies") public final class NeutronVpnIpSecPoliciesNorthbound extends AbstractNeutronNorthbound<NeutronVpnIpSecPolicy,NeutronVpnIpSecPolicyRequest,INeutronVpnIpSecPolicyCRUD>
Neutron Northbound REST APIs for VPN IPSEC Policy.
-
-
Field Summary
-
Fields inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
HTTP_OK_BOTTOM, HTTP_OK_TOP
-
-
Constructor Summary
Constructors Constructor Description NeutronVpnIpSecPoliciesNorthbound(INeutronVpnIpSecPolicyCRUD neutronCRUD)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
createVpnIPSecPolicy(NeutronVpnIpSecPolicyRequest input)
Creates new VPN IPSEC Policy.javax.ws.rs.core.Response
deleteVpnIPSecPolicy(String policyUUID)
Deletes a VPN IPSEC Policy.protected String
getResourceName()
javax.ws.rs.core.Response
listVpnIPSecPolicies(List<String> fields, String queryID, String queryTenantID, String queryName, String queryTransformProtocol, String queryEncapsulationMode, String queryAuthAlgorithm, String queryEncryptionAlgorithm, String queryPFS)
Returns a list of all VPN IPSEC Policies.javax.ws.rs.core.Response
showVpnIPSecPolicy(String policyUUID, List<String> fields)
Returns a specific VPN IPSEC Policy.javax.ws.rs.core.Response
updateVpnIPSecPolicy(String policyUUID, NeutronVpnIpSecPolicyRequest input)
Updates a VPN IPSEC Policy.-
Methods inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
create, delete, getNeutronCRUD, serviceUnavailable, show, update, updateDelta, uuidNoExist
-
-
-
-
Constructor Detail
-
NeutronVpnIpSecPoliciesNorthbound
@Inject public NeutronVpnIpSecPoliciesNorthbound(INeutronVpnIpSecPolicyCRUD neutronCRUD)
-
-
Method Detail
-
getResourceName
protected String getResourceName()
- Specified by:
getResourceName
in classAbstractNeutronNorthbound<NeutronVpnIpSecPolicy,NeutronVpnIpSecPolicyRequest,INeutronVpnIpSecPolicyCRUD>
-
listVpnIPSecPolicies
@GET @Produces("application/json") public javax.ws.rs.core.Response listVpnIPSecPolicies(@QueryParam("fields") List<String> fields, @QueryParam("id") String queryID, @QueryParam("tenant_id") String queryTenantID, @QueryParam("name") String queryName, @QueryParam("transform_protocol") String queryTransformProtocol, @QueryParam("encapsulation_mode") String queryEncapsulationMode, @QueryParam("auth_algorithm") String queryAuthAlgorithm, @QueryParam("encryption_algorithm") String queryEncryptionAlgorithm, @QueryParam("pfs") String queryPFS)
Returns a list of all VPN IPSEC Policies.
-
showVpnIPSecPolicy
@Path("{policyID}") @GET @Produces("application/json") public javax.ws.rs.core.Response showVpnIPSecPolicy(@PathParam("policyID") String policyUUID, @QueryParam("fields") List<String> fields)
Returns a specific VPN IPSEC Policy.
-
createVpnIPSecPolicy
@POST @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response createVpnIPSecPolicy(NeutronVpnIpSecPolicyRequest input)
Creates new VPN IPSEC Policy.
-
updateVpnIPSecPolicy
@Path("{policyID}") @PUT @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response updateVpnIPSecPolicy(@PathParam("policyID") String policyUUID, NeutronVpnIpSecPolicyRequest input)
Updates a VPN IPSEC Policy.
-
deleteVpnIPSecPolicy
@Path("{policyID}") @DELETE public javax.ws.rs.core.Response deleteVpnIPSecPolicy(@PathParam("policyID") String policyUUID)
Deletes a VPN IPSEC Policy.
-
-