Interface PortPairService
-
- All Known Implementing Classes:
PortPairServiceImpl
public interface PortPairServiceService Port Pair Service- Author:
- Dmitry Gerenrot
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PortPaircreate(PortPair portPair)Create a Port PairActionResponsedelete(String portPairId)Delete a Port PairPortPairget(String portPairId)Get a Port Pair by id.List<? extends PortPair>list()Lists Port Pairs for port chainsPortPairupdate(String portPairId, PortPair portPair)Update a Port Pair with the given id to match the given update object
-
-
-
Method Detail
-
list
List<? extends PortPair> list()
Lists Port Pairs for port chains- Returns:
- the list of Port Pairs
-
update
PortPair update(String portPairId, PortPair portPair)
Update a Port Pair with the given id to match the given update object- Returns:
- PortPair
-
create
PortPair create(PortPair portPair)
Create a Port Pair- Returns:
- PortPair : object actually created
-
delete
ActionResponse delete(String portPairId)
Delete a Port Pair- Returns:
- the action response
-
-