Add FIB list display
Change-Id: I175d17e095381f7bca1840da44e15ce9591fa675
diff --git a/src/main.qml b/src/main.qml
index eaa3b3a..b9dc890 100644
--- a/src/main.qml
+++ b/src/main.qml
@@ -106,32 +106,6 @@
}
}
}
- // Tab {
- // title: "FIB status"
- // TableView {
- // anchors.fill: parent
- // anchors.topMargin: 20
- // anchors.bottomMargin: 20
- // anchors.leftMargin: 20
- // anchors.rightMargin: 20
- // TableViewColumn{
- // role: "prefix"
- // title: "NDN prefix"
- // width: 300
- // }
- // TableViewColumn{
- // role: "faceId"
- // title: "Face ID"
- // width: 50
- // }
- // TableViewColumn{
- // role: "cost"
- // title: "Cost"
- // width: 50
- // }
- // model: fibModel
- // }
- // }
Tab {
title: "Forwarder status"
TableView {
@@ -154,6 +128,32 @@
}
}
Tab {
+ title: "FIB"
+ TableView {
+ anchors.fill: parent
+ anchors.topMargin: 20
+ anchors.bottomMargin: 20
+ anchors.leftMargin: 20
+ anchors.rightMargin: 20
+ model: fibModel
+ TableViewColumn{
+ role: "prefix"
+ title: "NDN prefix"
+ width: 300
+ }
+ TableViewColumn{
+ role: "faceId"
+ title: "Face ID"
+ width: 100
+ }
+ TableViewColumn{
+ role: "cost"
+ title: "Cost"
+ width: 100
+ }
+ }
+ }
+ Tab {
title: "Auto-config status"
TextArea {
id: ndnAutoConfigTextId