Uploaded image for project: 'snmp4sdn'
  1. snmp4sdn
  2. SNMP4SDN-19

Many REST APIs fail due to expect4j dependencies missing

    XMLWordPrintable

Details

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

    • 6605

    Description

      For snmp4sdn REST APIs that was implemented using CLI to configure switches, fail, including:
      All ACL APIs:
      acl:xxx (all ACL functions)
      Some STP APIs:
      misc-config:enable-stp
      misc-config:disable-stp

      With the gerrit, "Use upstream expect4j", the dependencies expect4j requires are missing (gerrit #43235 for mater, and #43480 for stable/boron).

      The missing dependencies could be found as below.
      In Karaf console, execute command:
      bundle:headers <expect4j_bundle_id>
      then shows some import-package are red.
      The red ones includes:
      com.jcraft.jsch;resolution:=optional,
      org.apache.commons.net.io;resolution:=optional,
      org.apache.commons.net.telnet;resolution:=optional,
      org.apache.oro.text;resolution:=optional,
      org.apache.oro.text.regex;resolution:=optional,

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            ylhsieh Christine Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: