def rule_command_cmdlist_interface_q_interface_ve_leaf_interface_ve_leaf(self, **kwargs):
        """Auto Generated Code
        """
        config = ET.Element("config")
        rule = ET.SubElement(config, "rule", xmlns="urn:brocade.com:mgmt:brocade-aaa")
        index_key = ET.SubElement(rule, "index")
        index_key.text = kwargs.pop('index')
        command = ET.SubElement(rule, "command")
        cmdlist = ET.SubElement(command, "cmdlist")
        interface_q = ET.SubElement(cmdlist, "interface-q")
        interface_ve_leaf = ET.SubElement(interface_q, "interface-ve-leaf")
        interface = ET.SubElement(interface_ve_leaf, "interface")
        ve_leaf = ET.SubElement(interface, "ve-leaf")
        ve_leaf.text = kwargs.pop('ve_leaf')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
def rule_command_cmdlist_interface_q_interface_ve_leaf_interface_ve_leaf ( self , ** kwargs ) : config = ET . Element ( "config" ) rule = ET . SubElement ( config , "rule" , xmlns = "urn:brocade.com:mgmt:brocade-aaa" ) index_key = ET . SubElement ( rule , "index" ) index_key . text = kwargs . pop ( 'index' ) command = ET . SubElement ( rule , "command" ) cmdlist = ET . SubElement ( command , "cmdlist" ) interface_q = ET . SubElement ( cmdlist , "interface-q" ) interface_ve_leaf = ET . SubElement ( interface_q , "interface-ve-leaf" ) interface = ET . SubElement ( interface_ve_leaf , "interface" ) ve_leaf = ET . SubElement ( interface , "ve-leaf" ) ve_leaf . text = kwargs . pop ( 've_leaf' ) callback = kwargs . pop ( 'callback' , self . _callback ) return callback ( config )
Auto Generated Code