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

Fix participant_2_port data structure.#todo #18

Open
castroflavio opened this issue Dec 18, 2014 · 2 comments
Open

Fix participant_2_port data structure.#todo #18

castroflavio opened this issue Dec 18, 2014 · 2 comments

Comments

@castroflavio
Copy link

These should be automatically generated using the sdx_config.cfg

@castroflavio
Copy link
Author

Maybe, we could have some authentication service bootstrapping sdx_global.cfg (topology discovery) in a secure manner similar to L2 switching authentication schemes.

@castroflavio
Copy link
Author

Adding Physical ports for A
{1: 'A', 2: 'C', 13: u'A'}
Adding virtual ports for A
Adding Physical ports for C
{1: 'A', 2: 'C', 4: u'C', 13: u'A', 15: u'C'}
Adding virtual ports for C
Adding Physical ports for B
{1: 'A', 2: 'C', 4: u'C', 13: u'A', 14: u'B', 15: u'C'}
Adding virtual ports for B
Parsing participant's policies
Starting VNH Assignment
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(_self.__args, *_self.__kwargs)
File "/users/castrofl/pyretic/pyretic/sdx/main.py", line 118, in dynamic_update_policy_event_hadler
update_policy()
File "/users/castrofl/pyretic/pyretic/sdx/main.py", line 103, in update_policy
sdx_parse_policies(cwd+'/pyretic/sdx/sdx_policies.cfg',self.sdx)
File "/users/castrofl/pyretic/pyretic/sdx/lib/core.py", line 335, in sdx_parse_policies
vnh_assignment(sdx)
File "/users/castrofl/pyretic/pyretic/sdx/lib/vnh_assignment.py", line 378, in vnh_assignment
participant_2_prefix = get_part2prefixes(sdx,participant_2_port)
File "/users/castrofl/pyretic/pyretic/sdx/lib/vnh_assignment.py", line 125, in get_part2prefixes
pfxlist, acc = get_prefix(policy, plist, pfxlist, participant, sdx)
File "/users/castrofl/pyretic/pyretic/sdx/lib/vnh_assignment.py", line 92, in get_prefix
pfxlist, acc = get_prefix(pol, plist, pfxlist, part, sdx)
File "/users/castrofl/pyretic/pyretic/sdx/lib/vnh_assignment.py", line 112, in get_prefix
acc = bgp_get_announced_routes(sdx, peer)
File "/users/castrofl/pyretic/pyretic/sdx/lib/bgp_interface.py", line 60, in bgp_get_announced_routes
routes = sdx.participants[participant_name].rs_client.get_all_routes('input')
KeyError: ''

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