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

Exception error of REST API get-arp-entry, if the IP address is not in the switch's ARP table

XMLWordPrintable

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

    • 5367

      To get ARP entry, using the REST API, if the <ip_address> is not in the switch's ARP table, then get an Exception error message.

      curl --user "admin":"admin" -H "Accept: application/json" -H "Content-type: application/json" -X POST http://<controller_ip_address>:8181/restconf/operations/misc-config:get-arp-entry -d "{input:{"node-id":<node_id>, "ip-address":'<ip_address>'}}"

      Client get error:

      <p>Problem accessing /restconf/operations/misc-config:get-arp-entry. Reason:
      <pre> Server Error</pre></p><h3>Caused by:</h3><pre>java.lang.NullPointerException
      at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:210)
      ...

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

              Created:
              Updated: