kytos-ng / ui

Kytos Admin UI
MIT License
0 stars 3 forks source link

UI is no longer working with mef_eline #1

Closed ajoaoff closed 2 years ago

ajoaoff commented 3 years ago

Original issue opened by @italovalcy at https://github.com/kytos/ui/issues/64.

Due to some updates on the mef_eline API (which should have increased the version of the API, but it didnt), the UI is no longer working to create EVCs.

Steps to reproduce:

  1. Install Kytos and mef_eline (+dependencies)
  2. Start Kytos with: kytosd -E
  3. Create a topology on mininet, such as: mn --topo liner,3 --controller=remote
  4. Go to the Kytos UI and click to create a new EVC, with the following parameters:
    • UNI A: 00:00:00:00:00:00:00:01:1
    • UNI B: 00:00:00:00:00:00:00:03:1
    • tag type: 1
    • tag value: 100

Expected: the circuit should be created

Actual behavior: Bad request (only seen if you enable developer mode)

Point of attention:

  1. Fix the parameters (tag_type / value changed the names) and include the missing ones (dynamic_backup_path - see https://github.com/kytos/mef_eline/issues/198)
  2. If the request is returning an error, the UI should raise an alert to say that some went wrong
rmotitsuki commented 2 years ago

@italovalcy It seems this bug is gone with the latest PRs. Can you check it?

rmotitsuki commented 2 years ago

Issue is gone in UI version 2022.1.0