Module Expr Str ImportFrom alias Import alias Import alias Import alias Assign NameStore Dict Str Str Assign NameStore ListLoad Str Str Str FunctionDef arguments args defaults body Expr Str Assign NameStore Dict Str Str Str Str Str Str Str Str Assign NameStore SubscriptLoad NameLoad Index Str For NameStore NameLoad body If BoolOpAnd CompareEq NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index NameLoad body Return NameLoad Return TupleLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad Str If NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad orelse Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Dict For NameStore Call AttributeLoad Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad attr body If Call AttributeLoad NameLoad attr Str body Continue Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Continue If CompareGt Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index NameLoad Dict Str Str SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num If CompareGt Call NameLoad NameLoad Num body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str ListLoad SubscriptLoad NameLoad Index Num If BoolOpAnd CompareEq Call NameLoad NameLoad Num NameLoad body Expr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str attr SubscriptLoad NameLoad Index Num If NameLoad body TryExcept body Return SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Return Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Return Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Return Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Return Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Return Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str If CompareEq SubscriptLoad NameLoad Index Str Str body Return Call NameLoad NameLoad Assign NameStore Call NameLoad Str Assign NameStore Dict If NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad orelse Assign NameStore Call AttributeLoad Str attr NameLoad For NameStore Call AttributeLoad Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Dict For NameStore NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad For NameStore Call AttributeLoad Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad Dict Str Str ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str attr SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num If CompareIn Str NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str Str If NameLoad body Return SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad Str If NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad orelse Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Dict Assign NameStore NameLoad For NameStore Call AttributeLoad Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad attr body If Call AttributeLoad NameLoad attr Str body Assign NameStore NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign SubscriptStore NameLoad Index NameLoad Dict Str Str ListLoad Str If CompareIn Str NameLoad body Assign NameStore NameLoad Continue If BoolOpAnd NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Expr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str attr Call AttributeLoad NameLoad attr Num If CompareIn Str NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str Str If NameLoad body TryExcept body Return SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad Str If UnaryOpNot NameLoad body Return NameLoad If CompareNotEq Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad NameLoad keyword NameLoad Num body Return NameLoad If CompareEq NameLoad Str body Assign NameStore Call NameLoad Str If CompareNotEq Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad NameLoad keyword NameLoad Num body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Str If UnaryOpNot NameLoad body Return NameLoad Return Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Str If CompareEq NameLoad Str body Assign NameStore Call NameLoad Str Assign NameStore Str orelse Assign NameStore Call NameLoad Str Assign NameStore Str If BoolOpOr UnaryOpNot NameLoad UnaryOpNot NameLoad body Return NameLoad Return Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Str If CompareEq NameLoad Str body Assign NameStore Call NameLoad Str Assign NameStore Str orelse Assign NameStore Call NameLoad Str Assign NameStore Str If BoolOpOr UnaryOpNot NameLoad UnaryOpNot NameLoad body Return NameLoad Return Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Str If CompareEq NameLoad Str body Assign NameStore Call NameLoad Str orelse Assign NameStore Call NameLoad Str If BoolOpOr UnaryOpNot NameLoad UnaryOpNot NameLoad body Return NameLoad Return Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str If CompareIn SubscriptLoad NameLoad Index Str NameLoad body Assign NameStore Str orelse Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad Str attr NameLoad NameLoad If Call NameLoad NameLoad body Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str Return Call NameLoad Str NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad Str If UnaryOpNot NameLoad body Return NameLoad Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str If UnaryOpNot NameLoad body Return NameLoad Assign NameStore Call NameLoad Str NameLoad If NameLoad body Return SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args defaults vararg body Expr Str Assign NameStore Call NameLoad Str If UnaryOpNot NameLoad body Return NameLoad Assign NameStore Dict For NameStore NameLoad body For NameStore NameLoad body TryExcept body If CompareIn NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str body Assign SubscriptStore NameLoad Index NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass Return NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str Return Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str Return Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Expr Str Return Call NameLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Expr Str Return Call NameLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Str NameLoad body Expr Str Assign NameStore SubscriptLoad NameLoad Index Str If CompareEq NameLoad Str body Assign NameStore Dict Str Str Str Str Return Call NameLoad Str NameLoad SubscriptLoad NameLoad Index NameLoad orelse If CompareIn NameLoad NameLoad body Assign NameStore Dict Str Str Str Str Return Call NameLoad Str NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad orelse Return NameLoad decorator_list
N/A N/A 
Module for gathering and managing bridging information
 __future__ absolute_import N/A sys N/A re N/A salt.utils N/A __func_alias__ N/A list_ list N/A SUPPORTED_BSD_LIKE N/A FreeBSD NetBSD OpenBSD __virtual__ N/A N/A N/A N/A N/A 
    Confirm this module is supported by the OS and the system has
    required tools
     N/A supported_os_tool N/A FreeBSD Linux NetBSD OpenBSD ifconfig brctl brconfig ifconfig N/A cur_os N/A __grains__ N/A kernel N/A _os supported_os_tool N/A N/A N/A N/A cur_os _os N/A N/A N/A salt utils which N/A supported_os_tool N/A cur_os N/A N/A True N/A N/A False The bridge execution module failed to load: requires one of the following tool/os combinations: ifconfig on FreeBSD/OpenBSD, brctl on Linux or brconfig on NetBSD. N/A _tool_path N/A N/A ostool N/A N/A N/A 
    Internal, returns tools path
     N/A N/A N/A N/A salt utils which ostool N/A _linux_brshow N/A N/A br N/A None N/A N/A 
    Internal, returns bridges and enslaved interfaces (GNU/Linux - brctl)
     N/A brctl N/A _tool_path brctl N/A br N/A N/A cmd N/A N/A {0} show {1} format brctl br N/A N/A cmd N/A N/A {0} show format brctl N/A brs N/A N/A line N/A N/A N/A N/A __salt__ N/A cmd.run cmd python_shell False splitlines N/A N/A N/A N/A line startswith bridge name N/A N/A N/A vals N/A N/A line split N/A N/A vals N/A N/A N/A N/A N/A len vals 1 N/A N/A brname N/A vals N/A 0 N/A N/A brs N/A brname N/A id stp N/A vals N/A 1 N/A vals N/A 2 N/A N/A N/A len vals 3 N/A N/A N/A N/A brs N/A brname N/A interfaces N/A N/A vals N/A 3 N/A N/A N/A N/A len vals 1 brname N/A N/A N/A N/A N/A N/A brs N/A brname N/A interfaces append N/A vals N/A 0 N/A br N/A N/A N/A N/A N/A brs N/A br N/A N/A N/A KeyError N/A N/A None N/A brs N/A _linux_bradd N/A N/A br N/A N/A N/A 
    Internal, creates the bridge
     N/A brctl N/A _tool_path brctl N/A N/A N/A __salt__ N/A cmd.run N/A N/A {0} addbr {1} format brctl br python_shell False N/A _linux_brdel N/A N/A br N/A N/A N/A 
    Internal, deletes the bridge
     N/A brctl N/A _tool_path brctl N/A N/A N/A __salt__ N/A cmd.run N/A N/A {0} delbr {1} format brctl br python_shell False N/A _linux_addif N/A N/A br iface N/A N/A N/A 
    Internal, adds an interface to a bridge
     N/A brctl N/A _tool_path brctl N/A N/A N/A __salt__ N/A cmd.run N/A N/A {0} addif {1} {2} format brctl br iface python_shell False N/A _linux_delif N/A N/A br iface N/A N/A N/A 
    Internal, removes an interface from a bridge
     N/A brctl N/A _tool_path brctl N/A N/A N/A __salt__ N/A cmd.run N/A N/A {0} delif {1} {2} format brctl br iface python_shell False N/A _linux_stp N/A N/A br state N/A N/A N/A 
    Internal, sets STP state
     N/A brctl N/A _tool_path brctl N/A N/A N/A __salt__ N/A cmd.run N/A N/A {0} stp {1} {2} format brctl br state python_shell False N/A _bsd_brshow N/A N/A br N/A None N/A N/A 
    Internal, returns bridges and member interfaces (BSD-like: ifconfig)
     N/A N/A N/A __grains__ N/A kernel NetBSD N/A N/A N/A _netbsd_brshow br N/A ifconfig N/A _tool_path ifconfig N/A ifaces N/A N/A br N/A N/A N/A ifaces N/A br br N/A N/A cmd N/A N/A {0} -g bridge format ifconfig N/A line N/A N/A N/A N/A __salt__ N/A cmd.run cmd python_shell False splitlines N/A N/A N/A ifaces N/A line line N/A brs N/A N/A iface ifaces N/A N/A cmd N/A N/A {0} {1} format ifconfig iface N/A line N/A N/A N/A N/A __salt__ N/A cmd.run cmd python_shell False splitlines N/A N/A N/A brs N/A iface N/A interfaces stp N/A no N/A line N/A N/A line lstrip N/A N/A N/A line startswith member: N/A N/A N/A N/A N/A N/A brs N/A iface N/A interfaces append N/A N/A N/A line split N/A 1 N/A N/A STP line N/A N/A N/A N/A brs N/A iface N/A stp yes N/A br N/A N/A N/A brs N/A br N/A brs N/A _netbsd_brshow N/A N/A br N/A None N/A N/A 
    Internal, returns bridges and enslaved interfaces (NetBSD - brconfig)
     N/A brconfig N/A _tool_path brconfig N/A br N/A N/A cmd N/A N/A {0} {1} format brconfig br N/A N/A cmd N/A N/A {0} -a format brconfig N/A brs N/A N/A start_int False N/A line N/A N/A N/A N/A __salt__ N/A cmd.run cmd python_shell False splitlines N/A N/A N/A N/A line startswith bridge N/A N/A start_int False N/A brname N/A N/A N/A line split : N/A 0 N/A N/A brs N/A brname N/A interfaces stp N/A no N/A N/A Interfaces: line N/A N/A start_int True N/A N/A N/A start_int brname N/A N/A m N/A N/A re match \s*([a-z0-9]+)\s.*<.*> line N/A m N/A N/A N/A N/A N/A N/A brs N/A brname N/A interfaces append N/A N/A m group 1 N/A N/A STP line N/A N/A N/A N/A brs N/A brname N/A stp yes N/A br N/A N/A N/A N/A N/A brs N/A br N/A N/A N/A KeyError N/A N/A None N/A brs N/A _bsd_bradd N/A N/A br N/A N/A N/A 
    Internal, creates the bridge
     N/A kernel N/A __grains__ N/A kernel N/A ifconfig N/A _tool_path ifconfig N/A N/A br N/A N/A False N/A N/A N/A N/A __salt__ N/A cmd.retcode N/A N/A {0} {1} create up format ifconfig br python_shell False 0 N/A N/A False N/A N/A kernel NetBSD N/A N/A brconfig N/A _tool_path brconfig N/A N/A N/A N/A __salt__ N/A cmd.retcode N/A N/A {0} {1} up format brconfig br python_shell False 0 N/A N/A False N/A True N/A _bsd_brdel N/A N/A br N/A N/A N/A 
    Internal, deletes the bridge
     N/A ifconfig N/A _tool_path ifconfig N/A N/A br N/A N/A False N/A N/A N/A __salt__ N/A cmd.run N/A N/A {0} {1} destroy format ifconfig br python_shell False N/A _bsd_addif N/A N/A br iface N/A N/A N/A 
    Internal, adds an interface to a bridge
     N/A kernel N/A __grains__ N/A kernel N/A N/A kernel NetBSD N/A N/A cmd N/A _tool_path brconfig N/A brcmd add N/A N/A cmd N/A _tool_path ifconfig N/A brcmd addem N/A N/A N/A br N/A iface N/A N/A False N/A N/A N/A __salt__ N/A cmd.run N/A N/A {0} {1} {2} {3} format cmd br brcmd iface python_shell False N/A _bsd_delif N/A N/A br iface N/A N/A N/A 
    Internal, removes an interface from a bridge
     N/A kernel N/A __grains__ N/A kernel N/A N/A kernel NetBSD N/A N/A cmd N/A _tool_path brconfig N/A brcmd delete N/A N/A cmd N/A _tool_path ifconfig N/A brcmd deletem N/A N/A N/A br N/A iface N/A N/A False N/A N/A N/A __salt__ N/A cmd.run N/A N/A {0} {1} {2} {3} format cmd br brcmd iface python_shell False N/A _bsd_stp N/A N/A br state iface N/A N/A N/A 
    Internal, sets STP state. On BSD-like, it is required to specify the
    STP physical interface
     N/A kernel N/A __grains__ N/A kernel N/A N/A kernel NetBSD N/A N/A cmd N/A _tool_path brconfig N/A N/A cmd N/A _tool_path ifconfig N/A N/A N/A br N/A iface N/A N/A False N/A N/A N/A __salt__ N/A cmd.run N/A N/A {0} {1} {2} {3} format cmd br state iface python_shell False N/A _os_dispatch N/A N/A func N/A args kwargs N/A N/A 
    Internal, dispatches functions by operating system
     N/A N/A N/A __grains__ N/A kernel SUPPORTED_BSD_LIKE N/A N/A kernel bsd N/A N/A kernel N/A N/A N/A __grains__ N/A kernel lower N/A _os_func N/A getattr N/A N/A sys modules N/A __name__ N/A N/A _{0}_{1} format kernel func N/A N/A callable _os_func N/A N/A N/A _os_func args kwargs N/A show N/A N/A br N/A None N/A N/A 
    Returns bridges interfaces along with enslaved physical interfaces. If
    no interface is given, all bridges are shown, else only the specified
    bridge values are returned.

    CLI Example:

    .. code-block:: bash

        salt '*' bridge.show
        salt '*' bridge.show br0
     N/A N/A _os_dispatch brshow br N/A list_ N/A N/A N/A N/A N/A 
    Returns the machine's bridges list

    CLI Example:

    .. code-block:: bash

        salt '*' bridge.list
     N/A brs N/A _os_dispatch brshow N/A N/A brs N/A N/A None N/A brlist N/A N/A br brs N/A N/A N/A N/A brlist append br N/A brlist N/A interfaces N/A N/A br N/A None N/A N/A 
    Returns interfaces attached to a bridge

    CLI Example:

    .. code-block:: bash

        salt '*' bridge.interfaces br0
     N/A N/A br N/A N/A None N/A br_ret N/A _os_dispatch brshow br N/A br_ret N/A N/A N/A br_ret N/A interfaces N/A find_interfaces N/A N/A N/A args N/A N/A 
    Returns the bridge to which the interfaces are bond to

    CLI Example:

    .. code-block:: bash

        salt '*' bridge.find_interfaces eth0 [eth1...]
     N/A brs N/A _os_dispatch brshow N/A N/A brs N/A N/A None N/A iflist N/A N/A iface args N/A N/A br brs N/A N/A N/A N/A N/A iface N/A N/A brs N/A br N/A interfaces N/A N/A N/A iflist N/A iface br N/A N/A N/A Exception N/A N/A N/A iflist N/A add N/A N/A br N/A None N/A N/A 
    Creates a bridge

    CLI Example:

    .. code-block:: bash

        salt '*' bridge.add br0
     N/A N/A _os_dispatch bradd br N/A delete N/A N/A br N/A None N/A N/A 
    Deletes a bridge

    CLI Example:

    .. code-block:: bash

        salt '*' bridge.delete br0
     N/A N/A _os_dispatch brdel br N/A addif N/A N/A br iface N/A None None N/A N/A 
    Adds an interface to a bridge

    CLI Example:

    .. code-block:: bash

        salt '*' bridge.addif br0 eth0
     N/A N/A _os_dispatch addif br iface N/A delif N/A N/A br iface N/A None None N/A N/A 
    Removes an interface from a bridge

    CLI Example:

    .. code-block:: bash

        salt '*' bridge.delif br0 eth0
     N/A N/A _os_dispatch delif br iface N/A stp N/A N/A br state iface N/A None disable None N/A N/A 
    Sets Spanning Tree Protocol state for a bridge

    CLI Example:

    .. code-block:: bash

        salt '*' bridge.stp br0 enable
        salt '*' bridge.stp br0 disable

    For BSD-like operating systems, it is required to add the interface on
    which to enable the STP.

    CLI Example:

    .. code-block:: bash

        salt '*' bridge.stp bridge0 enable fxp0
        salt '*' bridge.stp bridge0 disable fxp0
     N/A kernel N/A __grains__ N/A kernel N/A N/A kernel Linux N/A N/A states N/A enable disable on off N/A N/A _os_dispatch stp br N/A states N/A state N/A N/A N/A kernel SUPPORTED_BSD_LIKE N/A N/A states N/A enable disable stp -stp N/A N/A _os_dispatch stp br N/A states N/A state iface N/A N/A False N/A