[Xorp-cvs] XORP cvs commit: xorp/etc/templates xorp/rip xorp/xrl/interfaces xorp/xrl/targets

Pavlin Radoslavov pavlin@icir.org
Thu, 9 Feb 2006 09:20:45 GMT


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin@xorpc.icir.org	2006-02-09 09:20:45 UTC

XORP CVS repository


Modified files:
	etc/templates rip.tp 
	rip           xrl_target_rip.cc xrl_target_rip.hh 
	xrl/interfaces rip.xif rip_xif.cc rip_xif.hh 
	xrl/targets   rip.xrls rip_base.cc rip_base.hh 

Log message:
	* Clean-up the front-end of the RIP authentication mechanism.
	  Previously the configuration setup was:
	
	  authentication {
	      type: "plaintext"
	      password: "FOO"
	  }
	
	  or
	
	  authentication {
	      type: "md5"
	      password: "FOO"
	  }
	
	  or
	
	  authentication {
	      type: "md5"
	      md5 1 {             /* KeyID: [0, 255] */
	          password: "FOO"
	          start-time: "YYYY-MM-DD.HH:MM"
	          end-time: "YYYY-MM-DD.HH:MM"
	      }
	  }
	
	  The new configuration setup is:
	
	  authentication {
	      simple-password: "FOO"
	  }
	
	  or
	
	  authentication {
	      md5 1 {             /* KeyID: [0, 255] */
	          password: "FOO"
	          start-time: "YYYY-MM-DD.HH:MM"
	          end-time: "YYYY-MM-DD.HH:MM"
	      }
	  }
	
	  Note that "simple-password" and "md5" statements are mutually
	  exclusive, though currently the xorpsh/rtrmgr cannot enforce that
	  the configuration doesn't contain both.
	  If both are configured, then it is not deterministic whether RIP
	  is configured with simple-password or MD5.
	
	* Rename the "set_authentication" XRL to "set_simple_authentication_key"
	  and use it only for simple password setup.
	
	* Add new "delete_simple_authentication_key" XRL.
	
	* Remove the "authentication", because it is not really useful on its own.
	
	* Rename the "set_md5_authentication" and "delete_md5_authentication"
	  XRLs to "set_md5_authentication_key" and "delete_md5_authentication_key"
	  respectively.

Revision  Changes                                 Path
1.33      +19 -15;  commitid: 23be43eb05d77ea6;   xorp/etc/templates/rip.tp
1.26      +124 -91;  commitid: 23be43eb05d77ea6;  xorp/rip/xrl_target_rip.cc
1.19      +14 -15;  commitid: 23be43eb05d77ea6;   xorp/rip/xrl_target_rip.hh
1.16      +18 -12;  commitid: 23be43eb05d77ea6;   xorp/xrl/interfaces/rip.xif
1.11      +34 -46;  commitid: 23be43eb05d77ea6;   xorp/xrl/interfaces/rip_xif.cc
1.8       +39 -26;  commitid: 23be43eb05d77ea6;   xorp/xrl/interfaces/rip_xif.hh
1.22      +23 -9;  commitid: 23be43eb05d77ea6;    xorp/xrl/targets/rip.xrls
1.22      +38 -56;  commitid: 23be43eb05d77ea6;   xorp/xrl/targets/rip_base.cc
1.23      +28 -18;  commitid: 23be43eb05d77ea6;   xorp/xrl/targets/rip_base.hh