Esempio n. 1
0
 def __init__(self):
     """
     Initialize sessionManager util.
     """
     self._session_stub = SessionProxyResponderStub(
         get_rpc_channel("sessiond"))
     self._directorydstub = GatewayDirectoryServiceStub(
         get_rpc_channel("directoryd"))
Esempio n. 2
0
 def __init__(self):
     """ Init the gRPC stub.  """
     self._added_sids = set()
     self._subscriber_stub = SubscriberDBStub(
         get_rpc_channel("subscriberdb"))
Esempio n. 3
0
 def __init__(self):
     """
     Initialize spgw util.
     """
     self._stub = SpgwServiceStub(get_rpc_channel("spgw_service"))
Esempio n. 4
0
 def __init__(self):
     """ Init the gRPC stub. """
     self._mobility_stub = MobilityServiceStub(get_rpc_channel("mobilityd"))
Esempio n. 5
0
 def __init__(self):
     self._ha_stub = HaServiceStub(get_rpc_channel("spgw_service"))
Esempio n. 6
0
 def __init__(self, channel_name):
     self._service_stub = Service303Stub(get_rpc_channel(channel_name))
     self._service_name = channel_name
Esempio n. 7
0
 def __init__(self):
     self._magmad_stub = MagmadStub(get_rpc_channel("magmad"))
Esempio n. 8
0
 def __init__(self):
     """ Init the gRPC stub to connect to subscriberDb. """
     super().__init__(SubscriberDBStub(get_rpc_channel("subscriberdb")))