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

Management vrf ntp support #3204

Merged
merged 5 commits into from
Sep 16, 2019

Conversation

vharish02
Copy link
Contributor

- What I did

- How I did it

- How to verify it

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

build_debian.sh Outdated Show resolved Hide resolved
build_debian.sh Outdated Show resolved Hide resolved
build_debian.sh Outdated Show resolved Hide resolved
This commit adds NTP support for management VRF using L3mdev. Config vrf add
mgmt will enable management VRF, enslave the eth0 device to the master device
mgmt, stop ntp service in default, restart interfaces-configs and restart ntp
service in mgmt-vrf context. Requirement and design are covered in mgmt vrf
design document.

Signed-off-by: Harish Venkatraman <harish_venkatraman@dell.com>
@nikos-github
Copy link
Collaborator

@lguohan @stcheng When can this merge?

@lguohan
Copy link
Collaborator

lguohan commented Sep 11, 2019

retest this please

@lguohan
Copy link
Collaborator

lguohan commented Sep 11, 2019

since you have changed the interface template the unit test in sonic-cfggen is broken, can you fix that?

@kannankvs
Copy link
Collaborator

@lguohan : Changed the interfaces.j2 to resolve the same.

@lguohan
Copy link
Collaborator

lguohan commented Sep 13, 2019

i should have make my comments more clear before, since you have add new templates, can you add extra unit test to validate the additional configuration you have added.

@kannankvs
Copy link
Collaborator

@lguohan : Added the extra unit test to validate the additional management vrf related configuration. Created separate files to avoid the confusion between non mgmt vrf and mgmt vrf. Let us know if this is fine.

@lguohan lguohan merged commit 31d1a76 into sonic-net:master Sep 16, 2019
@wendani
Copy link
Contributor

wendani commented Jan 25, 2020

This implementation forces the NTP service to be run in the mgmt VRF when mgmt VRF is enabled.

If NTP runs over Loopback0, which is configured in the default VRF and communicates through a front-panel port, it is not supported here when mgmt VRF is enabled

@irene-pan1202
Copy link

irene-pan1202 commented May 6, 2020

@vharish02 Why does the loopback network interface of mgmt VRF not need to be configured ::1/128?
This should cause NTP service bind v6 loopback failed and unable to create socket on lo for ::1#123 when mgmt VRF is enabled.

mssonicbld added a commit that referenced this pull request Apr 13, 2024
…atically (#18673)

#### Why I did it
src/sonic-utilities
```
* 21f69fb5 - (HEAD -> 202311, origin/202311) [graceful reboot] Add watchdog, add execution of pre_reboot_hook, fix --force flag bug (#3204) (11 hours ago) [Vadym Hlushko]
```
#### How I did it
#### How to verify it
#### Description for the changelog
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.

7 participants