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

Nemesis (spam-protected)
Thu Nov 20 12:20:33 CET 2014


On 11/19/2014 12:35 PM, Clauz wrote:
> On 11/19/2014 12:23 PM, Nemesis wrote:
>> *DHCP* very simple
>> proposal:https://github.com/interop-dev/network-device-schema/commit/30a5018b061b529c8833be20542adf7b179b6f7b
>>
>> How to improve it?
> Hi, there.
> Perhaps something like:
>
> "ip": [ {"version":"4", "proto": "dhcp"}]
>
> would be better?

One question:

can an interface have multiple ip addresses in which some of them are
static and some are dynamic?

If yes clauz's proposal is the only way to go.

Otherwise it would be better to move the "proto" section before "ip",
and in case "proto" is "dhcp" the "ip" section can be omitted altogether.

Federico




More information about the Interop-dev mailing list