Skip to content

Commit 0c55b9b

Browse files
authored
Merge pull request #81868 from aireilly/ptp-tweak
OCPBUGS-36646 - Replace snippet include with code snippet in PTP docs
2 parents cb922b6 + c365d63 commit 0c55b9b

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

modules/ptp-configuring-linuxptp-services-as-ha-bc-for-dual-nic.adoc

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,27 @@ For example: `haProfiles: ha-ptp-config-nic1,ha-ptp-config-nic2`
118118
+
119119
[source,yaml]
120120
----
121-
include::snippets/ztp_PtpConfigForHA.yaml[]
121+
apiVersion: ptp.openshift.io/v1
122+
kind: PtpConfig
123+
metadata:
124+
name: boundary-ha
125+
namespace: openshift-ptp
126+
annotations: {}
127+
spec:
128+
profile:
129+
- name: "boundary-ha"
130+
ptp4lOpts: "" # <1>
131+
phc2sysOpts: "-a -r -n 24"
132+
ptpSchedulingPolicy: SCHED_FIFO
133+
ptpSchedulingPriority: 10
134+
ptpSettings:
135+
logReduce: "true"
136+
haProfiles: "$profile1,$profile2"
137+
recommend:
138+
- profile: "boundary-ha"
139+
priority: 4
140+
match:
141+
- nodeLabel: "node-role.kubernetes.io/$mcp"
122142
----
123143
<1> Set the `ptp4lOpts` field to an empty string.
124144
If it is not empty, the `p4ptl` process starts with a critical error.

0 commit comments

Comments
 (0)