-
Notifications
You must be signed in to change notification settings - Fork 61
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
Add udp template to virtual_port_templates and changed param names for tcp and udp template #295
base: master
Are you sure you want to change the base?
Conversation
…r tcp and udp template
Also kindly update the corresponding unit tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @JLau1596
Please fix Unit tests which would also fix the failing Travis.
Changed tcp_template and udp_template to template-tcp and template-udp
Hi @JLau1596 Seems to be some merge conflicts on some files. Can you resolve them? |
Hi @afrin-chakure-a10 I think I have fixed the merge conflict, can you please review it? |
I see travis failure for UTs (I understand they are due to latest changes on same UT files.) Can you fix them? Thanks |
@@ -142,9 +140,9 @@ def _set( | |||
if source_nat_pool and len(source_nat_pool) > 0: | |||
params['port']['pool'] = source_nat_pool | |||
if tcp_template: | |||
params['port']['tcp_template'] = tcp_template | |||
params['port']['template-tcp'] = tcp_template |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hthompson-a10
This code seems to override LOC 123
. Should we allow it? or more conditions needs to be added for preference.
Add udp template to virtual_port_templates and changed param names for tcp and udp template