Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-940

util.py in JVPPGEN hardcodes event message name suffixes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Open
    • Icon: Highest Highest
    • 18.01
    • None
    • Java API binding
    • None

      FIXME on line 162 of util.py.

       src/vpp-api/java/jvpp/gen/jvppgen/util.py

       The issue is any API definition with the suffix _counters or _event is treated special by the API gen, resulting in a Java DTO of "Foo"+Notification.java instead of "Foo.java". Hence JVPPGEN complains about "Can't find Foo.java".

      WORKAROUND: rename API definition to something else ie.

       

      want_foo_counters -> want_foo_stats (which ends up streaming a vnet_foo_counters_t to client).

       

       

            mgradzki Marek Gradzki
            alagalah Keith Burns
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: