def arp_access_list_permit_permit_list_ip_type(self, **kwargs):
        """Auto Generated Code
        """
        config = ET.Element("config")
        arp = ET.SubElement(config, "arp", xmlns="urn:brocade.com:mgmt:brocade-dai")
        access_list = ET.SubElement(arp, "access-list")
        acl_name_key = ET.SubElement(access_list, "acl-name")
        acl_name_key.text = kwargs.pop('acl_name')
        permit = ET.SubElement(access_list, "permit")
        permit_list = ET.SubElement(permit, "permit-list")
        host_ip_key = ET.SubElement(permit_list, "host-ip")
        host_ip_key.text = kwargs.pop('host_ip')
        mac_type_key = ET.SubElement(permit_list, "mac-type")
        mac_type_key.text = kwargs.pop('mac_type')
        host_mac_key = ET.SubElement(permit_list, "host-mac")
        host_mac_key.text = kwargs.pop('host_mac')
        ip_type = ET.SubElement(permit_list, "ip-type")
        ip_type.text = kwargs.pop('ip_type')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
def arp_access_list_permit_permit_list_ip_type ( self , ** kwargs ) : config = ET . Element ( "config" ) arp = ET . SubElement ( config , "arp" , xmlns = "urn:brocade.com:mgmt:brocade-dai" ) access_list = ET . SubElement ( arp , "access-list" ) acl_name_key = ET . SubElement ( access_list , "acl-name" ) acl_name_key . text = kwargs . pop ( 'acl_name' ) permit = ET . SubElement ( access_list , "permit" ) permit_list = ET . SubElement ( permit , "permit-list" ) host_ip_key = ET . SubElement ( permit_list , "host-ip" ) host_ip_key . text = kwargs . pop ( 'host_ip' ) mac_type_key = ET . SubElement ( permit_list , "mac-type" ) mac_type_key . text = kwargs . pop ( 'mac_type' ) host_mac_key = ET . SubElement ( permit_list , "host-mac" ) host_mac_key . text = kwargs . pop ( 'host_mac' ) ip_type = ET . SubElement ( permit_list , "ip-type" ) ip_type . text = kwargs . pop ( 'ip_type' ) callback = kwargs . pop ( 'callback' , self . _callback ) return callback ( config )
Auto Generated Code