<jupyter_start><jupyter_text>For more details about the FMLManager, please refer to this [document](https://kubefate.readthedocs.io/README.html)<jupyter_code>cluster_manager = ClusterManager(cluster_namespace='fate-10000', cluster_name='fate')
# get route table
route_table = cluster_manager.get_route_table()
# show all party
print(route_table.get_parties())
# delete route table party
party_id_1 = '9999'
party_id_2 = '8888'
route_table.remove_parties(party_id_1, party_id_2)
print(route_table.get_parties())
# define normal party
party = Party(p_id='9999', ip='192.168.2.2', port=30010)
# append normal party to route table
route_table.add_parties(party)
print(route_table.get_parties())
# define exchange
party = Party(ip='192.168.2.2', port=30009, p_type=PartyType.EXCHANGE)
# append exchange to route table
route_table.add_parties(party)
print(route_table.get_parties())
# update route table of configmap
cluster_manager.set_route_table(route_table)
# get entrypoint
print(cluster_manager.get_entry_point())<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.11409395973154363, 'fraction_numerical': 0.045062320230105465, 'mean_word_length': 8.577981651376147, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '68030', 'license': 'Apache-2.0', 'n_tokens_mistral': 390, 'n_tokens_neox': 360, 'n_words': 70, 'path': 'fml_manager/Examples/Cluster_Management/update_route_table.ipynb', 'repo_name': 'guojiex/KubeFATE', 'size': '1043'}