Sindbad~EG File Manager

Current Path : /lib/python3.6/site-packages/sos/report/plugins/__pycache__/
Upload File :
Current File : //lib/python3.6/site-packages/sos/report/plugins/__pycache__/frr.cpython-36.opt-1.pyc

3

�f)�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�RedHatPluginc@s0eZdZdZdZdZd	Zd
ZdZdZ	dd�Z
dS)
�FrraG
    FRR is a routing project that provides numerous traditional routing
    protocols for Linux platforms. In particular, OpenStack uses FRR to provide
    BGP functionality for the overcloud nodes.

    This plugin is primarily designed the deployment of FRR within OSP
    environments, which deploy FRR in a container.
    zFrr routing service�frr�network�/etc/frr/zebra.confcCsXd}|jd|dg�|jd�rTdddddd	d
ddd
ddg}|jdd�|D�dd�dS)Nz*/var/lib/config-data/ansible-generated/frrz	/etc/frr/rzshow bgp detailzshow bgp neighborszshow bgp summaryzshow historyzshow ip bgp detailzshow ip bgp neighborszshow ip bgp summaryzshow ip bgpz
show ip routezshow ipv6 routezshow running-configzshow versioncSsg|]}d|�d��qS)z
vtysh -c '�'�)�.0Zsubcmdr	r	�/usr/lib/python3.6/frr.py�
<listcomp>7szFrr.setup.<locals>.<listcomp>)Z	container)Z
add_copy_specZcontainer_existsZadd_cmd_output)�selfZvar_ansible_genZsubcmdsr	r	r�setups(
z	Frr.setupN)r)r)r)r)�__name__�
__module__�__qualname__�__doc__Z
short_descZplugin_nameZprofiles�filesZpackagesZ
containersrr	r	r	rrsrN)Zsos.report.pluginsrrrr	r	r	r�<module>	s

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists