Reservation
Definition of Reservation protocol and related tools.
This module provides a definition for the reservation protocol used by the network manager. This includes the Reservation, MemoryTimeCard, and QCap classes, which are used by the network manager to track reservations. Also included is the definition of the message type used by the reservation protocol.
- class sequence.network_management.reservation.Reservation(initiator: str, responder: str, start_time: int, end_time: int, memory_size: int, fidelity: float, entanglement_number: int = 1, identity: int = 0)
- Tracking of reservation parameters for the network manager.
Each request will generate a reservation
- initiator
name of the node that created the reservation request.
- Type:
str
- responder
name of distant node with witch entanglement is requested.
- Type:
str
- start_time
simulation time at which entanglement should be attempted.
- Type:
int
- end_time
simulation time at which resources may be released.
- Type:
int
- memory_size
number of entangled memory pairs requested.
- Type:
int
- path
a list of router names from the source to destination
- Type:
list
- entanglement_number
the number of entanglement pair that the request ask for.
- Type:
int
- identity
the ID of a request.
- Type:
int