[Interop-dev] Continuing Round 3: added dhcp and encryption examples

Jernej Kos (spam-protected)
Fri Nov 21 08:56:10 CET 2014


Hello!

On 20. 11. 2014 17:59, Nemesis wrote:
> Could you paste a couple JSON examples please?

Ok, so I thought about this again, and I now think that for reporting
the current state, you will probably only report the currently active
addresses on an interface.

So something like this under the interface section:

"addresses": [
  {
    "family": "ipv4",
    "address": "192.168.0.17",
    "mask": 24
  },
  {
    "family": "ipv6",
    "address": "2001:db8::dead:beef:1",
    "mask": 64
  }
]

So these would be the addresses that are currently active on an
interface. I believe this is enough and I am not sure whether we should
also report things like "this address has been obtained via DHCP"
because the question then is how to reliably get this (on OpenWrt it can
probably be obtained by checking with netifd via ubus)?


Jernej

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.funkfeuer.at/pipermail/interop-dev/attachments/20141121/6c3b75d2/attachment.sig>


More information about the Interop-dev mailing list