Skip to content

Commit 9d009fd

Browse files
Merge pull request #1527 from openshift-cherrypick-robot/cherry-pick-1517-to-release-4.13
[release-4.13] OCPBUGS-14628: ztp: reduce ptp logging in all reference configs
2 parents ea001a9 + 18d5410 commit 9d009fd

File tree

12 files changed

+24
-0
lines changed

12 files changed

+24
-0
lines changed

feature-configs/5g-ref-nw/profile-base/du-general/ptp/ptpconfig-boundary.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ spec:
1010
phc2sysOpts: "-a -r -n 24"
1111
ptpSchedulingPolicy: SCHED_FIFO
1212
ptpSchedulingPriority: 10
13+
ptpSettings:
14+
logReduce: "true"
1315
ptp4lConf: |
1416
# The interface name is hardware-specific
1517
[ens1f0]

feature-configs/5g-ref-nw/profile-base/du-general/ptp/ptpconfig-grandmaster.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ spec:
1414
phc2sysOpts: "-a -r -r -n 24"
1515
ptpSchedulingPolicy: SCHED_FIFO
1616
ptpSchedulingPriority: 10
17+
ptpSettings:
18+
logReduce: "true"
1719
ptp4lConf: |
1820
[global]
1921
#

feature-configs/5g-ref-nw/profile-base/du-general/ptp/ptpconfig-slave.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ spec:
1111
phc2sysOpts: "-a -r -n 24"
1212
ptpSchedulingPolicy: SCHED_FIFO
1313
ptpSchedulingPriority: 10
14+
ptpSettings:
15+
logReduce: "true"
1416
ptp4lConf: |
1517
[global]
1618
#

feature-configs/cn-ran-overlays/ran-profile/cluster-config/du-common/ptp/ptpconfig-boundary.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ spec:
1010
phc2sysOpts: "-a -r -n 24"
1111
ptpSchedulingPolicy: SCHED_FIFO
1212
ptpSchedulingPriority: 10
13+
ptpSettings:
14+
logReduce: "true"
1315
ptp4lConf: |
1416
# The interface name is hardware-specific
1517
[ens1f0]

feature-configs/cn-ran-overlays/ran-profile/cluster-config/du-common/ptp/ptpconfig-grandmaster.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ spec:
1212
phc2sysOpts: "-a -r -r -n 24"
1313
ptpSchedulingPolicy: SCHED_FIFO
1414
ptpSchedulingPriority: 10
15+
ptpSettings:
16+
logReduce: "true"
1517
ptp4lConf: |
1618
[global]
1719
#

feature-configs/cn-ran-overlays/ran-profile/cluster-config/du-common/ptp/ptpconfig-slave.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ spec:
1212
phc2sysOpts: "-a -r -n 24"
1313
ptpSchedulingPolicy: SCHED_FIFO
1414
ptpSchedulingPriority: 10
15+
ptpSettings:
16+
logReduce: "true"
1517
ptp4lConf: |
1618
[global]
1719
#

ztp/policygenerator/testData/TestPtpConfig/sourcePolicies/TestPtpConfig.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ spec:
1111
phc2sysOpts: $phc2sysOpts
1212
ptpSchedulingPolicy: SCHED_FIFO
1313
ptpSchedulingPriority: 10
14+
ptpSettings:
15+
logReduce: "true"
1416
ptp4lConf: |
1517
[global]
1618
#

ztp/source-crs/PtpConfigBoundary.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ spec:
1212
phc2sysOpts: "-a -r -n 24"
1313
ptpSchedulingPolicy: SCHED_FIFO
1414
ptpSchedulingPriority: 10
15+
ptpSettings:
16+
logReduce: "true"
1517
ptp4lConf: |
1618
# The interface name is hardware-specific
1719
[$iface_slave]

ztp/source-crs/PtpConfigGmWpc.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ spec:
1414
phc2sysOpts: -r -u 0 -m -O -37 -N 8 -R 16 -s $iface_master -n 24
1515
ptpSchedulingPolicy: SCHED_FIFO
1616
ptpSchedulingPriority: 10
17+
ptpSettings:
18+
logReduce: "true"
1719
plugins:
1820
e810:
1921
enableDefaultConfig: true

ztp/source-crs/PtpConfigMaster.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ spec:
1616
phc2sysOpts: "-a -r -r -n 24"
1717
ptpSchedulingPolicy: SCHED_FIFO
1818
ptpSchedulingPriority: 10
19+
ptpSettings:
20+
logReduce: "true"
1921
ptp4lConf: |
2022
[global]
2123
#

0 commit comments

Comments
 (0)