This directory contains sample data to create Progran related models.
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>