Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with switch_thrift_API.py file #64

Open
zrabbbit opened this issue Oct 14, 2023 · 0 comments
Open

Problem with switch_thrift_API.py file #64

zrabbbit opened this issue Oct 14, 2023 · 0 comments

Comments

@zrabbbit
Copy link

I'm trying to run a project using p4-utils. But when I call SimpleSwitchThriftAPI() in the connect_to_switches() function, I find that I always get an exception error at the load_json_config() function in the thrift_API.py. The connect_to_switches() function like this:
def connect_to_switches(self):
for p4switch in self.topo.get_p4switches():
thrift_port = self.topo.get_thrift_port(p4switch)
self.controllers[p4switch] = SimpleSwitchThriftAPI(thrift_port)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant