Files
test/config/ptp/files/default.json5
jpike ed5681c41a PTP config value was added but is not in the default config file
A new value was added to the ptp config. This value was not added to
the default.json5 file that is loaded by default and crashing automation.
Added the value to the file.

Also fixed an issue exposed by this. If a test crashed quickly, we can have
a none start time. This will crash the upload to the db.

Change-Id: I936dfc614bbb52a2700404a2867f5ed01a925db8
2025-04-09 10:29:41 -04:00

112 lines
2.8 KiB
Plaintext

{
external_ptp_device_type: "",
// GNSS server information if you want to turn on/off GNSS ports.
gnss_server_host: "gnss_server_hostname_or_ip",
gnss_server_username: "gnss_server_username",
gnss_server_password: "gnss_server_password",
// Information about the NIC cards and SMA connections.
hosts: {
controller_0 : {
sma_connectors: {
nic_1_2: {
input: { nic: "nic1", sma: "sma1" },
output:{ nic: "nic2", sma: "sma2" },
},
nic_2_3: {
input: { nic: "nic2", sma: "sma1" },
output:{ nic: "nic3", sma: "sma1" },
},
},
ufl_connectors: {
nic_1_3: {
input: { nic: "nic1", ufl: "ufl1" },
output:{ nic: "nic2", ufl: "ufl1" },
},
},
nics: {
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: "enp81s0f0",
gpio_switch_port: "30",
pci_slot: "00:007.01",
nic_connection: {
to_host: "controller_1",
to_nic: "nic1",
interface: "enp81s0f1"
},
// Optional Spirent config.
conn_to_spirent: "conn_spirent_placeholder",
spirent_port: "1234",
},
nic2 : {
base_port: "",
gpio_switch_port: "",
conn_to_spirent: "",
spirent_port: "",
},
nic3 : {
base_port: "",
gpio_switch_port: "",
conn_to_spirent: "",
spirent_port: "",
}
},
},
controller_1 : {
sma_connectors: {
nic_1_2: {
input: { nic: "nic1", sma: "sma1" },
output:{ nic: "nic2", sma: "sma2" },
},
},
nics: {
nic1: {
base_port: "",
gpio_switch_port: "",
conn_to_spirent: "",
spirent_port: "",
},
nic2: {
base_port: "enp82s0f0",
gpio_switch_port: "",
conn_to_spirent: "",
spirent_port: "",
},
},
},
},
}