Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
vnf-onboarding
OSM Packages
Commits
f4111cdc
Commit
f4111cdc
authored
Jun 01, 2020
by
lavado
Browse files
specific routes in Magma AGW to handle control & data plane
parent
b45a7b82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
magma/hackfest_magma-agw-enb_vnfd/cloud_init/magmaagw_init
magma/hackfest_magma-agw-enb_vnfd/cloud_init/magmaagw_init
+9
-1
No files found.
magma/hackfest_magma-agw-enb_vnfd/cloud_init/magmaagw_init
View file @
f4111cdc
#cloud-config
runcmd:
# deleting default mgmt route to Internet
- route delete -net 0.0.0.0/0 gw 172.21.251.254
# adding specific ETSI HIVE mgmt segments through mgmt network
- route add -net 10.100.0.0/16 gw 172.21.251.254
- route add -net 10.101.0.0/16 172.21.251.254
- route add -net 172.21.0.0/16 gw 172.21.251.254
- route add -net 172.22.0.0/16 gw 172.21.251.254
- route add -net 192.168.170.0/24 gw 172.21.251.254
- route add -net 192.168.170.0/24 gw 172.21.251.254
# adding specific ORCH_IP through mgmt network
- route add -host {{ orch_ip }}/32 gw 172.21.251.254
# adding new default route to VyOS PNF
- route add -net 0.0.0.0/0 gw 192.168.239.7
# adding new specific routes to reach MetalLB ranges (Squid and other svcs) through VyOS PNF
- route add -net 172.21.250.0/24 gw 192.168.239.7
- route add -net 172.21.251.0/24 gw 192.168.239.7
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment