titanfe.apps.control_peer.webapi.state module¶
Routes for Flow management
-
titanfe.apps.control_peer.webapi.state.
create_state_router
(control_peer)[source]¶ Create a router for state
- Parameters
control_peer (ControlPeer) – an instance of the ControlPeer
- Returns
router/routes to manage the control peer’s flows
- Return type
APIRouter
-
titanfe.apps.control_peer.webapi.state.
get_state
(control_peer) → List[Dict][source]¶ Create a router for state
- Parameters
control_peer (ControlPeer) – an instance of the ControlPeer
- Returns
list of brick information