configs: Add sample configs for the HSR setup This is a sample config for the HSR/ DAC mode. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
diff --git a/configs/hsr-master.cfg b/configs/hsr-master.cfg new file mode 100644 index 0000000..477b3a2 --- /dev/null +++ b/configs/hsr-master.cfg
@@ -0,0 +1,30 @@ +# HSR example. Two redundant ports, paired. The interfaces implement a HC +# consisting of two TC and attached OC for internal synchronisation. Both +# ports should use the PTP-clock. +# Can become master. +# See the file, default.cfg, for the complete list of available options. + +[global] +clientOnly 0 +priority1 127 +priority2 128 +logAnnounceInterval 0 +logSyncInterval 0 +path_trace_enabled 1 +tc_spanning_tree 1 +network_transport L2 +delay_mechanism P2P + +profileIdentity 00:0c:cd:01:01:01 +dataset_comparison IEC62439-3 +use_syslog 0 +verbose 1 +logging_level 6 + +[eth1] +hsr_device hsr0 +BMCA redundant_master + +[eth2] +hsr_device hsr0 +BMCA redundant_master
diff --git a/configs/hsr-slave.cfg b/configs/hsr-slave.cfg new file mode 100644 index 0000000..4531011 --- /dev/null +++ b/configs/hsr-slave.cfg
@@ -0,0 +1,30 @@ +# HSR example. Two redundant ports, paired. The interfaces implement a HC +# consisting of two TC and attached OC for internal synchronisation. Both +# ports should use the PTP-clock. +# Slave only mode. +# See the file, default.cfg, for the complete list of available options. + +[global] +clientOnly 1 +priority1 255 +priority2 255 +logAnnounceInterval 0 +logSyncInterval 0 +path_trace_enabled 1 +tc_spanning_tree 1 +network_transport L2 +delay_mechanism P2P + +profileIdentity 00:0c:cd:01:01:01 +dataset_comparison IEC62439-3 +use_syslog 0 +verbose 1 +logging_level 6 + +[eth1] +hsr_device hsr0 +BMCA redundant_master + +[eth2] +hsr_device hsr0 +BMCA redundant_master