VOL-5160 - Repo triage build for release branching.

Makefile
makefiles
---------
  o Copy in library makefiles from repo:onf-make.
  o Selectively enable constants and library logic.
  o Cleanup and refactoring effort is needed to enable bulk docker and lint
    targets but that effort is deferred to a separate jira ticket.

VERSION
-------
  o Change *-dev branch to a release version to exercise all pipeline
    job steps (including task publish if any).

build/package/Dockerfile
cmd/bbsim-sadis-server.go
deployments/bbsim-sadis-server.yaml
internal/core/common.go
internal/core/sadis_if.go
internal/core/server.go
internal/core/store.go
internal/core/store_test.go
internal/core/watcher.go
internal/utils/config.go
internal/utils/utils.go
-----------------------
  o Update copyright notice.

Change-Id: I86c89354cb62eda41971bc2c00603d1894977d5c
118 files changed
tree: 0ab94e2e680f1622944622dae6e729150e80911d
  1. .gitignore
  2. .gitreview
  3. Makefile
  4. README.md
  5. VERSION
  6. build/
  7. cmd/
  8. config.mk
  9. deployments/
  10. go.mod
  11. go.sum
  12. internal/
  13. makefiles/
  14. vendor/
README.md

BBSim Sadis Server

This project is designed to aggregate Sadis entries from multiple BBSim instances running on the same kubernetes cluster.

This tool assumes that:

  • The sadis service is exposed on the default port 50074
  • BBSim(s) are deployed with the default label app=bbsim

This component is part of the the VOLTHA project, more informations at: https://docs.voltha.org

Deploy

helm repo add onf https://charts.opencord.org
helm install bbsim-sadis-server onf/bbsim-sadis-server

Configure ONOS to use bbsim-sadis-server

Assuming that bbsim-sadis-server was installed in the default namespace, you can use this configuration to point ONOS to it:

{
  "sadis" : {
    "integration" : {
      "url" : "http://bbsim-sadis-server.default.svc:58080/subscribers/%s",
      "cache" : {
        "enabled" : true,
        "maxsize" : 50,
        "ttl" : "PT1m"
      }
    }
  },
  "bandwidthprofile" : {
    "integration" : {
      "url" : "http://bbsim-sadis-server.default.svc:58080/profiles/%s",
      "cache" : {
        "enabled" : true,
        "maxsize" : 50,
        "ttl" : "PT1m"
      }
    }
  }
}

For more inforation about the sadis application you can refer to: https://github.com/opencord/sadis