Date and Time Policy
Location in GUI:
Fabric
» Fabric Policies
» Fabric Policies
» Policies
» Pod
» Date and Time
Diagram
Classes
pod_policies (apic.fabric_policies)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
date_time_policies | List | [date_time_policies] | No |
date_time_policies (apic.fabric_policies.pod_policies)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
ntp_admin_state | Boolean | true , false | No | true |
ntp_auth_state | Boolean | true , false | No | false |
apic_ntp_server_state | Boolean | true , false | No | false |
apic_ntp_server_master_mode | Boolean | true , false | No | false |
apic_ntp_server_master_stratum | Integer | min: 1 , max: 14 | No | 8 |
ntp_servers | List | [ntp_servers] | No | |
ntp_keys | List | [ntp_keys] | No | |
expected_state | Class | [expected_state] | No |
ntp_servers (apic.fabric_policies.pod_policies.date_time_policies)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
hostname_ip | Any | String[Regex: ^[a-zA-Z0-9:][a-zA-Z0-9.:-]{0,254}$ ] or IP | Yes | |
auth_key_id | Integer | min: 1 , max: 65535 | No | |
preferred | Boolean | true , false | No | true |
mgmt_epg | Choice | inb , oob | No | inb |
ntp_keys (apic.fabric_policies.pod_policies.date_time_policies)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
id | Integer | min: 1 , max: 65535 | Yes | |
key | String | min: 0 , max: 40 | Yes | |
auth_type | Choice | md5 , sha1 | Yes | |
trusted | Boolean | true , false | Yes |
expected_state (apic.fabric_policies.pod_policies.date_time_policies)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
minimum_health | Integer | min: 0 , max: 100 | No | |
maximum_critical_faults | Integer | min: 0 | No | |
maximum_major_faults | Integer | min: 0 | No | |
maximum_minor_faults | Integer | min: 0 | No |
Examples
Simple example:
apic:
fabric_policies:
pod_policies:
date_time_policies:
- name: NTP1
ntp_servers:
- hostname_ip: 1.1.1.13
Full example:
apic:
fabric_policies:
pod_policies:
date_time_policies:
- name: NTP1
ntp_admin_state: true
ntp_auth_state: false
apic_ntp_server_state: false
apic_ntp_server_master_mode: false
apic_ntp_server_master_stratum: 8
ntp_servers:
- hostname_ip: 1.1.1.13
auth_key_id: 1
preferred: true
mgmt_epg: oob
ntp_keys:
- id: 1
key: key1
auth_type: md5
trusted: false