
    ~ g	                     ,    S SK JrJr   " S S\\5      rg)    )PluginIndependentPluginc                   4    \ rS rSrSrSrSrSrSrS r	S r
Srg	)
Bird   zBIRD is an Internet Routing Daemon used in many *nix and nix-like
distributions. This plugin will capture the configuration files for a local
bird installation, as well as runtime information and metrics.
bird)network)r   c                     [        SSSS9 nU HL  nUR                  S5      (       d  M  U R                  UR                  5       S   R	                  S5      5        MN     S S S 5        U R                  S	S/5        U R                  / S
Q5        g ! , (       d  f       N5= f! [
         a  nU R                  SU 35         S nAN[S nAff = f)Nz/etc/bird.confrzutf-8)encodinglog   "zUnable to parse bird.conf: z/etc/bird/*)zbirdc show statuszbirdc show memoryzbirdc show protocols allzbirdc show interfaceszbirdc show route allzbirdc show symbolszbirdc show bfd sessionszbirdc show babel interfaceszbirdc show babel neighborszbirdc show babel entrieszbirdc show babel routeszbirdc show ospfzbirdc show ospf neighborszbirdc show ospf interfacezbirdc show ospf topologyzbirdc show ospf state allzbirdc show ospf lsadbzbirdc show rip interfaceszbirdc show rip neighborszbirdc show static)open
startswithadd_copy_specsplitstrip	Exception
_log_debugadd_cmd_output)selfbfilelineerrs       9/usr/lib/python3/dist-packages/sos/report/plugins/bird.pysetup
Bird.setup   s    	A&g>%!Du--**4::<?+@+@+EF " ? 	
 	
 	 
 	 ?>
  	AOO9#?@@	As9   B  B5B B  
BB  B   
C*CCc                 *    U R                  SSS5        g )Nz/etc/bird(.*)?.confz((.*password)\s\"(.*)\"(.*))z\2 *******\4)do_path_regex_sub)r   s    r   postprocBird.postprocA   s    4>.	0     N)__name__
__module____qualname____firstlineno____doc__plugin_nameprofilespackagesservicesr   r!   __static_attributes__r$   r#   r   r   r      s(    
 KHHH%N0r#   r   N)sos.report.pluginsr   r   r   r$   r#   r   <module>r0      s    9506$ 50r#   