@@ -209,7 +209,7 @@ var testCases = []TestCase{
209
209
log : "ptp4l[4270543.688]: [ptp4l.1.config:5] port 2 (ens3f1): SLAVE to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED)" ,
210
210
from : "master" ,
211
211
process : "ptp4l" ,
212
- iface : "ens3fx " ,
212
+ iface : "ens3f1 " ,
213
213
logPtp4lConfigName : logPtp4lConfigDualFollower .Name ,
214
214
expectedSyncStateCheck : true ,
215
215
expectedSyncState : float64 (types .HOLDOVER ),
@@ -236,7 +236,7 @@ var testCases = []TestCase{
236
236
log : "dpll[1000000100]:[ts2phc.0.config] ens7f0 frequency_status 3 offset 5 phase_status 3 pps_status 1 s2" ,
237
237
from : "master" ,
238
238
process : "dpll" ,
239
- iface : "ens7fx " ,
239
+ iface : "ens7f0 " ,
240
240
lastSyncState : ptp .FREERUN ,
241
241
expectedSyncStateCheck : true ,
242
242
expectedSyncState : float64 (types .LOCKED ),
@@ -249,7 +249,7 @@ var testCases = []TestCase{
249
249
log : "dpll[1000000110]:[ts2phc.0.config] ens7f0 frequency_status 3 offset 5 phase_status 3 pps_status 0 s0" ,
250
250
from : "master" ,
251
251
process : "dpll" ,
252
- iface : "ens7fx " ,
252
+ iface : "ens7f0 " ,
253
253
lastSyncState : ptp .LOCKED ,
254
254
expectedSyncStateCheck : true ,
255
255
expectedSyncState : float64 (types .FREERUN ),
@@ -262,7 +262,7 @@ var testCases = []TestCase{
262
262
log : "dpll[1000000120]:[ts2phc.0.config] ens7f0 frequency_status 3 offset 7 phase_status 3 pps_status 0 s1" ,
263
263
from : "master" ,
264
264
process : "dpll" ,
265
- iface : "ens7fx " ,
265
+ iface : "ens7f0 " ,
266
266
expectedSyncStateCheck : true ,
267
267
expectedSyncState : float64 (types .HOLDOVER ),
268
268
expectedPpsStatusCheck : true ,
@@ -274,7 +274,7 @@ var testCases = []TestCase{
274
274
log : "ts2phc[1000000200]:[ts2phc.0.config] ens2f0 nmea_status 0 offset 999999 s0" ,
275
275
from : "master" ,
276
276
process : "ts2phc" ,
277
- iface : "ens2fx " ,
277
+ iface : "ens2f0 " ,
278
278
lastSyncState : ptp .LOCKED ,
279
279
expectedNmeaStatusCheck : true ,
280
280
expectedNmeaStatus : 0 ,
@@ -285,7 +285,7 @@ var testCases = []TestCase{
285
285
log : "ts2phc[1000000210]:[ts2phc.0.config] ens2f0 nmea_status 1 offset 0 s2" ,
286
286
from : "master" ,
287
287
process : "ts2phc" ,
288
- iface : "ens2fx " ,
288
+ iface : "ens2f0 " ,
289
289
expectedNmeaStatusCheck : true ,
290
290
expectedNmeaStatus : 1 ,
291
291
expectedEvent : []ptp.EventType {},
@@ -295,7 +295,7 @@ var testCases = []TestCase{
295
295
log : "ts2phc[1000000300]: [ts2phc.0.config] ens2f0 master offset 0 s2 freq -0" ,
296
296
from : "master" ,
297
297
process : "ts2phc" ,
298
- iface : "ens2fx " ,
298
+ iface : "ens2f0 " ,
299
299
expectedPtpOffsetCheck : true ,
300
300
expectedPtpOffset : 0 ,
301
301
expectedEvent : []ptp.EventType {ptp .PtpStateChange , ptp .SyncStateChange },
@@ -305,7 +305,7 @@ var testCases = []TestCase{
305
305
log : "ts2phc[1000000310]: [ts2phc.0.config] ens7f0 master offset 999 s0 freq -0" ,
306
306
from : "master" ,
307
307
process : "ts2phc" ,
308
- iface : "ens7fx " ,
308
+ iface : "ens7f0 " ,
309
309
expectedPtpOffsetCheck : true ,
310
310
expectedPtpOffset : 999 ,
311
311
expectedSyncStateCheck : true ,
@@ -317,7 +317,7 @@ var testCases = []TestCase{
317
317
log : "GM[1000000400]:[ts2phc.0.config] ens2f0 T-GM-STATUS s0" ,
318
318
from : "master" ,
319
319
process : "GM" ,
320
- iface : "ens2fx " ,
320
+ iface : "ens2f0 " ,
321
321
expectedSyncStateCheck : true ,
322
322
expectedSyncState : float64 (types .FREERUN ),
323
323
expectedEvent : []ptp.EventType {ptp .PtpStateChange , ptp .SyncStateChange },
@@ -327,7 +327,7 @@ var testCases = []TestCase{
327
327
log : "gnss[1000000500]:[ts2phc.0.config] ens2f1 gnss_status 3 offset 5 s2" ,
328
328
from : "gnss" ,
329
329
process : "gnss" ,
330
- iface : "ens2fx " ,
330
+ iface : "ens2f1 " ,
331
331
lastSyncState : ptp .FREERUN ,
332
332
expectedPtpOffsetCheck : true ,
333
333
expectedPtpOffset : 5 ,
@@ -400,7 +400,7 @@ func setup() {
400
400
statsMaster := stats .NewStats (logPtp4lConfig .Name )
401
401
statsMaster .SetOffsetSource ("master" )
402
402
statsMaster .SetProcessName ("ts2phc" )
403
- statsMaster .SetAlias ("ens2fx " )
403
+ statsMaster .SetAlias ("ens2f0 " )
404
404
405
405
statsSlave := stats .NewStats (logPtp4lConfig .Name )
406
406
statsSlave .SetOffsetSource ("phc" )
@@ -414,7 +414,7 @@ func setup() {
414
414
statsPHCDualFollower .SetOffsetSource ("master" )
415
415
statsPHCDualFollower .SetProcessName ("ptp4l" )
416
416
statsPHCDualFollower .SetLastSyncState ("LOCKED" )
417
- statsPHCDualFollower .SetAlias ("ens3fx " )
417
+ statsPHCDualFollower .SetAlias ("ens3f1 " )
418
418
419
419
statsRTDualFollower := stats .NewStats (logPtp4lConfigDualFollower .Name )
420
420
statsRTDualFollower .SetOffsetSource ("phc" )
0 commit comments