Files
test/config/ptp/files/default.json5
croy 217f41dab5 PTPSetup and associated reader
Change-Id: I2a878c41cdc552a387623f06c2890b25f4403a75
Signed-off-by: croy <Christian.Roy@windriver.com>
2025-02-28 15:13:53 -05:00

90 lines
2.8 KiB
Plaintext

{
controller_0 : {
nic1 : {
gnss_switch_port: "./gnss_switch_port_file.exp 1",
// Parameters can be : sma1 input/output, sma2 input/output, u.fl1 output, u.fl2 input, synce_rclka enabled, synce_rclkb enabled
sma1_to_nic2: "output", // CLOCK OUTPUT INTERFACE Controller-0 NIC1
sma2_to_nic2: "",
// This port for TS2PHC and PHC2SYS.
// Can be assigned to any interface of the NIC connected to GNSS and with any NIC on the same host.
// By default, we use the first port.
base_port: "enp81s0f0",
conn_to_ctrl1_nic1: "enp81s0f1",
// Optional Spirent config.
conn_to_spirent: "",
spirent_port: "",
},
nic2 : {
gnss_switch_port: "",
// Parameters can be : sma1 input/output, sma2 input/output, u.fl1 output, u.fl2 input, synce_rclka enabled, synce_rclkb enabled
sma1_to_nic1: "input", // CLOCK OUTPUT INTERFACE Controller-0 NIC2
sma2_to_nic1: "",
// This port for TS2PHC and PHC2SYS.
// Can be assigned to any interface of the NIC connected to GNSS and with any NIC on the same host.
// By default, we use the first port.
base_port: "",
conn_to_ctrl1_nic2: "",
// Optional Spirent config.
conn_to_spirent: "",
spirent_port: "",
}
},
controller_1 : {
nic1 : {
gnss_switch_port: "",
// Parameters can be : sma1 input/output, sma2 input/output, u.fl1 output, u.fl2 input, synce_rclka enabled, synce_rclkb enabled
sma1_to_nic2: "output", // CLOCK OUTPUT INTERFACE Controller-1 NIC1
sma2_to_nic2: "",
// This port for TS2PHC and PHC2SYS.
// Can be assigned to any interface of the NIC connected to GNSS and with any NIC on the same host.
// By default, we use the first port.
base_port: "",
conn_to_ctrl0_nic1: "",
// Optional Spirent config.
conn_to_spirent: "",
spirent_port: "",
},
nic2 : {
gnss_switch_port: "",
// Parameters can be : sma1 input/output, sma2 input/output, u.fl1 output, u.fl2 input, synce_rclka enabled, synce_rclkb enabled
sma1_to_nic1: "input", // CLOCK OUTPUT INTERFACE Controller-1 NIC2
sma2_to_nic1: "",
// This port for TS2PHC and PHC2SYS.
// Can be assigned to any interface of the NIC connected to GNSS and with any NIC on the same host.
// By default, we use the first port.
base_port: "enp82s0f0",
conn_to_ctrl0_nic2: "",
// Optional Spirent config.
conn_to_spirent: "",
spirent_port: "",
},
},
}