Adapter Degraded Status
  • 21 Oct 2024
  • Dark
    Light
  • PDF

Adapter Degraded Status

  • Dark
    Light
  • PDF

Article summary

Degraded Connection

The degraded status is an additional adapter state alongside the online (connected) and offline (disconnected) status. This unique state would be used for adapter-nso and other adapters that have multiple connection types.

Some scenarios where the degraded state would apply include:

  • The connection is not fully up or fully down.
  • One method of communication for an adapter has been disconnected, but another is still active.
  • The adapter is connected, but it is an unstable connection.
  • Some functions related to a mode of communication fail to respond.

Emit Degraded Events

Add the example code block to instances where you would like to send the adapter to the degraded state.

this.emit("DEGRADED", {
    reason: 'Reason adapter is degraded (will appear on system page'
});

Add this example code block to instances where the adapter is no longer degraded, and the state should be removed. For example, if the second method of communication comes back online, the connection stabilizes, or a specific call succeeds.

this.emit("FIXED", {
    reason: 'Optional'
});

Admin Essentials - Degraded Adapter

To recognize a degraded state:

  1. Start IAP and Adapter NSO.

  2. Connect them with the default admin username and admin password.

    Figure 1
    Figure 01

  3. Check the connection status from Admin EssentialsProfilesAdapters. Status should show as "Running" and connection as "Online".

    Figure 2
    Figure 02

  4. Next, create a new user in NSO with the name “client”.

    Figure 3
    Figure 03

  5. Change the Adapter NSO properties credentials to the newly created user in NSO (username and password).

    Figure 4
    Figure 04

  6. Go back and check the connection status from Admin EssentialsProfilesAdapters. Status should show as "Running" and connection as "Online".

    Figure 5
    Figure 05

  7. Go to NSO and delete the client user.

    Figure 6
    Figure 06

  8. Go to the Service Management UI to load Service Models. You should not see any models in the UI.

    Figure 7
    Figure 07

  9. Last, check the connection status from Admin EssentialsProfilesAdapters. Status should now show as "Running" and connection as "Degraded".

    Figure 8
    Figure 08


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.