Auto-connections for graphpath

I found a nice little script that prints an ASCII network diagram of your routing table. I had to snap it :slight_smile:

The snap uses ip to get the information it needs, and I think network-observe sounds like a good one to grant for that. It’s not that user friendly to ask the user to connect these interfaces after install time so I ask if network-observe could be auto connected for the snap graphpath?

$ graphpath 10.194.34.141 10.90.0.216
+----------------------------+
| SOURCE                     |
| IP:   10.194.34.141        |
| ARP:  9c:67:b1:0b:fd:6b    |
+----------------------------+
              |
+----------------------------+
| IF:   lxdbr0               |
| MAC:  ea:0e:96:0e:11:74    |
| IP:   10.194.34.1          |
| net:  10.194.34.0/24       |
|                            |
|         THIS ROUTER        |
|                            |
| net:  default              |
| IP:   192.168.1.167        |
| MAC:  97:12:14:4e:36:41    |
| IF:   eno1                 |
+----------------------------+
              |
+----------------------------+
| ROUTER                     |
| IP:   192.168.1.1          |
| ARP:  34:c3:7f:53:4d:95    |
+----------------------------+
              |
+----------------------------+
| DESTINATION                |
| IP:   10.90.0.216          |
+----------------------------+

+1 to auto-connect. It is completely unsurprising that the snap would require it.

There are not enough votes to tally.

@mvo, @kyrofa, @ratliff, @roadmr - can one/all of you cast a vote?

Agreed, the purpose of the program is to use the information covered by the interface. +1 to autoconnect.

2 votes for, 0 against. Granting auto-connection. This is now live.