Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
salt-state
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FFFFM
salt-state
Commits
accaf414
Commit
accaf414
authored
9 months ago
by
skorpy
Browse files
Options
Downloads
Patches
Plain Diff
networkd/batman: fix context
parent
63e0911e
No related branches found
Branches containing commit
No related tags found
1 merge request
!610
move to systemd-networkd for gateways
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
network/domains-batman-systemd.sls
+1
-0
1 addition, 0 deletions
network/domains-batman-systemd.sls
network/files/systemd/vxlan_batadv.netdev.j2
+1
-1
1 addition, 1 deletion
network/files/systemd/vxlan_batadv.netdev.j2
with
2 additions
and
1 deletion
network/domains-batman-systemd.sls
+
1
−
0
View file @
accaf414
...
...
@@ -105,6 +105,7 @@ dom.service:
- context:
domain: {{ domain }}
domain_id: {{ domain_id }}
vtep: {{ pillar['vtep'] }}
/etc/systemd/network/50-{{ domain }}-peers-br.netdev:
...
...
This diff is collapsed.
Click to expand it.
network/files/systemd/vxlan_batadv.netdev.j2
+
1
−
1
View file @
accaf414
...
...
@@ -2,7 +2,7 @@
Kind=vxlan
Name={{ domain }}-tp
MTUBytes={{ salt['pillar.get']('domains:%s:mtu' | format(domain), 1312) }}
MACAddress={{ salt['net.vxlan_mac'](domain_id, host
_
id) }}
MACAddress={{ salt['net.vxlan_mac'](domain_id,
salt['pillar.get']('
host
:
id
:primary')
) }}
[VXLAN]
DestinationPort=4789
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment