nanog mailing list archives

Re: MACsec SFP


From: Saku Ytti <saku () ytti fi>
Date: Mon, 30 Jun 2014 11:54:21 +0300

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
addresses etc.
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.

-- 
  ++ytti


Current thread: