Hi Guys,
I believe we can cast vote on these options based on feedback:
Option A:
https://gist.github.com/cathay4t/70b69bda1de0f60ec533bf98fdc04f95
Notes:
* The basic layout: info['routes'][0] = <ipv4_or_ipv6_route>
* Each route entry will have 'family' property.
* The route protocol has changed to 'origin' to indicate where
this route is from: 'static', 'dhcp', 'ipv6-ra'.
* To delete certain entry, mark entry as 'status: absent'.
Option B:
https://gist.github.com/cathay4t/491b7420bf79af6b4630671e2b7528c1
Notes:
* The basic layout:
info['routes']['ipv4'][0] = <ipv4_route>
info['routes']['ipv6'][0] = <ipv6_route>
* The ipv4_route and ipv6_route schema could enforce their own
syntax of 'destination' address.
* The IPv4 route protocol changed to 'origin' holding
'static' or 'dhcp'.
* The IPv6 route protocol changed to 'origin' holding
'static' or 'router-advertisement'.
* To delete certain entry, mark entry as 'status: absent'.
Option C:
We need another schema.
Let me know you vote.
Thank you.
Best regards.
--
Gris Ge
Attachment:
signature.asc
Description: PGP signature