Skip to content

[action] [PR:10651] Add docker0's IPv6 address since it was removed when disabling IPv6#11518

Merged
mssonicbld merged 1 commit intosonic-net:202305from
mssonicbld:cherry/202305/10651
Feb 1, 2024
Merged

[action] [PR:10651] Add docker0's IPv6 address since it was removed when disabling IPv6#11518
mssonicbld merged 1 commit intosonic-net:202305from
mssonicbld:cherry/202305/10651

Conversation

@mssonicbld
Copy link
Copy Markdown
Collaborator

Description of PR

IPv6 address is removed from docker0 when disabling IPv6 and this causes test_snmp_loopback testcase to fail

ARISTA06T1#bash snmpget -v2c -c public FC00:11::1 .1.3.6.1.2.1.1.1.0 (FC00:11::1 is the ipv6 address of the LC's loopback0)
Timeout: No Response from FC00:11::1.
% 'snmpget -v2c -c public FC00:11::1 .1.3.6.1.2.1.1.1.0' returned error code: 1
bash snmpget -v2c -c public FC00:11::1 .1.3.6.1.2.1.1.1.0 AssertionError: Sysdescr not found in SNMP result from IP FC00:11::1/128)

After enabling IPv6, an IPv6 address should be added to docker0 and a config reload is required.

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 201911
  • 202012
  • 202205
  • 202305

Approach

What is the motivation for this PR?

To restore the docker0's IPv6 address which is removed when IPv6 is disabled

How did you do it?

Add IPv6 address do docker0.
Do a config reload

How did you verify/test it?

Tested qos and snmp suites against a multi Asics line card on a T2 chassis

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

…onic-net#10651)

* Add docker0's IPv6 address since it was removed when disabling IPv6

* Add docker0's IPv6 address since it was removed when disabling IPv6

* Add docker0's IPv6 address since it was removed when disabling IPv6
@mssonicbld
Copy link
Copy Markdown
Collaborator Author

Original PR: #10651

@mssonicbld mssonicbld merged commit bba576f into sonic-net:202305 Feb 1, 2024
@mssonicbld mssonicbld deleted the cherry/202305/10651 branch February 4, 2024 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants