Files
test/config/ptp/files/default.json5
croy de29aad472 Adjusting PTP Config for Connectors
Change-Id: I923cf6b278e29fbeb99130fdee8923371818cc16
Signed-off-by: croy <Christian.Roy@windriver.com>
2025-03-19 14:41:06 -04:00

111 lines
2.7 KiB
Plaintext

{
// 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: "",
},
},
},
},
}