<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Sandeep,<br>
    <br>
    The execution files under folder "executions" are just reference, so
    what we need is that create your own execution file under dts
    folder.<br>
    You can find basic usage of DTS from <b><a class="moz-txt-link-freetext" href="http://www.dpdk.org/doc/dts/gsg/">http://www.dpdk.org/doc/dts/gsg/</a>.
    </b><br>
    <br>
    For configuration files, the usages of them are not included in
    getting started guide. I can just give a basic introduction here.<br>
    <br>
           1) ports.cfg<br>
            When port detection mode is "cfg" in execution.cfg, DTS will
    generate network topo mapping table based on this configuration
    file.<br>
            This configuration file just describe the connections
    between tester and DUT.<br>
    <br>
           2) execution.cfg<br>
            Configuration file for suite executions, describe which
    suites will be run on which host.<br>
            One thing need to take care is that value of "crbs" should
    match section name in ports.cfg and crbs.cfg. <br>
    <br>
           3) crbs.cfg<br>
           Configuration file for DUT and Tester,  included of their ip
    addresses and login user name and password. <br>
    <br>
    Thanks,<br>
    Marvin<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 05/31/2017 08:32 PM, Sandeep Sandy
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAFMhpyDNmuAZt_fD86-p7ezAkujitivSmx5p+FWycz9DyNEGjg@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div dir="ltr">
        <div>
          <div>Hi All,<br>
          </div>
          <div><br>
            The issue disappeared when I used the following command to
            execute.<br>
          </div>
              .<b>/dts --config-file executions/execution.cfg<br>
            <br>
          </b></div>
        The default value of command line argument obtains non existing
        blank file, which led me to the above error.<br>
        <br>
        diff --git a/framework/main.py b/framework/main.py<br>
        index a018af0..5ced34e 100755<br>
        --- a/framework/main.py<br>
        +++ b/framework/main.py<br>
        @@ -73,9 +73,9 @@ def git_build_package(gitLabel, pkgName,
        depot="dep"):<br>
         parser = argparse.ArgumentParser(description='DPDK test
        framework.')<br>
         <br>
         parser.add_argument('--config-file',<br>
        -                    default='execution.cfg',<br>
        -                    help='configuration file that describes the
        test ' +<br>
        -                    'cases, DUTs and targets')<br>
        +                    default='execution.cfg', <br>
        +                    help='configuration file that describes the
        test ' + <br>
        +                    'cases, DUTs and targets')<br>
        <br>
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div><br>
                    [root@hobbes dts]# ./dts --config-file
                    executions/execution.cfg <br>
                    duts ['10.193.186.216']<br>
                                    INFO: <br>
                    DUT 10.193.186.216<br>
                                    INFO: ssh <a moz-do-not-send="true"
                      href="mailto:root@10.193.184.86">root@10.193.184.86</a><br>
                                    INFO: ssh <a moz-do-not-send="true"
                      href="mailto:root@10.193.184.86">root@10.193.184.86</a><br>
                                    INFO: ssh <a moz-do-not-send="true"
                      href="mailto:root@10.193.186.216">root@10.193.186.216</a><br>
                                    INFO: ssh <a moz-do-not-send="true"
                      href="mailto:root@10.193.186.216">root@10.193.186.216</a><br>
                    <br>
                  </div>
                  <div>Do I need trigger the suit on tester machine?, <br>
                    please point me to the elaborated explanation of
                    configuring:<br>
                  </div>
                  <div>       1) ports.cfg<br>
                           2) execution.cfg<br>
                           3) crbs.cfg.<br>
                    <br>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, May 31, 2017 at 3:30 PM, <span
            dir="ltr"><<a moz-do-not-send="true"
              href="mailto:dts-request@dpdk.org" target="_blank">dts-request@dpdk.org</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Send dts
            mailing list submissions to<br>
                    <a moz-do-not-send="true"
              href="mailto:dts@dpdk.org">dts@dpdk.org</a><br>
            <br>
            To subscribe or unsubscribe via the World Wide Web, visit<br>
                    <a moz-do-not-send="true"
              href="http://dpdk.org/ml/listinfo/dts" rel="noreferrer"
              target="_blank">http://dpdk.org/ml/listinfo/<wbr>dts</a><br>
            or, via email, send a message with subject or body 'help' to<br>
                    <a moz-do-not-send="true"
              href="mailto:dts-request@dpdk.org">dts-request@dpdk.org</a><br>
            <br>
            You can reach the person managing the list at<br>
                    <a moz-do-not-send="true"
              href="mailto:dts-owner@dpdk.org">dts-owner@dpdk.org</a><br>
            <br>
            When replying, please edit your Subject line so it is more
            specific<br>
            than "Re: Contents of dts digest..."<br>
            <br>
            <br>
            Today's Topics:<br>
            <br>
               1. Failing to parse configuration file (Sandeep Sandy)<br>
            <br>
            <br>
            ------------------------------<wbr>------------------------------<wbr>----------<br>
            <br>
            Message: 1<br>
            Date: Wed, 31 May 2017 11:21:01 +0530<br>
            From: Sandeep Sandy <<a moz-do-not-send="true"
              href="mailto:sandy3589@gmail.com">sandy3589@gmail.com</a>><br>
            To: <a moz-do-not-send="true" href="mailto:dts@dpdk.org">dts@dpdk.org</a><br>
            Subject: [dts] Failing to parse configuration file<br>
            Message-ID:<br>
                    <CAFMhpyDO7tgOUQ32PDRd66hc_=<a
              moz-do-not-send="true"
              href="mailto:8v8pdjoZa5o%2BZV8otixYdjyA@mail.gmail.com">8v<wbr>8pdjoZa5o+ZV8otixYdjyA@mail.<wbr>gmail.com</a>><br>
            Content-Type: text/plain; charset="utf-8"<br>
            <br>
            Hi All,<br>
            <br>
            I am a naive user, The* following error is encountered* on
            triggering the<br>
            test suite.<br>
            kindly help me, am i missing something ?<br>
            <br>
            ------------------------------<wbr>--------------------<br>
            Traceback (most recent call last):<br>
              File "./main.py", line 159, in <module><br>
                args.debug, args.debugcase, args.commands)<br>
              File "/root/sandeep/DPDK/dts/<wbr>framework/dts.py", line
            481, in run_all<br>
                raise ConfigParseException(config_<wbr>file)<br>
            exception.<wbr>ConfigParseException: Faile to parse config
            file [execution.cfg]<br>
            ------------------------------<wbr>------------------------<br>
            <br>
            *snap of execution.cfg <a class="moz-txt-link-freetext" href="file:*">file:*</a><br>
            ------------------------------<wbr>-----------------------<br>
            [root@hobbes dts]# cat executions/execution.cfg<br>
            [Execution1]<br>
            crbs=10.193.186.216<br>
            drivername=igb_uio<br>
            test_suites=cmdline,hello_<wbr>world,multiprocess,timer<br>
            targets=x86_64-native-<wbr>linuxapp-gcc<br>
            parameters=nic_type=cfg:func=<wbr>true<br>
            <br>
            [Execution2]<br>
            crbs=10.193.186.214<br>
            drivername=igb_uio<br>
            test_suites=l2fwd,l3fwd,pmd<br>
            targets=x86_64-native-<wbr>linuxapp-gcc<br>
            parameters=nic_type=niantic:<wbr>perf=true<br>
            ------------------------------<wbr>------------------------------<wbr>-<br>
            <br>
            <br>
            *change set:*-------------------------<wbr>-----------------<br>
            commit 924c30b603b61aa99f9a452a3220b4<wbr>1a87c2b4d7<br>
            Author: xu,huilong <<a moz-do-not-send="true"
              href="mailto:huilongx.xu@intel.com">huilongx.xu@intel.com</a>><br>
            Date:   Tue May 23 14:31:03 2017 +0800<br>
            <br>
            Thanks<br>
            Sandeep<br>
            -------------- next part --------------<br>
            An HTML attachment was scrubbed...<br>
            URL: <<a moz-do-not-send="true"
href="http://dpdk.org/ml/archives/dts/attachments/20170531/25eaefaa/attachment-0001.html"
              rel="noreferrer" target="_blank">http://dpdk.org/ml/archives/<wbr>dts/attachments/20170531/<wbr>25eaefaa/attachment-0001.html</a>><br>
            <br>
            ------------------------------<br>
            <br>
            Subject: Digest Footer<br>
            <br>
            ______________________________<wbr>_________________<br>
            dts mailing list<br>
            <a moz-do-not-send="true" href="mailto:dts@dpdk.org">dts@dpdk.org</a><br>
            <a moz-do-not-send="true"
              href="http://dpdk.org/ml/listinfo/dts" rel="noreferrer"
              target="_blank">http://dpdk.org/ml/listinfo/<wbr>dts</a><br>
            <br>
            ------------------------------<br>
            <br>
            End of dts Digest, Vol 116, Issue 1<br>
            ******************************<wbr>*****<br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>