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

install script to support "optional components"

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Done
    • Icon: High High
    • E
    • None
    • ric-dep
    • install script to support "optional components"

      I actually would wish for influxDB (and NFS) to be optional parts of the RIC platform. Right now it is just added into ric-dep’s

       

       bin/install

       

      COMPONENTS=${LIST_OF_COMPONENTS:-"infrastructure dbaas xapp-onboarder appmgr rtmgr e2mgr e2term a1mediator submgr vespamgr jaegeradapter o1mediator alarmmanager influxdb"}

       

      I think a better solution is to add influxdb as extra parameter, in addition to the existing -f, -c and -o. In the install script I would also encourage a check that the storage class exists in the underlying k8s platform.

       

      A new parameter:

                        

         -C LIST_OF_ADDITIONAL_COMPONENTS

       

      This is added to the default list. I.e., for installation you’d invoke

       

         bin/install -f <recipe>   ####without influx

       

         bin/install -f <recipe> -C influxdb  ### with influx

       

      which is simpler than having to modify the long list

       

         bin/install -f <recipe> -c "infrastructure dbaas xapp-onboarder appmgr rtmgr e2mgr e2term a1mediator submgr vespamgr jaegeradapter o1mediator alarmmanager influxdb"

       

      I wouldn’t even mind a special parameter “-o” with the semantics of installing “additional optional components”

       

      The other optional component would be “jaegeradapter” which we can make optional at the same time.

       

      In terms of printing we could even have the install script print this:

       

      Deploying RIC infra components [infrastructure dbaas xapp-onboarder appmgr rtmgr e2mgr e2term a1mediator submgr vespamgr o1mediator alarmmanager]

      Note that the following optional components are NOT being deployed: influxdb, jaegeradapter. To deploy them add them with -C to the default component list of the install command.

       

      Note that bin/uninstall needs to eb modified as well.

       

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

            deepanshuk Deepanshu Karnwal
            czichy Thoralf Czichy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: