Skip to content

(CTTC) Incorrect endpoint lookup in NBI ETSI BWM plugin

Reporters

  • Shayan Hajipour (CTTC)
  • Lluis Gifre (CTTC)

Description

ETSI BWM NBI plugin only works with emulated devices. Correct selection of endpoints based on sessionFilter[0]['sourceIp']and sessionFilter[0]['dstAddress'].

Deployment environment

  • Operating System (include version): all
  • MicroK8s (include version and add-ons): all
  • TeraFlowSDN (include release/branch-name/commit-id): develop

TFS deployment settings

  • list of components deployed: when NBI is included

Sequence of actions that resulted in the bug

  • Deploy TeraFlow, onboard a topology with real devices, send an ETSI BMW request.

Document the explicit error

See description

Expected behaviour

The endpoints should be extracted in 2 steps.

  • first, iterate config rules and identify those for interfaces/subinterfaces, and extrapolate the interface name
  • second, iterate device endpoints and extract the device_uuid and endpoint_uuid for that endpoint matching the interface name (add "PORT-" prefix).

References

None