from abc import ABC, abstractmethod class CoreAdapter(ABC): @abstractmethod def add_subscriber(self, imsi: str, ki: str, opc: str) -> None: """Add a subscriber to the core network. ki and opc are hex strings.""" @abstractmethod def remove_subscriber(self, imsi: str) -> None: """Remove a subscriber from the core network.""" @abstractmethod def list_subscribers(self) -> list: """Return a list of subscriber dicts from the core."""