nmstate/examples/hsr0_up.yml
Fernando Fernandez Mancera b23da648e4 hsr: add support to HSR/PRP interface
Please notice that HSR and PRP interface are represented by the same
driver [1]. In order to decide the protocol to be used by the HSR
interface the protocol field was added. By default, the protocol used is
HSR. Please, note that supervision-address property is read-only.

Example:

```
---
interfaces:
  - name: hsr0
    type: hsr
    state: up
    hsr:
      port1: eth1
      port2: eth2
      multicast-spec: 40
      protocol: prp
```

[1] https://lwn.net/Articles/826386/

Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
2024-01-05 14:05:04 +08:00

11 lines
149 B
YAML

---
interfaces:
- name: hsr0
type: hsr
state: up
hsr:
port1: eth1
port2: eth2
multicast-spec: 40
protocol: prp