Commit c1cbe655 authored by Adrian Pino's avatar Adrian Pino
Browse files

Add capabilities definition in OAI to be able to use the decorator

parent 06874554
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -25,13 +25,14 @@ supportedQos = ["qos-e", "qos-s", "qos-m", "qos-l"]


class NetworkManager(BaseNetworkClient):
    def __init__(self, base_url: str, scs_as_id: str = None):
    """
        Initialize Network Client for OAI Core Network
        The currently supported features are:
         - QoD
         - Traffic Influence
    This client implements the BaseNetworkClient and translates the
    CAMARA APIs into specific HTTP requests understandable by the OAI NEF API.
    """

    capabilities = {"qod", "traffic_influence"}

    def __init__(self, base_url: str, scs_as_id: str = None):
        try:
            super().__init__()
            self.base_url = base_url