Uploaded image for project: 'integration-packaging'
  1. integration-packaging
  2. INTPAK-225

Use diagstatus for check_url in puppet-opendaylight acceptance tests

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Low Low
    • None

      The current puppet-opendaylight acceptance tests curl against this ODL NB REST API URL:

      spec/spec_helper_acceptance.rb:485: odl_check_url = 'http://127.0.0.1:8181/restconf'

      I noticed that puppet-neutron uses a different odl_check_url:

      manifests/plugins/ovs/opendaylight.pp:94: $odl_check_url = 'http://127.0.0.1:8080/restconf/operational/network-topology:network-topology/topology/netvirt:1',
      spec/classes/neutron_plugins_ovs_opendaylight_spec.rb:7: :odl_check_url => 'http://127.0.0.1:8080/restconf/operational/network-topology:network-topology/topology/netvirt:1',

      I think those should actually be diagstatus (and will work on that, see https://bugzilla.redhat.com/show_bug.cgi?id=1642270). But still, eventually we should consider if we're using the ideal URL in these tests.

            dfarrell07 Daniel Farrell
            dfarrell07 Daniel Farrell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: