Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OSM Packages
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
17
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vnf-onboarding
OSM Packages
Commits
bcb3e8e7
Commit
bcb3e8e7
authored
4 years ago
by
lavado
Browse files
Options
Downloads
Patches
Plain Diff
using proper names for VNFs in NSD
parent
24669309
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
magma/README.md
+3
-3
3 additions, 3 deletions
magma/README.md
magma/hackfest_magma-agw-enb_nsd/magma-agw-enb_nsd.yaml
+7
-7
7 additions, 7 deletions
magma/hackfest_magma-agw-enb_nsd/magma-agw-enb_nsd.yaml
with
10 additions
and
10 deletions
magma/README.md
+
3
−
3
View file @
bcb3e8e7
...
...
@@ -40,11 +40,11 @@ There is a "build_infra.sh" with some examples of what needs to be prepared.
### eNodeB register Day-2
`osm ns-action magma_slice.slice_hackfest_nsd_epc --vnf_name
1
--vdu_id srsLTE-vdu --action_name register --params '{mme-addr: "192.168.100.254", gtp-bind-addr: "192.168.100.10", s1c-bind-addr: "192.168.100.10"}'`
`osm ns-action magma_slice.slice_hackfest_nsd_epc --vnf_name
MagmaAGW+srsLTE
--vdu_id srsLTE-vdu --action_name register --params '{mme-addr: "192.168.100.254", gtp-bind-addr: "192.168.100.10", s1c-bind-addr: "192.168.100.10"}'`
### UE attach Day-2
`osm ns-action magma_slice.slice_hackfest_nsd_epc --vnf_name
1
--vdu_id srsLTE-vdu --action_name attach-ue --params '{usim-imsi: "722070000000008", usim-k: "c8eba87c1074edd06885cb0486718341", usim-opc: "17b6c0157895bcaa1efc1cef55033f5f"}'`
`osm ns-action magma_slice.slice_hackfest_nsd_epc --vnf_name
MagmaAGW+srsLTE
--vdu_id srsLTE-vdu --action_name attach-ue --params '{usim-imsi: "722070000000008", usim-k: "c8eba87c1074edd06885cb0486718341", usim-opc: "17b6c0157895bcaa1efc1cef55033f5f"}'`
## Testing traffic
...
...
@@ -64,7 +64,7 @@ set interfaces ethernet eth1 firewall in name MAGMA_FW
With this, a Day-2 primitive can be executed against the PNF to allow traffic from the specific Magma SGI IP address, for example, if it's 192.168.239.10:
`osm ns-action magma_slice.slice_hackfest_nsd_epc --vnf_name
2
--action_name configure-remote --params '{magmaIP: "192.168.239.10"}'`
`osm ns-action magma_slice.slice_hackfest_nsd_epc --vnf_name
VYOS-PNF
--action_name configure-remote --params '{magmaIP: "192.168.239.10"}'`
With this, the UE machine will have access to Internet through the AGW and then the VyOS PNF.
...
...
This diff is collapsed.
Click to expand it.
magma/hackfest_magma-agw-enb_nsd/magma-agw-enb_nsd.yaml
+
7
−
7
View file @
bcb3e8e7
...
...
@@ -7,9 +7,9 @@ nsd-catalog:
vendor
:
Whitestack
version
:
'
1.0'
constituent-vnfd
:
-
member-vnf-index
:
'
1
'
-
member-vnf-index
:
'
MagmaAGW+srsLTE
'
vnfd-id-ref
:
hackfest_magma-agw-enb_vnfd
-
member-vnf-index
:
'
2
'
-
member-vnf-index
:
'
VYOS-PNF
'
vnfd-id-ref
:
hackfest_gateway_vnfd
connection-point
:
-
name
:
nsd_cp_mgmt
...
...
@@ -23,13 +23,13 @@ nsd-catalog:
type
:
ELAN
mgmt-network
:
true
vnfd-connection-point-ref
:
-
member-vnf-index-ref
:
'
1
'
-
member-vnf-index-ref
:
'
MagmaAGW+srsLTE
'
vnfd-id-ref
:
hackfest_magma-agw-enb_vnfd
vnfd-connection-point-ref
:
agw-mgmt
-
member-vnf-index-ref
:
'
1
'
-
member-vnf-index-ref
:
'
MagmaAGW+srsLTE
'
vnfd-id-ref
:
hackfest_magma-agw-enb_vnfd
vnfd-connection-point-ref
:
srsLTE-mgmt
-
member-vnf-index-ref
:
'
2
'
-
member-vnf-index-ref
:
'
VYOS-PNF
'
vnfd-id-ref
:
hackfest_gateway_vnfd
vnfd-connection-point-ref
:
gateway_public
-
id
:
sgi
...
...
@@ -39,9 +39,9 @@ nsd-catalog:
mgmt-network
:
false
vim-network-name
:
sgi
vnfd-connection-point-ref
:
-
member-vnf-index-ref
:
'
1
'
-
member-vnf-index-ref
:
'
MagmaAGW+srsLTE
'
vnfd-id-ref
:
hackfest_magma-agw-enb_vnfd
vnfd-connection-point-ref
:
agw-sgi
-
member-vnf-index-ref
:
'
2
'
-
member-vnf-index-ref
:
'
VYOS-PNF
'
vnfd-id-ref
:
hackfest_gateway_vnfd
vnfd-connection-point-ref
:
gateway_public
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