supernode_pkg_vars.yml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. fastd_instances:
  2. - name: test
  3. bind: any:10000 interface "eth0" default ipv4
  4. interface: tap00
  5. loglevel: info
  6. mode: tap
  7. method: salsa2012+umac
  8. peer_limit: 125
  9. mtu: 1280
  10. status_socket: /tmp/fastd00.sock
  11. on_up_script: |
  12. ip link set up $INTERFACE
  13. batctl if add $INTERFACE
  14. on_verify_script: |
  15. /etc/fastd/fastd-blacklist.sh $PEER_KEY
  16. fastd_instances_secret:
  17. - name: test
  18. secret: 280088c4263359417e9f2daf1771db820ab79eb4f79e3718719b2a976e8a8b5e
  19. bird_router_id: 10.233.8.1
  20. bird_templates:
  21. - header: bgp ibgp
  22. content: |
  23. local as 65403;
  24. import all;
  25. export all;
  26. next hop self;
  27. multihop 64;
  28. bird_protocols:
  29. - header: direct
  30. content: interface "*";
  31. - header: bgp ffrg11 from ibgp
  32. content: |
  33. source address 10.0.6.6;
  34. neighbor 10.0.6.5 as 65079;
  35. default bgp_med 2;
  36. bird6_router_id: 10.233.8.1
  37. bird6_templates:
  38. - header: bgp ibgp
  39. content: |
  40. source address 2a03:2260:50:5::8;
  41. local as 65403;
  42. import all;
  43. export all;
  44. next hop self;
  45. direct;
  46. gateway direct;
  47. bird6_protocols:
  48. - header: direct
  49. content: interface "*";
  50. - header: bgp node012 from ibgp
  51. content: |
  52. neighbor 2a03:2260:50:5::24 as 65403;
  53. default bgp_med 4;
  54. supernode_interfaces:
  55. - name: eth0
  56. auto: true
  57. proto: inet
  58. type: dhcp
  59. - name: meshdummy0
  60. auto: true
  61. proto: inet
  62. type: manual
  63. config:
  64. - key: pre-up
  65. value: ip link add $IFACE type dummy
  66. - key: pre-up
  67. value: ip link set address 02:ce:ef:ca:fe:2a dev $IFACE
  68. - key: pre-up
  69. value: ip link set up dev $IFACE
  70. - key: post-down
  71. value: ip link set down dev $IFACE
  72. - key: up
  73. value: batctl if add $IFACE