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

Feat(eos_designs): Add ntp_settings #3293

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ ip name-server vrf MGMT 8.8.8.8

#### NTP Summary

##### NTP Local Interface

| Interface | VRF |
| --------- | --- |
| Management0 | MGMT |

##### NTP Servers

| Server | VRF | Preferred | Burst | iBurst | Version | Min Poll | Max Poll | Local-interface | Key |
Expand All @@ -99,6 +105,7 @@ ip name-server vrf MGMT 8.8.8.8

```eos
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT pool.ntp.org
ntp server vrf MGMT time.google.com prefer
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ ip name-server vrf MGMT 8.8.8.8

#### NTP Summary

##### NTP Local Interface

| Interface | VRF |
| --------- | --- |
| Management0 | MGMT |

##### NTP Servers

| Server | VRF | Preferred | Burst | iBurst | Version | Min Poll | Max Poll | Local-interface | Key |
Expand All @@ -99,6 +105,7 @@ ip name-server vrf MGMT 8.8.8.8

```eos
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT pool.ntp.org
ntp server vrf MGMT time.google.com prefer
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@ ip name-server vrf MGMT 8.8.8.8

#### NTP Summary

##### NTP Local Interface

| Interface | VRF |
| --------- | --- |
| Management0 | MGMT |

##### NTP Servers

| Server | VRF | Preferred | Burst | iBurst | Version | Min Poll | Max Poll | Local-interface | Key |
Expand All @@ -98,6 +104,7 @@ ip name-server vrf MGMT 8.8.8.8

```eos
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT pool.ntp.org
ntp server vrf MGMT time.google.com prefer
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ ip name-server vrf MGMT 8.8.8.8

#### NTP Summary

##### NTP Local Interface

| Interface | VRF |
| --------- | --- |
| Management0 | MGMT |

##### NTP Servers

| Server | VRF | Preferred | Burst | iBurst | Version | Min Poll | Max Poll | Local-interface | Key |
Expand All @@ -99,6 +105,7 @@ ip name-server vrf MGMT 8.8.8.8

```eos
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT pool.ntp.org
ntp server vrf MGMT time.google.com prefer
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ ip name-server vrf MGMT 8.8.8.8

#### NTP Summary

##### NTP Local Interface

| Interface | VRF |
| --------- | --- |
| Management0 | MGMT |

##### NTP Servers

| Server | VRF | Preferred | Burst | iBurst | Version | Min Poll | Max Poll | Local-interface | Key |
Expand All @@ -99,6 +105,7 @@ ip name-server vrf MGMT 8.8.8.8

```eos
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT pool.ntp.org
ntp server vrf MGMT time.google.com prefer
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ ip name-server vrf MGMT 8.8.8.8

#### NTP Summary

##### NTP Local Interface

| Interface | VRF |
| --------- | --- |
| Management0 | MGMT |

##### NTP Servers

| Server | VRF | Preferred | Burst | iBurst | Version | Min Poll | Max Poll | Local-interface | Key |
Expand All @@ -96,6 +102,7 @@ ip name-server vrf MGMT 8.8.8.8

```eos
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT pool.ntp.org
ntp server vrf MGMT time.google.com prefer
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ ip name-server vrf MGMT 8.8.8.8

#### NTP Summary

##### NTP Local Interface

| Interface | VRF |
| --------- | --- |
| Management0 | MGMT |

##### NTP Servers

| Server | VRF | Preferred | Burst | iBurst | Version | Min Poll | Max Poll | Local-interface | Key |
Expand All @@ -96,6 +102,7 @@ ip name-server vrf MGMT 8.8.8.8

```eos
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT pool.ntp.org
ntp server vrf MGMT time.google.com prefer
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ ip name-server vrf MGMT 8.8.8.8

#### NTP Summary

##### NTP Local Interface

| Interface | VRF |
| --------- | --- |
| Management0 | MGMT |

##### NTP Servers

| Server | VRF | Preferred | Burst | iBurst | Version | Min Poll | Max Poll | Local-interface | Key |
Expand All @@ -96,6 +102,7 @@ ip name-server vrf MGMT 8.8.8.8

```eos
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT pool.ntp.org
ntp server vrf MGMT time.google.com prefer
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ ip name-server vrf MGMT 8.8.8.8

#### NTP Summary

##### NTP Local Interface

| Interface | VRF |
| --------- | --- |
| Management0 | MGMT |

##### NTP Servers

| Server | VRF | Preferred | Burst | iBurst | Version | Min Poll | Max Poll | Local-interface | Key |
Expand All @@ -100,6 +106,7 @@ ip name-server vrf MGMT 8.8.8.8

```eos
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT pool.ntp.org
ntp server vrf MGMT time.google.com prefer
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ ip name-server vrf MGMT 8.8.8.8

#### NTP Summary

##### NTP Local Interface

| Interface | VRF |
| --------- | --- |
| Management0 | MGMT |

##### NTP Servers

| Server | VRF | Preferred | Burst | iBurst | Version | Min Poll | Max Poll | Local-interface | Key |
Expand All @@ -100,6 +106,7 @@ ip name-server vrf MGMT 8.8.8.8

```eos
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT pool.ntp.org
ntp server vrf MGMT time.google.com prefer
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@ name_servers:
- 8.8.8.8

# NTP Servers IP or DNS name, first NTP server will be prefered, and sourced from Managment VRF
ntp:
ntp_settings:
server_vrf: use_mgmt_interface_vrf
servers:
- name: time.google.com
preferred: true
vrf: MGMT
- name: pool.ntp.org
vrf: MGMT
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ hostname LEAF1A
ip name-server vrf MGMT 8.8.4.4
ip name-server vrf MGMT 8.8.8.8
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT pool.ntp.org
ntp server vrf MGMT time.google.com prefer
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ hostname LEAF1B
ip name-server vrf MGMT 8.8.4.4
ip name-server vrf MGMT 8.8.8.8
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT pool.ntp.org
ntp server vrf MGMT time.google.com prefer
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ hostname LEAF2A
ip name-server vrf MGMT 8.8.4.4
ip name-server vrf MGMT 8.8.8.8
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT pool.ntp.org
ntp server vrf MGMT time.google.com prefer
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ hostname LEAF3A
ip name-server vrf MGMT 8.8.4.4
ip name-server vrf MGMT 8.8.8.8
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT pool.ntp.org
ntp server vrf MGMT time.google.com prefer
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ hostname LEAF3B
ip name-server vrf MGMT 8.8.4.4
ip name-server vrf MGMT 8.8.8.8
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT pool.ntp.org
ntp server vrf MGMT time.google.com prefer
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ hostname LEAF3C
ip name-server vrf MGMT 8.8.4.4
ip name-server vrf MGMT 8.8.8.8
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT pool.ntp.org
ntp server vrf MGMT time.google.com prefer
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ hostname LEAF3D
ip name-server vrf MGMT 8.8.4.4
ip name-server vrf MGMT 8.8.8.8
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT pool.ntp.org
ntp server vrf MGMT time.google.com prefer
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ hostname LEAF3E
ip name-server vrf MGMT 8.8.4.4
ip name-server vrf MGMT 8.8.8.8
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT pool.ntp.org
ntp server vrf MGMT time.google.com prefer
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ hostname SPINE1
ip name-server vrf MGMT 8.8.4.4
ip name-server vrf MGMT 8.8.8.8
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT pool.ntp.org
ntp server vrf MGMT time.google.com prefer
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ hostname SPINE2
ip name-server vrf MGMT 8.8.4.4
ip name-server vrf MGMT 8.8.8.8
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT pool.ntp.org
ntp server vrf MGMT time.google.com prefer
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,16 @@ management_api_http:
enable_vrfs:
- name: MGMT
enable_https: true
ntp:
local_interface:
name: Management0
vrf: MGMT
servers:
- name: time.google.com
vrf: MGMT
preferred: true
- name: pool.ntp.org
vrf: MGMT
vlans:
- id: 4094
tenant: system
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,16 @@ management_api_http:
enable_vrfs:
- name: MGMT
enable_https: true
ntp:
local_interface:
name: Management0
vrf: MGMT
servers:
- name: time.google.com
vrf: MGMT
preferred: true
- name: pool.ntp.org
vrf: MGMT
vlans:
- id: 4094
tenant: system
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@ management_api_http:
enable_vrfs:
- name: MGMT
enable_https: true
ntp:
local_interface:
name: Management0
vrf: MGMT
servers:
- name: time.google.com
vrf: MGMT
preferred: true
- name: pool.ntp.org
vrf: MGMT
ethernet_interfaces:
- name: Ethernet1/1
peer: SPINE1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,16 @@ management_api_http:
enable_vrfs:
- name: MGMT
enable_https: true
ntp:
local_interface:
name: Management0
vrf: MGMT
servers:
- name: time.google.com
vrf: MGMT
preferred: true
- name: pool.ntp.org
vrf: MGMT
vlans:
- id: 4094
tenant: system
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,16 @@ management_api_http:
enable_vrfs:
- name: MGMT
enable_https: true
ntp:
local_interface:
name: Management0
vrf: MGMT
servers:
- name: time.google.com
vrf: MGMT
preferred: true
- name: pool.ntp.org
vrf: MGMT
vlans:
- id: 4094
tenant: system
Expand Down
Loading