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

Add udp template to virtual_port_templates and changed param names for tcp and udp template #295

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

JLau1596
Copy link

Add udp template to virtual_port_templates and changed param names for tcp and udp template

@hthompson6 hthompson6 self-requested a review September 19, 2020 04:39
@afrin-chakure-a10
Copy link
Contributor

Also kindly update the corresponding unit tests.

acos_client/v30/slb/virtual_port.py Outdated Show resolved Hide resolved
acos_client/v30/slb/virtual_port.py Outdated Show resolved Hide resolved
Copy link
Contributor

@afrin-chakure-a10 afrin-chakure-a10 left a 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
@afrin-chakure-a10
Copy link
Contributor

Hi @JLau1596 Seems to be some merge conflicts on some files. Can you resolve them?

@JLau1596
Copy link
Author

Hi @afrin-chakure-a10 I think I have fixed the merge conflict, can you please review it?

@afrin-chakure-a10
Copy link
Contributor

afrin-chakure-a10 commented Sep 25, 2020

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
Copy link
Contributor

@afrin-chakure-a10 afrin-chakure-a10 Sep 29, 2020

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.

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

Successfully merging this pull request may close these issues.

4 participants