Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Show metric, area and network type in quagga interfaces page [patch]

    Scheduled Pinned Locked Moved webGUI
    2 Posts 2 Posters 1.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Soyokaze
      last edited by

      Fed up messing with xml by hand, made a patch.

      If $subj isn't descriptive - this patch adds columns "Metric", "Area" and "Network type" to Quagga's interfaces page.

      Hope it will be added to package.

      Tested on 2.3.2, -p1; Quagga_OSPF v0.6.15 package.

      --- /usr/local/pkg/quagga_ospfd_interfaces.xml.orig	2016-12-07 22:24:00.128301000 +0000
      +++ /usr/local/pkg/quagga_ospfd_interfaces.xml	2016-12-07 22:37:59.934817000 +0000
      @@ -80,7 +80,19 @@
       			<fielddescr>Description</fielddescr>
       			<fieldname>descr</fieldname>
      
      -	
      +		 <columnitem>+			<fielddescr>Metric</fielddescr>
      +			<fieldname>metric</fieldname>
      +</columnitem> 
      +		 <columnitem>+			<fielddescr>Area</fielddescr>
      +			<fieldname>interfacearea</fieldname>
      +</columnitem> 
      +		 <columnitem>+			<fielddescr>Network Type</fielddescr>
      +			<fieldname>networktype</fieldname>
      +</columnitem> 
      + 	
       	 <service><name>Quagga OSPFd</name>
       		<rcfile>quagga.sh</rcfile></service>
      ```![qugga-int-patch.PNG](/public/_imported_attachments_/1/qugga-int-patch.PNG)
      ![qugga-int-patch.PNG_thumb](/public/_imported_attachments_/1/qugga-int-patch.PNG_thumb)

      Need full pfSense in a cloud? PM for details!

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        @pan_2:

        Hope it will be added to package.

        This is a wrong place to submit patches you want included. Need to go to GitHub as pull request:

        https://github.com/pfsense/FreeBSD-ports/tree/devel/net/pfSense-pkg-Quagga_OSPF
        https://www.pfsense.org/about-pfsense/#cla

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.