def nacm_rule_list_rule_rule_type_notification_notification_name(self, **kwargs):
        """Auto Generated Code
        """
        config = ET.Element("config")
        nacm = ET.SubElement(config, "nacm", xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-acm")
        rule_list = ET.SubElement(nacm, "rule-list")
        name_key = ET.SubElement(rule_list, "name")
        name_key.text = kwargs.pop('name')
        rule = ET.SubElement(rule_list, "rule")
        name_key = ET.SubElement(rule, "name")
        name_key.text = kwargs.pop('name')
        rule_type = ET.SubElement(rule, "rule-type")
        notification = ET.SubElement(rule_type, "notification")
        notification_name = ET.SubElement(notification, "notification-name")
        notification_name.text = kwargs.pop('notification_name')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
def nacm_rule_list_rule_rule_type_notification_notification_name ( self , ** kwargs ) : config = ET . Element ( "config" ) nacm = ET . SubElement ( config , "nacm" , xmlns = "urn:ietf:params:xml:ns:yang:ietf-netconf-acm" ) rule_list = ET . SubElement ( nacm , "rule-list" ) name_key = ET . SubElement ( rule_list , "name" ) name_key . text = kwargs . pop ( 'name' ) rule = ET . SubElement ( rule_list , "rule" ) name_key = ET . SubElement ( rule , "name" ) name_key . text = kwargs . pop ( 'name' ) rule_type = ET . SubElement ( rule , "rule-type" ) notification = ET . SubElement ( rule_type , "notification" ) notification_name = ET . SubElement ( notification , "notification-name" ) notification_name . text = kwargs . pop ( 'notification_name' ) callback = kwargs . pop ( 'callback' , self . _callback ) return callback ( config )
Auto Generated Code