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

Interface name collisions among VNFs #176

Open
mpeuster opened this issue Sep 7, 2016 · 3 comments
Open

Interface name collisions among VNFs #176

mpeuster opened this issue Sep 7, 2016 · 3 comments

Comments

@mpeuster
Copy link

mpeuster commented Sep 7, 2016

Using the same interface names inside the VNF containers can lead to problems with VNFs that need to run in privileged mode, like the vTC (PF_RING).

A workaround is to modify the VNFDs to not have duplicated interface names (e.g., not have input or output twice in a service).

We should think about having a better naming scheme (e.g. include the vnf_id in the interface name). Not sure how long these names are allowed to be?

This is an issue that should be investigated after the Y1 demo.

@stevenvanrossem
Copy link

Interface names are defined in the VNFD, and are the developer's responsability?
Maybe the best the emulator can do is to print a warning when it detects duplicated names?

We cannot change the interface names defined in the VNFD when deploying in the emulator,
it might break the VNF functionality?

@mpeuster
Copy link
Author

mpeuster commented Sep 7, 2016

Yes, thats true. Developers need to rely on their own interface name definitions. In addition, the bug only occurs with very specific VNF implementations. Maybe a simple warning message is really the best choice here.

@mpeuster mpeuster added enhancement and removed bug labels May 15, 2018
@mpeuster
Copy link
Author

mpeuster commented Jun 26, 2018

This is also a problem when using the same interface names for two VNFs deployed using OSM r4. So the issue is still relevant!

Will work on this when I have some time. Just a reminder for myself.

@mpeuster mpeuster changed the title Duplicated interface names can cause problems Interface name collisions among VNFs Jun 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants