skeleton unified routing table, api routers

This commit is contained in:
Xi Yan 2024-09-21 13:44:33 -07:00
parent 2dc14cba2c
commit 85d927adde
11 changed files with 210 additions and 231 deletions

View file

@ -0,0 +1,16 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the terms described in the LICENSE file in
# the root directory of this source tree.
from typing import Any, Dict
class RoutingTable:
def __init__(self, provider_routing_table: Dict[str, Any]):
self.provider_routing_table = provider_routing_table
def print(self):
print(f"ROUTING TABLE {self.provider_routing_table}")