saku at ytti.fi
Mon Jun 30 08:54:21 UTC 2014
On (2014-06-30 17:21 +0930), Glen Turner wrote:
> What you really want isn’t DHCP-like, but simple AND-mask OR-set register handling. You’d provide your customers with the magic numbers.
> interface …
> gbic-register [if REGISTER AND-MASK VALUE]… [set REGISTER AND-MASK OR-VALUE]…
> gbic-register …
> Assuming that the GBIC programming doesn’t change PHY requirements you are done.
It could be lot more user-friendly with syntactic sugar for strings, ip
So you'd know you'll push crypto key string to register N1 and crypto integer
(implying which algo to use) in regisrter N2, so you'd get something like.
gbic-register N1 string "supahsecret"
dgib-register N2 int 4
Far more user-friendly.
More information about the NANOG