diff --git a/README.md b/README.md index 17a92756ce3629e586133a1f99b7ee227b47bdee..a26bf3a8588569224bd6e264124f3fb44cf2be40 100644 --- a/README.md +++ b/README.md @@ -155,3 +155,5 @@ Options: -h, --help Show this message and exit. ``` + + diff --git a/hackfest_magma-agw-enb_nsd/hackfest_magma-agw-enb_nsd.yaml b/hackfest_magma-agw-enb_nsd/hackfest_magma-agw-enb_nsd.yaml deleted file mode 100644 index 50c3744a73ea3c00a50dacec8b8a43b69b61c823..0000000000000000000000000000000000000000 --- a/hackfest_magma-agw-enb_nsd/hackfest_magma-agw-enb_nsd.yaml +++ /dev/null @@ -1,52 +0,0 @@ -nsd:nsd-catalog: - nsd: - - id: hackfest_magma-agw-enb_nsd - name: hackfest_magma-agw-enb_nsd - short-name: hackfest_magma-agw-enb_nsd - description: Magma AGW 1.0.0 with tools & srsLTE connected to PNF Gateway - vendor: Whitestack - version: '1.0' - constituent-vnfd: - - member-vnf-index: 1 - vnfd-id-ref: hackfest_magma-agw-enb_vnfd - - member-vnf-index: 2 - vnfd-id-ref: hackfest_vyos_pnf - vld: - - id: mgmt - name: mgmt - short-name: mgmt - type: ELAN - mgmt-network: 'true' - vim-network-name: osm-ext - vnfd-connection-point-ref: - - member-vnf-index-ref: 1 - vnfd-id-ref: hackfest_magma-agw-enb_vnfd - vnfd-connection-point-ref: agw-mgmt - - member-vnf-index-ref: 1 - vnfd-id-ref: hackfest_magma-agw-enb_vnfd - vnfd-connection-point-ref: srsLTE-mgmt - - member-vnf-index-ref: 2 - vnfd-connection-point-ref: gateway_public - - id: sgi - name: sgi - short-name: sgi - type: ELAN - vim-network-name: sgi - vnfd-connection-point-ref: - - member-vnf-index-ref: 1 - vnfd-id-ref: hackfest_magma-agw-enb_vnfd - vnfd-connection-point-ref: agw-sgi - - member-vnf-index-ref: 2 - vnfd-id-ref: hackfest_vyos_pnf - vnfd-connection-point-ref: gateway_public - # - id: s1 - # name: s1 - # short-name: s1 - # type: ELAN - # vnfd-connection-point-ref: - # - member-vnf-index-ref: 1 - # vnfd-id-ref: hackfest_magma-agw-enb_vnfd - # vnfd-connection-point-ref: agw-s1 - # - member-vnf-index-ref: 1 - # vnfd-id-ref: hackfest_magma-agw-enb_vnfd - # vnfd-connection-point-ref: srsLTE-s1 diff --git a/magma/.gitignore b/magma/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..b6ef012c646bcf7674243818d15ef7cd30f48d49 --- /dev/null +++ b/magma/.gitignore @@ -0,0 +1 @@ +*tar.gz \ No newline at end of file diff --git a/magma/README.md b/magma/README.md new file mode 100644 index 0000000000000000000000000000000000000000..f0210812058fe1c577bdde87f89ca71d8cbfddc8 --- /dev/null +++ b/magma/README.md @@ -0,0 +1,65 @@ +# Hackfest Magma + +## Diagram + +![osm9hackfest_diagram](/uploads/9d9d85dc23d87ae30de57115b413388b/Screen_Shot_2020-05-23_at_17.27.58.png) + +## Preparation + +This example requires a PNF, emulated with a VyOS router (image [here](http://osm-download.etsi.org/ftp/osm-6.0-six/7th-hackfest/images/vyos-1.1.7-cloudinit.qcow2.tgz)), connected to a shared management network (osm-ext in this example) and to a shared internal "sgi" network where the Slice will be placed. + +1. Add the PDU with the yaml file (emulated by a VyOS VM in this environment) +1. Upload the packages to OSM, the "build_slice.sh" file contain some useful commands. +1. Make sure you got the images for AGW and srsLTE emulator, available at ETSI VIM or at the hackfest@172.21.248.19 home directory. + +Note: a sandbox for testing is available at hackfest@172.21.248.19 (~/osm-packages/magma is synced with this repo) + +## Launching the Slice + +1. Edit the params.yaml and set an address for your Magma Orc8r-proxy service, which AGW will connect to. Same IP address should go to 'proxyserviceloadBalancerIP' and 'orch_ip', and should belong to your K8 Cluster MetalLB pool. +1. Set a name and ID for the first AGW, in parameters agw_id and agw_name (they need to be different each time you launch a new slice) +1. Launch the slice with: +`osm nsi-create --nsi_name magma_slice --nst_name magma_slice_hackfest_nst --config_file params.yaml --vim_account ` + +## Verifying the services + +1. Visit the Orc8r dashboard at the KNF's nginx-proxy svc IP, with https and credentials admin@magma.test / password1234, then check that your AGW has been registered successfully under the list of Gateways [here](https://172.21.250.104/nms/osmnet/gateways) (after proxy charms are finished) +2. Via this same dashboard, add the test subscriber with the following parameters (this will migrate to Day-2 primitive) + - IMSI: 722070000000008 + - KEY: c8eba87c1074edd06885cb0486718341 + - OPC: 17b6c0157895bcaa1efc1cef55033f5f + +3. The emulator is ready to connect, Day-2 primitives for this is WIP, in the meantime, the following commands can be used to connect the eNB and UE, respectively and in that order (from different terminals) + +### Configuring eNodeB example + +`srsenb --enb.name=dummyENB01 --enb.mcc=901 --enb.mnc=70 --enb.mme_addr=192.168.100.254 --enb.gtp_bind_addr=192.168.100.10 --enb.s1c_bind_addr=192.168.100.10 --enb_files.rr_config=/config/rr.conf --enb_files.sib_config=/config/sib.conf --enb_files.drb_config=/config/drb.conf /config/enb.conf.fauxrf` + +### Attaching UE example + +`sudo srsue --usim.imsi=722070000000008 --usim.k=c8eba87c1074edd06885cb0486718341 --usim.algo=milenage --usim.opc=17b6c0157895bcaa1efc1cef55033f5f --nas.apn=oai.ipv4 /config/ue.conf.fauxrf` + +## Testing traffic + +After UE is attached (at emulator machine), the "tun_srsue" will appear, and a default route should be added (pending to put as Day-2 primitive), pointing to the GTP tunnel endpoint: + +`sudo route add -net 0.0.0.0/0 gw 192.168.128.1` + +Finally, a Day-2 primitive must be executed against the PNF (VyOS) 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_1 --vnf_name 2 --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. + +## Additional tests + +- Additional slice instances can be launched (changing agw_id and agw_name), and we should see that just the AGW+emulator NS is launched (Orc8r NS is shared) + +## Pending additions + +- Navigating from a desktop browser (VNC not working properly) +- Placement tests +- Metrics collection +- Automatic and manual scaling +- KNF Primitives (via additional Webhost NS that will be added) +- SDN Assist in the internal S1 VLD diff --git a/magma/build_slice.sh b/magma/build_slice.sh new file mode 100755 index 0000000000000000000000000000000000000000..4004b56b37a47b49495912523c3c9f55f5c5a54d --- /dev/null +++ b/magma/build_slice.sh @@ -0,0 +1,23 @@ +tar -cvzf hackfest_magma-agw-enb_nsd.tar.gz hackfest_magma-agw-enb_nsd/ +tar -cvzf hackfest_magma-agw-enb_vnfd.tar.gz hackfest_magma-agw-enb_vnfd/ +tar -cvzf hackfest_gateway_pnf.tar.gz hackfest_gateway_pnf/ +tar -cvzf fb_magma_knf.tar.gz fb_magma_knf/ +tar -cvzf fb_magma_ns.tar.gz fb_magma_ns/ + +osm nst-delete magma_slice_hackfest_nst +osm nsd-delete hackfest_magma-agw-enb_nsd +osm nsd-delete fb_magma_ns +osm vnfd-delete hackfest_magma-agw-enb_vnfd +osm vnfd-delete hackfest_gateway_pnf +osm vnfd-deletefb_magma_knf + +osm vnfd-create hackfest_magma-agw-enb_vnfd.tar.gz +osm vnfd-create hackfest_gateway_pnf.tar.gz +osm vnfd-create fb_magma_knf.tar.gz +osm nsd-create fb_magma_ns.tar.gz +osm nsd-create hackfest_magma-agw-enb_nsd.tar.gz + +osm netslice-template-create magma_slice.yaml + +osm nsi-create --nsi_name magma_slice --nst_name magma_slice_hackfest_nst --config_file params.yaml --vim_account whitecloud +osm ns-list | grep slice_hackfest_nsd_1 | awk '{print $4}' | xargs -l1 juju switch \ No newline at end of file diff --git a/magma/fb_magma_knf/fb_magma_vnfd.yaml b/magma/fb_magma_knf/fb_magma_vnfd.yaml new file mode 100644 index 0000000000000000000000000000000000000000..86b73216b6d5228ea9500b7d58289e9cac2db690 --- /dev/null +++ b/magma/fb_magma_knf/fb_magma_vnfd.yaml @@ -0,0 +1,20 @@ +vnfd-catalog: + schema-version: '3.0' + vnfd: + - id: fb_magma_knf + name: fb_magma_knf + short-name: fb_magma_knf + description: KNF with KDU using a helm-chart for Facebook magma orc8r + vendor: ATOS + version: '1.0' + mgmt-interface: + cp: mgmt + connection-point: + - name: mgmt + k8s-cluster: + nets: + - id: mgmtnet + external-connection-point-ref: mgmt + kdu: + - name: orc8r + helm-chart: magma/orc8r \ No newline at end of file diff --git a/magma/fb_magma_ns/fb_magma_nsd.yaml b/magma/fb_magma_ns/fb_magma_nsd.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b8d3081ba1610a1a5dc3b0d86556034d384ee1ae --- /dev/null +++ b/magma/fb_magma_ns/fb_magma_nsd.yaml @@ -0,0 +1,24 @@ +nsd-catalog: + nsd: + - id: fb_magma_ns + name: fb_magma_ns + short-name: fb_magma_ns + description: NS consisting of a KNF fb_magma_knf connected to mgmt network + vendor: ATOS + version: '1.0' + constituent-vnfd: + - member-vnf-index: orc8r + vnfd-id-ref: fb_magma_knf + connection-point: + - name: nsd_cp_mgmt + vld-id-ref: mgmtnet + vld: + - id: mgmtnet + name: mgmtnet + type: ELAN + mgmt-network: true + vnfd-connection-point-ref: + - member-vnf-index-ref: orc8r + vnfd-id-ref: fb_magma_knf + vnfd-connection-point-ref: mgmt + diff --git a/magma/hackfest_gateway_pnf/charms/.DS_Store b/magma/hackfest_gateway_pnf/charms/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..9a733bc2bb969d4c2f197caeb8fe16a6d90a128d Binary files /dev/null and b/magma/hackfest_gateway_pnf/charms/.DS_Store differ diff --git a/magma/hackfest_gateway_pnf/charms/vyos-config b/magma/hackfest_gateway_pnf/charms/vyos-config new file mode 160000 index 0000000000000000000000000000000000000000..6785ab97fda26956af0891589ee0e3e3f45c53cc --- /dev/null +++ b/magma/hackfest_gateway_pnf/charms/vyos-config @@ -0,0 +1 @@ +Subproject commit 6785ab97fda26956af0891589ee0e3e3f45c53cc diff --git a/hackfest_gateway_pnf/hackfest_gateway_vnf.yaml b/magma/hackfest_gateway_pnf/hackfest_gateway_vnf.yaml similarity index 92% rename from hackfest_gateway_pnf/hackfest_gateway_vnf.yaml rename to magma/hackfest_gateway_pnf/hackfest_gateway_vnf.yaml index d4285a68c4df95af3c28984f8a36df6c81d7a389..7469abae4abdfc6ade4c2965f17e7756df2d476a 100644 --- a/hackfest_gateway_pnf/hackfest_gateway_vnf.yaml +++ b/magma/hackfest_gateway_pnf/hackfest_gateway_vnf.yaml @@ -31,9 +31,9 @@ vnfd:vnfd-catalog: config-primitive: - name: configure-remote parameter: - - name: filename + - name: magmaIP data-type: STRING - default-value: '/home/osm/touched' + default-value: '0.0.0.0' juju: charm: vyos-config version: '1.0' diff --git a/hackfest_magma-agw-enb_nsd/README b/magma/hackfest_magma-agw-enb_nsd/README similarity index 100% rename from hackfest_magma-agw-enb_nsd/README rename to magma/hackfest_magma-agw-enb_nsd/README diff --git a/magma/hackfest_magma-agw-enb_nsd/magma-agw-enb_nsd.yaml b/magma/hackfest_magma-agw-enb_nsd/magma-agw-enb_nsd.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2304c9817918eee9d3913dd8864d5edea5d1c986 --- /dev/null +++ b/magma/hackfest_magma-agw-enb_nsd/magma-agw-enb_nsd.yaml @@ -0,0 +1,47 @@ +nsd:nsd-catalog: + nsd: + - id: magma-agw-enb_nsd + name: magma-agw-enb_nsd + short-name: magma-agw-enb_nsd + description: Magma AGW 1.0.0 with tools & srsLTE connected to PNF Gateway + vendor: Whitestack + version: '1.0' + constituent-vnfd: + - member-vnf-index: '1' + vnfd-id-ref: magma-agw-enb_vnfd + - member-vnf-index: '2' + vnfd-id-ref: hackfest_vyos_pnf + connection-point: + - name: nsd_cp_mgmt + vld-id-ref: mgmt + - name: nsd_cp_sgi + vld-id-ref: sgi + vld: + - id: mgmt + name: mgmt + short-name: mgmt + type: ELAN + mgmt-network: true + vim-network-name: osm-ext + vnfd-connection-point-ref: + - member-vnf-index-ref: '1' + vnfd-id-ref: magma-agw-enb_vnfd + vnfd-connection-point-ref: agw-mgmt + - member-vnf-index-ref: '1' + vnfd-id-ref: magma-agw-enb_vnfd + vnfd-connection-point-ref: srsLTE-mgmt + - member-vnf-index-ref: '2' + vnfd-id-ref: hackfest_vyos_pnf + vnfd-connection-point-ref: gateway_public + - id: sgi + name: sgi + short-name: sgi + type: ELAN + vim-network-name: sgi + vnfd-connection-point-ref: + - member-vnf-index-ref: '1' + vnfd-id-ref: magma-agw-enb_vnfd + vnfd-connection-point-ref: agw-sgi + - member-vnf-index-ref: '2' + vnfd-id-ref: hackfest_vyos_pnf + vnfd-connection-point-ref: gateway_public \ No newline at end of file diff --git a/hackfest_magma-agw-enb_vnfd/charms/magmagw b/magma/hackfest_magma-agw-enb_vnfd/charms/magmagw similarity index 100% rename from hackfest_magma-agw-enb_vnfd/charms/magmagw rename to magma/hackfest_magma-agw-enb_vnfd/charms/magmagw diff --git a/magma/hackfest_magma-agw-enb_vnfd/cloud_init/magmaagw_init b/magma/hackfest_magma-agw-enb_vnfd/cloud_init/magmaagw_init new file mode 100644 index 0000000000000000000000000000000000000000..134776f9be70a436c44e0df7cc7ce25100d1e4ac --- /dev/null +++ b/magma/hackfest_magma-agw-enb_vnfd/cloud_init/magmaagw_init @@ -0,0 +1,9 @@ +#cloud-config +runcmd: + - route delete -net 0.0.0.0/0 gw 172.21.251.254 + - 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 0.0.0.0/0 gw 192.168.239.7 diff --git a/magma/hackfest_magma-agw-enb_vnfd/cloud_init/srslte_init b/magma/hackfest_magma-agw-enb_vnfd/cloud_init/srslte_init new file mode 100644 index 0000000000000000000000000000000000000000..53aea465b2cdbb4a5ec15a660f53aafa98e387be --- /dev/null +++ b/magma/hackfest_magma-agw-enb_vnfd/cloud_init/srslte_init @@ -0,0 +1,8 @@ +#cloud-config +runcmd: + - route delete -net 0.0.0.0/0 gw 172.21.251.254 + - 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 \ No newline at end of file diff --git a/hackfest_magma-agw-enb_vnfd/hackfest_magma-agw-enb_vnfd.yaml b/magma/hackfest_magma-agw-enb_vnfd/magma-agw-enb_vnfd.yaml similarity index 84% rename from hackfest_magma-agw-enb_vnfd/hackfest_magma-agw-enb_vnfd.yaml rename to magma/hackfest_magma-agw-enb_vnfd/magma-agw-enb_vnfd.yaml index d9cace05165ee59018827fcc5b32aee4c71f212c..33e7076591dc3017c2df6a6a67df501593bcfaf9 100644 --- a/hackfest_magma-agw-enb_vnfd/hackfest_magma-agw-enb_vnfd.yaml +++ b/magma/hackfest_magma-agw-enb_vnfd/magma-agw-enb_vnfd.yaml @@ -1,8 +1,8 @@ vnfd:vnfd-catalog: vnfd: - - id: hackfest_magma-agw-enb_vnfd - name: hackfest_magma-agw-enb_vnfd - short-name: hackfest_magma-agw-enb_vnfd + - id: magma-agw-enb_vnfd + name: magma-agw-enb_vnfd + short-name: magma-agw-enb_vnfd description: Magma AGW v1.0.0 with tools & srsLTE VDU vendor: Whitestack version: '1.0' @@ -13,14 +13,15 @@ vnfd:vnfd-catalog: name: magma-agw-vdu description: magma-agw-vdu count: 1 + cloud-init-file: magmaagw_init vm-flavor: vcpu-count: 2 memory-mb: 4096 storage-gb: 50 guest-epa: cpu-pinning-policy: DEDICATED - mempage-size: LARGE - image: 'magma101e' + mempage-size: LARGE + image: 'magma101_hf9' interface: - name: eth0 type: EXTERNAL @@ -39,12 +40,12 @@ vnfd:vnfd-catalog: position: '2' virtual-interface: type: PARAVIRT - external-connection-point-ref: agw-sgi + external-connection-point-ref: agw-sgi internal-connection-point: - id: agw-s1 name: agw-s1 - short-name: agw-s1 - port-security-enabled: 'false' + short-name: agw-s1 + port-security-enabled: 'false' monitoring-param: - id: agw_cpu_util nfvi-metric: cpu_utilization @@ -58,11 +59,12 @@ vnfd:vnfd-catalog: name: srsLTE-vdu description: srsLTE-vdu count: 1 + cloud-init-file: srslte_init vm-flavor: vcpu-count: 2 memory-mb: 8192 - storage-gb: 100 - image: 'srsLTEfauxRFc' + storage-gb: 100 + image: 'srsLTEfauxRF_hf9' interface: - name: eth0 type: EXTERNAL @@ -77,7 +79,7 @@ vnfd:vnfd-catalog: internal-connection-point: - id: srsLTE-s1 name: srsLTE-s1 - short-name: srsLTE-s1 + short-name: srsLTE-s1 internal-vld: - id: internalS1 name: internalS1 @@ -96,7 +98,7 @@ vnfd:vnfd-catalog: ip-version: ipv4 subnet-address: 192.168.100.0/24 dhcp-params: - enabled: true + enabled: true connection-point: - name: agw-mgmt - name: agw-sgi @@ -121,9 +123,9 @@ vnfd:vnfd-catalog: name: add-net parameter: - name: orch_ip - value: + value: - name: orch_net - value: + value: - seq: '4' name: add-gw parameter: @@ -132,16 +134,16 @@ vnfd:vnfd-catalog: - name: agw_name value: - name: orch_ip - value: + value: - name: orch_net - value: + value: - seq: '5' name: add-hosts parameter: - name: orch_ip value: - seq: '6' - name: restart-magma + name: restart-magma config-primitive: - name: add-gw parameter: @@ -150,7 +152,7 @@ vnfd:vnfd-catalog: - name: agw_name default-value: - name: orch_ip - default-value: + default-value: - name: orch_net default-value: - name: del-gw @@ -158,7 +160,7 @@ vnfd:vnfd-catalog: - name: agw_id default-value: - name: orch_ip - default-value: + default-value: - name: orch_net default-value: - name: reset-id @@ -189,4 +191,4 @@ vnfd:vnfd-catalog: aggregation-type: AVERAGE vdu-monitoring-param: vdu-ref: magma-agw-vdu - vdu-monitoring-param-ref: agw_packets_sent + vdu-monitoring-param-ref: agw_packets_sent diff --git a/magma/magma_slice.yaml b/magma/magma_slice.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5f137da572f7f2d7f4bc283778452b5fb700a755 --- /dev/null +++ b/magma/magma_slice.yaml @@ -0,0 +1,49 @@ +# Copyright [2020] [Felipe Vicens] +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +#NST to test VLD connection between Network Services within the same VIM +nst: +- id: magma_slice_hackfest_nst + name: magma_slice_hackfest_nst + SNSSAI-identifier: + slice-service-type: eMBB + quality-of-service: + id: 1 + + netslice-subnet: + - id: slice_hackfest_nsd_1 + is-shared-nss: false + description: NetSlice Subnet (service) with magma agw + nsd-ref: magma-agw-enb_nsd + - id: slice_hackfest_nsd_2 + is-shared-nss: true + description: NetSlice Subnet (service) with magma orch and nms + nsd-ref: fb_magma_ns + + netslice-vld: + - id: slice_vld_mgmt + name: slice_vld_mgmt + type: ELAN + mgmt-network: true + nss-connection-point-ref: + - nss-ref: slice_hackfest_nsd_1 + nsd-connection-point-ref: nsd_cp_mgmt + - nss-ref: slice_hackfest_nsd_2 + nsd-connection-point-ref: nsd_cp_mgmt + - id: slice_vld_data1 + name: slice_vld_data1 + type: ELAN + nss-connection-point-ref: + - nss-ref: slice_hackfest_nsd_1 + nsd-connection-point-ref: nsd_cp_sgi \ No newline at end of file diff --git a/magma/params.yaml b/magma/params.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5cfed9c340b09ed6bd9f1fa56c92645b73808e80 --- /dev/null +++ b/magma/params.yaml @@ -0,0 +1,21 @@ +netslice-subnet: +- id: slice_hackfest_nsd_1 + additionalParamsForVnf: + - member-vnf-index: '1' + additionalParams: + agw_id: 'agw_26' + agw_name: 'AGW26' + orch_ip: '172.21.250.110' ## change this to the MetalLB IP address of your orc8r_proxy service. + orch_net: 'osmnet' +- id: slice_hackfest_nsd_2 + additionalParamsForVnf: + - member-vnf-index: 'orc8r' + additionalParamsForKdu: + - kdu_name: orc8r + additionalParams: + proxyserviceloadBalancerIP: '172.21.250.110' # MetalLB IP Address +netslice-vld: +- name: slice_vld_mgmt + vim-network-name: "osm-ext" +- name: slice_vld_data1 + vim-network-name: "sgi" \ No newline at end of file diff --git a/magma/pdu.yaml b/magma/pdu.yaml new file mode 100644 index 0000000000000000000000000000000000000000..fa01f2d9adbd32c14b743cc6ef69bd1ad395546c --- /dev/null +++ b/magma/pdu.yaml @@ -0,0 +1,13 @@ +name: router01 +description: router +type: gateway +vim_accounts: [ fb99f5c5-f6b2-4a39-9a30-42012aa3f2c8 ] +shared: false +interfaces: + - name: eth0 + ip-address: 172.21.250.200 + vim-network-name: osm-ext + mgmt: true + - name: eth1 + ip-address: 192.168.239.7 + mgmt: false