tree: 611d5e2b334edf86e0df77f569a62c23a7b7339e [path history] [tgz]
  1. README.md
  2. docker-compose.yml
  3. enodeb.json
  4. handover.json
  5. imsi.json
  6. imsi_to_profile.json
  7. profile.json
  8. progran-curl.sh
samples/README.md

Samples

This directory contains sample data to create Progran related models.

Example setup

Create an IMSI:

bash progran-curl.sh mcord/mcordsubscriberinstances imsi.json

Create an enodeb:

bash progran-curl.sh progran/enodebs enodeb.json

Create an handover:

bash progran-curl.sh progran/handovers handover.json

Create a Profile: note that you'll need to replace enodeb_id and handover_id with existing values

bash progran-curl.sh progran/progranserviceinstances profile.json

Attach an IMSI to a profile: note you'll need to set the correct ids

bash progran-curl.sh core/serviceinstancelinks imsi_to_profile.json

Update a profile: make changes to profile.json first

curl -U xosadmin@opencord.org:bash -X PUT --data-binary @profile.json http://127.0.0.1:9101/xosapi/v1/progran/progranserviceinstances/<profile_id>