Class NeutronSFCPortChainsNorthbound
- java.lang.Object
 - 
- org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound<NeutronSFCPortChain,NeutronSFCPortChainRequest,INeutronSFCPortChainCRUD>
 - 
- org.opendaylight.neutron.northbound.api.NeutronSFCPortChainsNorthbound
 
 
 
- 
@Singleton @Path("/sfc/portchains") public final class NeutronSFCPortChainsNorthbound extends AbstractNeutronNorthbound<NeutronSFCPortChain,NeutronSFCPortChainRequest,INeutronSFCPortChainCRUD>Neutron Northbound REST APIs for OpenStack SFC Port Chain. 
- 
- 
Field Summary
- 
Fields inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
HTTP_OK_BOTTOM, HTTP_OK_TOP 
 - 
 
- 
Constructor Summary
Constructors Constructor Description NeutronSFCPortChainsNorthbound(INeutronSFCPortChainCRUD neutronCRUD) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsecreateSFCPortChain(NeutronSFCPortChainRequest input)Creates new SFC Port Chain.javax.ws.rs.core.ResponsedeleteSFCPortChain(String sfcPortChainUUID)Deletes the SFC Port Chain.protected StringgetResourceName()javax.ws.rs.core.ResponselistSFCPortChains(List<String> fields, String queryID, String queryName, String queryTenantID)Returns a list of all SFC Port Chains.javax.ws.rs.core.ResponseshowSFCPortChain(String sfcPortChainUUID, List<String> fields)Returns a specific SFC Port Chain.protected voidupdateDelta(String uuid, NeutronSFCPortChain delta, NeutronSFCPortChain original)javax.ws.rs.core.ResponseupdateSFCPortChain(String sfcPortChainUUID, NeutronSFCPortChainRequest input)Updates an existing SFC Port Chain.- 
Methods inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
create, delete, getNeutronCRUD, serviceUnavailable, show, update, uuidNoExist 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
NeutronSFCPortChainsNorthbound
@Inject public NeutronSFCPortChainsNorthbound(INeutronSFCPortChainCRUD neutronCRUD)
 
 - 
 
- 
Method Detail
- 
getResourceName
protected String getResourceName()
- Specified by:
 getResourceNamein classAbstractNeutronNorthbound<NeutronSFCPortChain,NeutronSFCPortChainRequest,INeutronSFCPortChainCRUD>
 
- 
listSFCPortChains
@GET @Produces("application/json") public javax.ws.rs.core.Response listSFCPortChains(@QueryParam("fields") List<String> fields, @QueryParam("id") String queryID, @QueryParam("name") String queryName, @QueryParam("tenant_id") String queryTenantID)Returns a list of all SFC Port Chains. 
- 
showSFCPortChain
@Path("{portChainUUID}") @GET @Produces("application/json") public javax.ws.rs.core.Response showSFCPortChain(@PathParam("portChainUUID") String sfcPortChainUUID, @QueryParam("fields") List<String> fields)Returns a specific SFC Port Chain. 
- 
createSFCPortChain
@POST @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response createSFCPortChain(NeutronSFCPortChainRequest input)Creates new SFC Port Chain. 
- 
updateDelta
protected void updateDelta(String uuid, NeutronSFCPortChain delta, NeutronSFCPortChain original)
- Overrides:
 updateDeltain classAbstractNeutronNorthbound<NeutronSFCPortChain,NeutronSFCPortChainRequest,INeutronSFCPortChainCRUD>
 
- 
updateSFCPortChain
@Path("{portChainUUID}") @PUT @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response updateSFCPortChain(@PathParam("portChainUUID") String sfcPortChainUUID, NeutronSFCPortChainRequest input)Updates an existing SFC Port Chain. 
- 
deleteSFCPortChain
@Path("{portChainUUID}") @DELETE public javax.ws.rs.core.Response deleteSFCPortChain(@PathParam("portChainUUID") String sfcPortChainUUID)Deletes the SFC Port Chain. 
 - 
 
 -