Uploaded image for project: 'Near Realtime RAN Intelligent Controller'
  1. Near Realtime RAN Intelligent Controller
  2. RIC-653

A1 mediator is sending POLICY_CREATE instead of POLICY_UPDATE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • E, F
    • Cherry-R5
    • a1

      A1 mediator is sending POLICY_CREATE instead of POLICY_UPDATE

      Docker Image:
      nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-a1:2.1.9

      Logs attached:
      Pod Logs in a1med_pod.log
      Commands in a1med_commands.log

      Steps:
      1. Created policy id - 1006001
      2. Created two instances of policy 1006001, named - "qos" and "qos2"
      3. Update "qos2" using below PUT method in CURL command:
      {{curl -X PUT --header "Content-Type: application/json" --data '

      {"UeGroupId" : 2, "Qci": 8, "Arp": 15, "TargetTP": 900000}

      ' http://10.104.238.102:10000/a1-p/policytypes/1006001/policies/qos2}}
      4. Corresponding pod log show that CREATE operation was performed.
      {"ts": 1602142845986, "crit": "DEBUG", "id": "a1.a1rmr", "mdc": {}, "msg": "_send_msg: sending: {'payload': b'{\"operation\": \"CREATE\", \"policy_type_id\": 1006001, \"policy_instance_id\": \"qos2\", \"payload\": {\"UeGroupId\": 2, \"Qci\": 8, \"Arp\": 15, \"TargetTP\": 900000', 'payload length': 150, 'message type': 20010, 'subscription id': 1006001, 'transaction id': b'93a60758093911ebb4d7aeb5b5229ae0', 'message state': 0, 'message status': 'RMR_OK', 'payload max size': 4096, 'meid': b'', 'message source': 'service-ricplt-a1mediator-rmr.ricplt:4562', 'errno': 0}"}
      }}
      5. This also translates to CREATE method towards xAPPs that have subscribed for those policies.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            righteousneighbor Dana Baker
            anpuhakk Antti Puhakka
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: