STORDIS / orca_ui

ORCA UI is a web application that provides a user interface for interacting with ORCA Backend. It is built using React. ORCA UI allows users to view the network topology, manage devices, and do various configurations.
https://stordis.github.io/
Apache License 2.0
3 stars 4 forks source link

Separate columns for trunk and access vlans in Portchannel #151

Closed vivek-metricdust closed 2 months ago

vivek-metricdust commented 3 months ago

UI Need to adapt changes from #48 i.e. No separate column for trunk and access vlans instead one column named "interface mode" another "vlan"

kamalkrbh commented 3 months ago

@vivek-metricdust , PRs of related issue https://github.com/STORDIS/orca_nw_lib/issues/48 are merged in main.

kamalkrbh commented 2 months ago

@vivek-metricdust , When choosing vlan in trunk mode, as soon as user select a vlan it should not appear again in drop down. and as soon as user removes them from drop down they can reappear in dropdown for selection.

As soon as user changes the mode from Trunk to Access , already configured list of vlans for trunk mode should be cleared (only on UI) and should be available in dropdown for user to configure the access mode, also should be checked that in access mode no more than one vlan can be selected. Similarly when user switches from Access mode to Trunk list of already selected Vlans should be cleared (only on UI) and should be again available in drop down for selection for Trunk configuration.

Also, Instead of just showing the json it would be better to show in more user friendly text like - Trunk-Vlan1, Vlan2 or Access - Vlan1

vivek-metricdust commented 2 months ago

@vivek-metricdust , When choosing vlan in trunk mode, as soon as user select a vlan it should not appear again in drop down. and as soon as user removes them from drop down they can reappear in dropdown for selection.

As soon as user changes the mode from Trunk to Access , already configured list of vlans for trunk mode should be cleared (only on UI) and should be available in dropdown for user to configure the access mode, also should be checked that in access mode no more than one vlan can be selected. Similarly when user switches from Access mode to Trunk list of already selected Vlans should be cleared (only on UI) and should be again available in drop down for selection for Trunk configuration.

Also, Instead of just showing the json it would be better to show in more user friendly text like - Trunk-Vlan1, Vlan2 or Access - Vlan1

all the changes mentioned bellow are fixed in and PR is updated