Skip to Main Content
Cloud Management and AIOps


This is an IBM Automation portal for Cloud Management, Technology Cost Management, Network Automation and AIOps products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).

Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.

Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Future consideration
Workspace SevOne
Created by Guest
Created on Apr 17, 2024

Device Type Classification in SevOne REST API

My team owns IBM CP4AIOPS ASM observer that responsible for resource topology discovery. We do have an integration with SevOne, called SevOne Observer. At the moment. I have a request from StarHub and EastLink on the capability for AIOPs to classify the device type, ie. host, routers and switches like how SevOne GUI able to classify the discovered devices. At the moment, there is no API that able to provide observer the information. What we have is an API that list all the supported devive type by SevOne, not the discovered devices. We can't use that API as there is no correlation between the discovered devices and its device type.

We were looking at API sample for but looking at the responsefor /api/v3/devicetypes/filter, we don't get the deviceType. I am not sure how to translate the  "deviceTypeId": "3258906253983744", (if this is the right one). I cant find the API to translate deviceTypeId.

{
2  "deviceTypeCount": "senve",
3  "deviceTypes": [
4    {
5      "children": {
6        "circular_reference": "#/definitions/sevone.api.v3.DeviceTypesFilterResponse.DeviceTypeInfo"
7      },
8      "deviceCount": "maetoviwuwovovoz",
9      "deviceTypeId": "3258906253983744",
10      "deviceTypeName": "Chris Holloway",
11      "deviceTypeParentId": "3668232317698048"
12    }
13  ]
14}

FYI, we also tried with our SevOne instance (v6.2.0 & API version 2.20.0.) provided by SevOne team but is not available in the Swagger. All we get is a bad response.  

Idea priority Low
  • Admin
    Matt Sweet
    Reply
    |
    Apr 18, 2024

    If you have setup the classifications yourself, the heirarchy should be returned in your API response. In my example above, the parent type is "Generic" however in your case it may be "Switch" or "Router" if you've set it up that way.

  • Admin
    Matt Sweet
    Reply
    |
    Apr 18, 2024

    Unfortunately we do not classify devices at this time in that manner automatically. This is something we are looking to improve though, so I'm going to take your need into consideration as we prioritize and design the solution. Thanks for the clarification!

  • Guest
    Reply
    |
    Apr 18, 2024

    Hi Matt,

    Thank you for the prompt response. I have two questions:

    a) Referring to your response sample, I don't see the expected classification ie. host, router or switch.
    b) Is there any specific version that has this API? As I wrote in the description above, the SevOne instance that we are currently using is v6.2.0 and API version 2.20.0. We don't see this API in the Swagger page -> https://sevone.tivlab.raleigh.ibm.com/api/v3/docs#/. When we tried the API, all we get is a "bad request" response. Do you have an instance that we can play around?


  • Admin
    Matt Sweet
    Reply
    |
    Apr 17, 2024

    Hello Ariff,

    You should be using /api/v3/devicetypes/filter, given a device id or device name this endpoint will return all device types that device is a member of. Be sure to descend into the children as our device types are hierarchical. You can get both the device type name and ID here. Let me know if you have any questions.


    Here is a response from one of my test systems:

    {
    
    "deviceTypes": [
    {
    "deviceTypeId": "42",
    "deviceTypeName": "All Device Types",
    "deviceTypeParentId": "1",
    "deviceCount": "1",
    "children": [
    {
    "deviceTypeId": "43",
    "deviceTypeName": "Generic",
    "deviceTypeParentId": "42",
    "deviceCount": "1",
    "children": [
    {
    "deviceTypeId": "44",
    "deviceTypeName": "Cisco IOS",
    "deviceTypeParentId": "43",
    "deviceCount": "1",
    "children": []
    }
    ]
    }
    ]
    }
    ],
    "deviceTypeCount": "3"
    }