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