Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
47
Issues
47
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
1d28bc0e
Commit
1d28bc0e
authored
Oct 16, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
etc: changes to provided config files
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
35b3928b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
45 deletions
+36
-45
ppsi-wrs.conf
etc/ppsi-wrs.conf
+20
-21
ppsi.conf
etc/ppsi.conf
+16
-24
No files found.
etc/ppsi
.conf.sevensol_switch
→
etc/ppsi
-wrs.conf
View file @
1d28bc0e
# 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
...
...
etc/ppsi.conf
View file @
1d28bc0e
# 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
eth
2
iface
eth2
proto
raw
role
master
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment