Commit 1d28bc0e authored by Alessandro Rubini's avatar Alessandro Rubini

etc: changes to provided config files

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 35b3928b
# ppsi configuration file for Seven Solution 18-ports switch.
# Just rename it to ppsi.conf and copy it to /etc/ppsi.conf on the
# switch.
# ppsi suggested configuration file the White Rabbit Switch
# The WRS looks for this in /wr/etc/ppsi.conf or /etc/ppsi.conf
# Global settings
clock-class 187
clock-accuracy 254
link slave
port slave
iface wr0
role slave
extension whiterabbit
link master1
port master1
iface wr1
role auto
extension whiterabbit
link master2
port master2
iface wr2
role auto
extension whiterabbit
link master3
port master3
iface wr3
role auto
extension whiterabbit
link master4
port master4
iface wr4
role auto
extension whiterabbit
link master5
port master5
iface wr5
role auto
extension whiterabbit
link master6
port master6
iface wr6
role auto
extension whiterabbit
link master7
port master7
iface wr7
role auto
extension whiterabbit
link master8
port master8
iface wr8
role auto
extension whiterabbit
link master9
port master9
iface wr9
role auto
extension whiterabbit
link master10
port master10
iface wr10
role auto
extension whiterabbit
link master11
port master11
iface wr11
role auto
extension whiterabbit
link master12
port master12
iface wr12
role auto
extension whiterabbit
link master13
port master13
iface wr13
role auto
extension whiterabbit
link master14
port master14
iface wr14
role auto
extension whiterabbit
link master15
port master15
iface wr15
role auto
extension whiterabbit
link master16
port master16
iface wr16
role auto
extension whiterabbit
link master17
port master17
iface wr17
role auto
extension whiterabbit
......
# Sample ppsi configuration file. Mainly to be used for multi-link
# purposes, it defines the various "links" for ppsi, assigning a port
# Sample ppsi configuration file. Mainly to be used for multi-port
# purposes, it defines the various PTP ports, assigning a port
# for each link and defining the link properties.
#
# Some global setting is available:
# clock-class <val>, where val is a decimal number for Clock Class
# clock-accuracy <val>, where val is a decimal number for Clock Accuracy
# See documentation or lib/conf.c for a list of parameters.
#
# Each link must be defined as follows:
# link <id>, where id is a label identifying the link (e.g. a number)
# iface <eth>, where <eth> is the interface name, e.g. eth0
# proto [raw|udp], where raw is the default
# role [auto|master|slave], where auto is the default
# extension [none|whiterabbit], where none is the default
# Both newline and semicolon act as separators. Each port is defined as:
# port <name>; iface <hwname>
# proto raw|udp (raw is the default)
# role auto|master|slave (auto is the default)
# extension none|whiterabbit (none is the default)
# Global settings
clock-class 248
clock-accuracy 254
# Link 0 is the slave, connected to the external master clock
link 0
iface eth0
proto raw
role slave
extension none
# Port 0 is slave, connected to the external master clock
port eth-raw; iface eth0; proto raw; role slave
# Link 1 is one master, driving its slave peer
link 1
iface eth1
proto raw
role master
extension none
# The same ethernet is also a udp PTP port
port eth-udp; iface eth0; proto udp; role auto
# Eth1 is master-only on raw ethernet, driving its slave peer
port eth1; iface eth1; proto raw; role master
# Link 2 is another master, driving another slave peer
link 2
port eth2
iface eth2
proto raw
role master
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment