[TACACS][IPv6]: Enable IPv6 in ptf-docker and add TACACS IPv6 test case#1851
[TACACS][IPv6]: Enable IPv6 in ptf-docker and add TACACS IPv6 test case#1851lguohan merged 12 commits intosonic-net:masterfrom
Conversation
- Add new field ptf_ipv6 in testbed.csv file and update parser to read the new field. - Add new field ansible_hostv6 in veos.vtb and update parser to read this. - Add function to run TACACS test with IPv6 ptf address. Signed-off-by: SuvarnaMeenakshi <[email protected]>
and DUT. - Update function to add Ipv6 address to ptf-docker - Update lab file to add ansible_hostv6 - Update minigraph template to add IPv6 management address. Signed-off-by: SuvarnaMeenakshi <[email protected]>
|
This pull request introduces 1 alert when merging 328186c into de77268 - view on LGTM.com new alerts:
|
Signed-off-by: SuvarnaMeenakshi <[email protected]>
Signed-off-by: SuvarnaMeenakshi <[email protected]>
Signed-off-by: SuvarnaMeenakshi <[email protected]>
Signed-off-by: SuvarnaMeenakshi <[email protected]>
|
retest vsimage please |
|
I am curious why this test does not run in the kvmtest? https://sonic-jenkins.westus2.cloudapp.azure.com/job/common/job/sonic-mgmt-testing/job/sonic-mgmt-pr/392/testReport/tacacs/test_ro_user/test_ro_user/ no ipv6 version run. @daall , do you know why? |
ansible/lab
Outdated
| vlab-01 ansible_host=10.250.0.101 | ||
| vlab-03 ansible_host=10.250.0.105 | ||
| vlab-04 ansible_host=10.250.0.107 | ||
| lab-s6000-01 ansible_host=10.251.0.189 ansible_hostv6=fec0:0:0:0:0:ffff:afa:9 |
There was a problem hiding this comment.
this can be simplified as fec0::ffff:afa:9
There was a problem hiding this comment.
fixed as per comment.
tests/veos.vtb
Outdated
| vlab-02 ansible_host=10.250.0.102 type=kvm hwsku=Force10-S6100 ansible_password=password | ||
| vlab-03 ansible_host=10.250.0.105 type=kvm hwsku=Force10-S6000 ansible_password=password ansible_user=admin | ||
| vlab-04 ansible_host=10.250.0.107 type=kvm hwsku=Force10-S6000 ansible_password=password ansible_user=admin | ||
| vlab-01 ansible_host=10.250.0.101 ansible_hostv6=fec0:0:0:0:0:ffff:afa:1 type=kvm hwsku=Force10-S6000 ansible_password=password ansible_user=admin |
There was a problem hiding this comment.
simplify the v6 ip address: fec0::ffff:afa:1
There was a problem hiding this comment.
fixed as per comment.
ansible/testbed_refresh_dut.yml
Outdated
| # -e dut_name=str-msn2700-01 - the name of target dut | ||
| # -e VM_base=VM0300 - the VM name which is used to as base to calculate VM name for this set | ||
| # -e ptf_ip=10.255.0.255/23 - the ip address and prefix of ptf container mgmt interface | ||
| # -e ptf_ipv6=fec0:0:0:0:0:ffff:afa:1/64 - the ipv6 address and prefix of ptf container mgmt interface |
There was a problem hiding this comment.
fixed as per comment.
test_ro_user does not have new function added to test with ipv6, Will update the test file. |
|
retest vsimage please |
Signed-off-by: SuvarnaMeenakshi <[email protected]>
Signed-off-by: SuvarnaMeenakshi <[email protected]>
Signed-off-by: SuvarnaMeenakshi <[email protected]>
|
This pull request introduces 1 alert when merging b4b8d55 into d17246a - view on LGTM.com new alerts:
|
Signed-off-by: SuvarnaMeenakshi <[email protected]>
Signed-off-by: SuvarnaMeenakshi <[email protected]>
Signed-off-by: SuvarnaMeenakshi <[email protected]>
|
retest this please |
|
retest this please |
|
@SuvarnaMeenakshi |
… advance submodule head (sonic-net#11518) sairedis: * 38c0bb1 2022-07-21 | [sairedis] Fix reopen recoding file (sonic-net#1087) (HEAD -> 202205, github/202205) [Kamil Cudnik] platform-daemon: * 17587b6 2022-07-22 | [ycabled] add secure channel support for grpc dualtor active-active connectivity (sonic-net#275) (HEAD -> 202205, github/202205) [vdahiya12] linkmgrd: * c911ec7 2022-07-21 | Avoid unnecessary error logs from `handleGetServerMacAddressNotification` (sonic-net#96) (HEAD -> 202205) [Jing Zhang] * bbae81d 2022-07-18 | Add support for reconciliation after warm restart (sonic-net#76) [Jing Zhang] utilities: * bcc1206 2022-07-20 | Change db_migrator major version on master branch from version 2 to 3 (sonic-net#2272) (HEAD -> 202205) [Vaibhav Hemant Dixit] * ad40697 2022-07-21 | Fix test for pfcwd_sw_enable in db_migrator_test (sonic-net#2253) [bingwang-ms] * 886f612 2022-07-22 | Revert "show commands for SYSTEM READY (sonic-net#1851) (sonic-net#2261)" (sonic-net#2274) (github/202205) [Ying Xie] * a6404b7 2022-07-17 | show commands for SYSTEM READY (sonic-net#1851) (sonic-net#2261) [Senthil Kumar Guruswamy] swss-common: * 509b265 2022-07-06 | Add device global table definition (sonic-net#645) (HEAD -> 202205) [tjchadaga] Signed-off-by: Ying Xie <[email protected]>
Description of PR
Summary:
Fixes # (issue)
Type of change
Approach
What is the motivation for this PR?
Enable IPv6 in ptf-docker, to test TACACS on IPv6.
How did you do it?
How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation