1. zaccone
  2. quechua

Wiki

Clone wiki

quechua / ConfigurationFile

Default configuration file

# quechua version 0.1

version = "0.1";

quechua: {
    libraries: {
        load = ["stdch","stubproc","filelogger","reverter","stubalg","dnchan","ipproc","postprocessortest","apriori"];
        files= {stdch = "stdch.so";
                stubproc="stdch.so";
                filelogger = "stdch.so";
                reverter="processoreverter.so";
                stubalg="algorithmstub.so";
                dnchan="dnchan.so";
                ipproc="ipproc.so";
                postprocessortest="postprocessortest.so";
                apriori="apriori.so";
        };
        
    };

    channels: {
        load = ["stdch","dnchan"];
        stdch: {
            param1 = "p1";
            param2 = "p2";
            param3 = "p3";
        };
        dnchan: {
            user="user";
            password="pass";
            hostname="::1";
            database="miner";
            interval="1D";
        };
    };

    loggers: {
        load = ["postprocessortest","filelogger"];
        filelogger: {
        };

        postprocessortest: {
            user="user";
            password="pass";
            hostname="::1";
            database="miner";
            interval="1D"; # 1 day
        };

    };

    flows: {
        load = ["f2"];
        f1: {
            channel = "stdch"; // must be channel's name
            processor: {
                name = "stubproc";
                depth = 4; # stupid example
                ip    = 46;  # stupid example
            };
            algorithm: {
                name ="stubalg";
                prefix="STUBALG: ";
            };
            logger = "filelogger";

            type = "triggered"; 
        };

        f2: {
            channel = "dnchan"; // must be channel's name
            processor: {
                name = "ipproc";
            };
            algorithm: {
                name="apriori";
                minsup=15;
            };
            logger = "postprocessortest";

            type = "triggered";
        };


    };
};

Updated