NTP Policy
An NTP Policy configures the NTP service on UCS servers and IMC endpoints, specifying NTP servers and the timezone for time synchronization.
Location in Intersight GUI:
Policies » NTP
Diagram
Section titled “Diagram”Classes
Section titled “Classes”policies (compute.intersight.organizations)
Section titled “policies (compute.intersight.organizations)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| ntp | List | [ntp] | No |
ntp (compute.intersight.organizations.policies)
Section titled “ntp (compute.intersight.organizations.policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
| description | String | No | ||
| managed | Boolean | true, false | No | true |
| tags | List | [tags] | No | |
| enabled | Boolean | true, false | No | true |
| timezone | String | No | UTC | |
| ntp_servers | List | String | No | |
| authenticated_ntp_servers | List | [authenticated_ntp_servers] | No |
tags (compute.intersight.organizations.policies.ntp)
Section titled “tags (compute.intersight.organizations.policies.ntp)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| key | String | Yes | ||
| value | String | Yes |
authenticated_ntp_servers (compute.intersight.organizations.policies.ntp)
Section titled “authenticated_ntp_servers (compute.intersight.organizations.policies.ntp)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| server_name | String | Yes | ||
| key_type | Choice | SHA1 | No | |
| sym_key_id | Integer | min: 1 | No | |
| sym_key_value | String | No |
Examples
Section titled “Examples”Example-1: Configure an NTP policy with public NTP servers and UTC timezone.
compute: intersight: organizations: - name: MyOrg policies: ntp: - name: MyNtpPolicy enabled: true timezone: UTC ntp_servers: - 0.pool.ntp.org - 1.pool.ntp.org tags: - key: env value: prodExample-2: Configure an NTP policy with authenticated NTP servers.
compute: intersight: organizations: - name: MyOrg policies: ntp: - name: MyAuthNtpPolicy enabled: true timezone: America/New_York authenticated_ntp_servers: - server_name: ntp.internal.example.com key_type: SHA1 sym_key_id: 1 sym_key_value: !env NTP_KEY_VALUEExample-3: Apply tags to an NTP policy for environment and owner tracking. Tags are supported on all policies, pools, and templates using the same syntax.
compute: intersight: organizations: - name: MyOrg policies: ntp: - name: MyTaggedNtpPolicy enabled: true timezone: UTC ntp_servers: - 0.pool.ntp.org tags: - key: env value: prod - key: owner value: network-ops