Add RIB list display
Change-Id: I13a7fa26022e48bbc7f3e3720c1db19abe79d0b5
diff --git a/src/main.qml b/src/main.qml
index b9dc890..0fcfcfb 100644
--- a/src/main.qml
+++ b/src/main.qml
@@ -154,6 +154,52 @@
}
}
Tab {
+ title: "RIB"
+ TableView {
+ anchors.fill: parent
+ anchors.topMargin: 20
+ anchors.bottomMargin: 20
+ anchors.leftMargin: 20
+ anchors.rightMargin: 20
+ model: ribModel
+ TableViewColumn{
+ role: "prefix"
+ title: "NDN prefix"
+ width: 200
+ }
+ TableViewColumn{
+ role: "faceId"
+ title: "Face ID"
+ width: 65
+ }
+ TableViewColumn{
+ role: "origin"
+ title: "Origin"
+ width: 50
+ }
+ TableViewColumn{
+ role: "cost"
+ title: "Cost"
+ width: 50
+ }
+ TableViewColumn{
+ role: "childinherit"
+ title: "ChildInherit"
+ width: 90
+ }
+ TableViewColumn{
+ role: "ribcapture"
+ title: "RibCapture"
+ width: 90
+ }
+ TableViewColumn{
+ role: "expiresin"
+ title: "Expires in"
+ width: 90
+ }
+ }
+ }
+ Tab {
title: "Auto-config status"
TextArea {
id: ndnAutoConfigTextId