Uploaded image for project: 'tsdr'
  1. tsdr
  2. TSDR-30

Karaf commands are incorrect in documentation camelcase but the application requires uppercase.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • unspecified
    • General
    • None
    • Operating System: All
      Platform: All

    • 6943

      The documentation shows TSDR karaf commands written in camelcase but the application requires uppercase.

      1. Tested
        Boron integration distribution

      git.opendaylight.org:29418/tsdr refs/changes/95/46595/1 && git checkout FETCH_HEAD
      commit d7d0b293d43944a6be9e931a68bd86ccf8fc9feb

      TSDR
      git.opendaylight.org:29418/tsdr.git
      commit 2380fe58b68ce4440ff1421c083f9a050a47265c

      1. Steps
        I followed the steps on https://wiki.opendaylight.org/view/TSDR_Getting_Started.

      cd tsdr
      mvn clean install -DskipTests
      cd ../distribution
      mvn clean install -DskipTests

      Building the TSDR first was succesful.
      Building the Integration distribution failed with error

      [ERROR] Failed to execute goal org.opendaylight.odlparent:karaf-plugin:1.8.0-SNAPSHOT:populate-local-repo (populate-local-repo) on
      project distribution-karaf: Failed to execute: javax.xml.bind.UnmarshalException
      [ERROR] - with linked exception:
      [ERROR] [org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1;
      I need to investigate if this is reproducible.

      I moved back to a clean machine (new VM with empty .m2) and reversed the order.
      So built the integration distro first, then TSDR. Build was successful but running the command.

      cd ../distribution
      mvn clean install -DskipTests

      cd tsdr
      mvn clean install

      cd ..
      ./distribution-karaf/target/assembly/bin/karaf

      Then within the karaf console type:

      tsdr:list FlowStats

      opendaylight-user@root> tsdr:list FlowStats
      Error executing command: No enum constant org.opendaylight.yang.gen.v1.opendaylight.tsdr.rev150219.DataCategory.FlowSt
      ats

      I then changed the command to

      tsdr:list FLOWSTATS

            scottmelton Scott Melton
            ricjhill@gmail.com RichardHill
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: