Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
template_vxlan_lab_Rafael
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Rafael Da Silveira Santos
template_vxlan_lab_Rafael
Commits
8db53fbe
Commit
8db53fbe
authored
1 month ago
by
Rafael Da Silveira Santos
Browse files
Options
Downloads
Patches
Plain Diff
Fix vtep flooding error in ansible
parent
9ae17e3d
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
service_deployment/ansilbe_implementation/playbooks/configure_service.yaml
+11
-6
11 additions, 6 deletions
...t/ansilbe_implementation/playbooks/configure_service.yaml
with
11 additions
and
6 deletions
service_deployment/ansilbe_implementation/playbooks/configure_service.yaml
+
11
−
6
View file @
8db53fbe
...
@@ -10,16 +10,21 @@
...
@@ -10,16 +10,21 @@
-
"
description
{{
interface.description
}}"
-
"
description
{{
interface.description
}}"
-
"
switchport
access
vlan
{{
service.fabric[hostname].vlan
}}"
-
"
switchport
access
vlan
{{
service.fabric[hostname].vlan
}}"
-
name
:
Configure VxLAN
-
name
:
Configure vxlan
arista.eos.eos_command
:
commands
:
-
"
configure
session
{{
hostname
}}"
-
"
interface
vxlan
1"
-
"
vxlan
source-interface
Loopback0"
-
"
vxlan
vlan
{{
service.fabric[hostname].vlan
}}
vni
{{
service.vni
}}"
-
name
:
Configure VTEP Flooding
when
:
device.key != hostname
when
:
device.key != hostname
loop
:
"
{{
lookup('ansible.builtin.dict',
service.fabric
)
}}"
loop
:
"
{{
service.fabric
|
dict2items
}}"
loop_control
:
loop_control
:
loop_var
:
device
loop_var
:
device
arista.eos.eos_command
:
arista.eos.eos_command
:
commands
:
commands
:
-
"
configure
session
{{
hostname
}}"
-
"
configure
session
{{
hostname
}}"
-
"
interface
vxlan
1"
-
"
interface
vxlan
1"
-
"
vxlan
source-interface
Loopback0"
-
"
vxlan
vlan
{{
service.fabric[hostname].vlan
}}
flood
vtep
fc00:0:0:2{{
device.key.split('L')[-1]
}}::"
-
"
vxlan
vlan
{{
service.fabric[hostname].vlan
}}
vni
{{
service.vni
}}"
\ No newline at end of file
-
"
vxlan
vlan
{{
service.fabric[hostname].vlan
}}
flood
vtep
fc00:0:0:2{{
device.key.split('L')[-1]
}}::"
-
"
exit"
\ No newline at end of file
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