kytos-ng / ui

Kytos Admin UI
MIT License
0 stars 3 forks source link

Added a metadata table #23

Closed Alopalao closed 2 years ago

Alopalao commented 2 years ago

Base of Issue #13 Added a metadata table Added active, enabled, lldp, nni and uni items to display. This pull request depends on changes to k-info-panel/switch_info.kytos. Especifically: From lines 18 to 19:

         <k-interface :interface_id="interface.id" :name="interface.name" :port_number="interface.port_number" :mac="interface.mac" 
                      :speed="interface.speed" :key="interface.name" v-for="interface in this.interfaces">

to Lines 18 to 20:

         <k-interface :interface_id="interface.id" :name="interface.name" :port_number="interface.port_number" :mac="interface.mac" 
                      :speed="interface.speed" :key="interface.name" :enabled="interface.enabled" :metadata="interface.metadata"
                      :active="interface.active" :lldp="interface.lldp" :nni="interface.nni" :uni="interface.uni" v-for="interface in this.interfaces">
Alopalao commented 2 years ago

-The PR on topology have been opened. -Updated changelog. -Updated version with suggested string. But my installed npm recognizes that version as an error, let me know if is a problem to change it to another version.

viniarck commented 2 years ago

-The PR on topology have been opened. -Updated changelog. -Updated version with suggested string. But my installed npm recognizes that version as an error, let me know if is a problem to change it to another version.

@Alopalao

❯ npm run build

> kytos-web-ui@2022.2.0.b0 build
> npm run prod > /dev/null && zip -r latest.zip index.html dist

updating: index.html (deflated 50%)
updating: dist/ (stored 0%)
updating: dist/build.js.LICENSE.txt (deflated 59%)
updating: dist/icon-kytos.svg (deflated 57%)
updating: dist/build.js (deflated 71%)
updating: dist/logo-kytos.svg (deflated 59%)
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index a4d04ac..2aec413 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -7,8 +7,6 @@ UNRELEASED - Under development
 ******************************
 Added
 =====
--Added active, enabled, lldp, nni and uni items to ``kytos/interfaceInfo`` to be displayed in basic details
--Added a table to ``kytos/interfaceInfo`` to be displayed interface metadata

 Changed
 =======
@@ -28,6 +26,15 @@ Security
 Changed
 =======

+[2022.2.0.b0] - 2022-04-07
+**************************
+
+Added
+=====
+-Added active, enabled, lldp, nni and uni items to ``kytos/interfaceInfo`` to be displayed in basic details
+-Added a table to ``kytos/interfaceInfo`` to be displayed interface metadata
+
+
Alopalao commented 2 years ago

Updated Changelog d33cb83dbc58182ae1470ac8cedf5159b4d56b11

Alopalao commented 2 years ago

About the version causing problems, it was because my npm and node were not updated from 6.14.4 and 10.19.0 respectively. Now it does not cause any problems.