Introduction
Mimir - An API Gateway and Runtime Platform
Mimir is a batteries included API framework.
At its core, Mimir is a set of tools and an architecture pattern that make it easy to create scalable REST APIs. With Mimir, you can literally build prototypes in minutes and production-ready APIs in days.
Mimir is a lightweight API Gateway, Management Platform, and Runtime that enables you to control who accesses your API, when they access it and how they access it. It also provides the ability to easily expose access to various databases and systems that do not currently have REST APIs. Mimir will also record detailed analytics on how your users are interacting with your API and when things go wrong.
Mimir achieves this by being the glue between some amazing battle-tested open-source technologies - adding a few minimal abstractions and introducing an application architecture that is easier to understand, maintain, and scale.
Why Mimir?
Mímir (Old Norse “The rememberer, the wise one”) or Mim is a figure in Norse mythology renowned for his knowledge and wisdom Wikipedia
What is an API Gateway?
An API Gateway sits in front of your application(s) and/or services and manages the heavy lifting of authorisation, access control and throughput limiting to your services. Ideally, it should mean that you can focus on creating services instead of implementing management infrastructure. For example, if you have written a really awesome web service that provides geolocation data for all the cats in NYC, and you want to make it public, integrating an API gateway is a faster, more secure route than writing your own authorisation middleware.
Key Features
This API Gateway offers powerful, yet lightweight features that allows fine gained control over your API ecosystem.
- Simple API Definitions in YAML, JSON, or XML (with support for Swagger and RAML)
- Drivers supporting: SQL (Oracle, MySQL, Postgres), REST, NoSQL (MongoDB), Cassandra, and more…
- API Lifecycle Management via “GitOps” - Manage APIs using Git and Webhooks
- AAA – OAuth2/SSO + LDAP + RBAC Policies + Service Authorization policies
- Automatic API Documentation
- Generic API Clients in many popular languages (Python, Perl, Javascript, Nodejs)
- Hot-reloading of configuration
- Detailed API Usage logging
- HTTP Streaming for Large requests (Chunked Encoding)
- Async APIs (Websockets) - TBD
- Simple status monitoring
- Developer tools - APIs, CLI, etc.
- Template-driven Request/Response Transforms
- more…
Using Mimir
Mimir is available to all Cisco employees. Please refer to the Mimir Community to Get Started!
Client Libraries
In addition to a REST API, Mimir supports the following client libraries:
Language | Download |
---|---|
Python | mimir-python-client |
Perl | mimir-perl-client |
Javascript | mimir.js |
Services
As Mimir provides access to several backend services
, each service
is given its own namespace in the API. The general URI structure of Mimir is /api/mimir/{service}/{request}
where:
service
is the namespace of the requested service (e.g.np
)request
is an available method for that service (e.g.companies
).
Users can request a list of services and input/output parameters via:
/api/mimir
- Provides a list of all services and requests supported by the system/api/mimir/{service}
- Provides a list of requests supported by the specificservice
(e.g./api/mimir/np
)
Schema
The following is a truncated sample of the default JSON response:
{
"meta": {
"pagination": { "rows": 781, "total": 781, "pages": 1, "page": 1 },
"attributes": {
"auth": { "userid": "eforbus" },
"request": "companies",
"queryTime": 0.168153,
"base_url": "https://mimir-prod.cisco.com/api/mimir/np/companies",
"service": "companies",
"action": "route",
"scope": "NP",
"controller": "Mimir"
},
"status": { "status": 1, "state": "PASS", "code": 0 }
},
"data": [ ]
}
All API access is over HTTP/S, and accessed from the cisco.com
domain. All data is sent and received as JSON.
The base URI for access to Mimir is https://mimir-prod.cisco.com/api/mimir
Blank fields are included as null
instead of being omitted.
All timestamps are returned in ISO 8601 format:
YYYY-MM-DDTHH:MM:SS
All response payloads return an object with the following attributes:
Name | Description |
---|---|
meta | The meta object includes Meta-data including information about pagination, authentication, input parameters, query execution time, and more. |
data | An array of result objects. The contents of each object is defined further in the docs and is specific to each API. |
Swagger
Download Mimir’s Swagger API Spec and browse the API using the Swagger UI.
Parameters
In this example, :np
service
is queried using the :groupsrequest
and the requiredcpyKey
input parameter is appended to the HTTP query string.
curl -XGET -i "https://mimir-prod.cisco.com/api/mimir/np/groups?cpyKey=123456"
from mimir import Mimir
m = Mimir()
groups = m.np.groups.get(cpyKey=123456)
Many API methods take required and/or optional parameters. For HTTP GET requests, any parameters can be passed as an HTTP query string parameter.
Repeated Parameters
For some input parameters, the option for repeated input is supported. This means that the parameter supports either a single input or an array of inputs if the repeat option is true. You can find out if an input supports Repeat by checking for true vs. false in the Query Parameters table for the service in question.
In these examples, we see how to leverage a repeated parameter using CURL or via any HTTP client and in Python. For HTTP, notice that the field name key value pair must be repeated.
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/cli?cpyKey=1500&command=show version&command=show cdp neighbors"
from mimir import Mimir
m = Mimir()
cli = m.np.cli.get(cpyKey=1500, command=['show version', 'show cdp neighbors'])
Content Formatting
The API supports multiple content formatting options for most services.
Formatting Input
Output formats can be selected in a number of ways, as shown below:
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/companies.json"
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/companies?format=json"
curl -XGET -H "Accept: application/json" "https://mimir-prod.cisco.com/api/mimir/np/companies"
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/companies.xml"
from mimir import Mimir
m = Mimir()
# get companies in CSV format and write to file
companies = m.np.companies.get(format='csv')
with open('companies.csv', 'wb') as f:
f.write(companies)
Format HTTP Parameter
Format choices can be controlled via the following parameter to the HTTP GET request:
Name | Type | Required | Default | Example | Definition |
---|---|---|---|---|---|
format | string | false | json | json | The output format desired. Supported formats include: json, xml, tsv, and csv. |
Format Headers
As an alternative, users may also leverage the Accept
HTTP Header to specify output format. The Accept HTTP Header is used to specify media types that are acceptible by the client for response.
The following provides a list of supported Accept header values:
Header Value | Format | Description |
---|---|---|
application/json | json | (default) JavaScript Object Notation |
application/xml | xml | XML output |
text/csv | csv | Comma Separated Values (useful in Excel and other spreadsheet software) |
text/tsv | tsv | Tab Separated Values |
On response, Mimir properly sets the Content-Type HTTP Header to the correct mime type corresponding to the selected format.
HTTP Response Codes and Error Handling
The API pretty much adheres to REST API “standards” when it comes to response codes using the following guidelines
Error Code | Meaning |
---|---|
200 | Success |
400 | Bad Request |
401 | Unauthorized |
403 | Access Forbidden |
404 | Not Found |
40X | Some Client side issue (depends on the request) |
500 | Internal Server Error |
503 | Service Unavailable |
Error Messages
An example JSON error response is shown below
{
"reason": "Access to the resource is forbidden",
"error": "Access Forbidden",
"code": 403
}
API error responses are comprised of 2 parts:
- The relevant HTTP status code (above)
- A JSON object with
error
, which is the error type (e.g. Bad Request), andreason
, which provides more detail about the error.
Content Compression
An example of manually setting gzip Accept-Encoding is shown below:
curl -XGET -H "Accept-Encoding: gzip"\
-i "https://mimir-prod.cisco.com/api/mimir"
HTTP/1.1 200 OK
Content-Length: 8621
X-Mimir-Version: 1.0
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: Content-Type, Authorization, X-Requested-With
Access-Control-Max-Age: 3600
Access-Control-Allow-Methods: GET, PUT, POST, DELETE, OPTIONS
Content-Encoding: gzip
X-Mimir-Environment: dev
Vary: Accept-Encoding
Server: Mojolicious (Perl)
Date: Mon, 02 Nov 2015 15:31:26 GMT
Access-Control-Expose-Headers: X-Mimir-Host, X-Mimir-Version, X-Mimir-Environment
Content-Type: application/json;charset=UTF-8
X-Mimir-Host: mimir-dev
Set-Cookie: authorization=loggedIn; expires=Mon, 02 Nov 2015 18:31:26 GMT; domain=cisco.com; path=/
Set-Cookie: ObSSOCookie=GoNrP2KskraDlxYYk1M%2BBqaBvrBG46sFzaMbNy%2BaUTZcwSp7cLnpN9kfrvMGYmFdaKA6%2FQUo%2Baucr4oA5maevdKW0MUtzG%2FW69do52uA0yAkA3UyJCosDjQHVG6uTZxHC8U1KCuun2hMGm4mpxRE5GNslvTInY6Q%2F00hdAZCW7r%2F67MXVDPGINtyD9rsc4rO8KcFNEOLN8Kue8w9NC8QfePpY1%2FIoww6IjKlRHDUyNQBmo0GG5XwNEiuouSmocPc%2FwNGVmR4LNdHIQbFjaS1Ulx7b5p3mMko0QpgzGoEqnLOin5NovOqxLYMln4V%2FIFngmq2K9T7iVjdRJE%2BqzazzD5ZGzRYUO3IpUzVLJinCgY%3D; expires=Mon, 02 Nov 2015 18:31:26 GMT; domain=cisco.com; path=/
Set-Cookie: ObSSOCookietimer=1446478346; domain=cisco.com; path=/
Access-Control-Allow-Origin: *
All Mimir payloads are optionally compressed using gzip
encoding to help minimize network transport overhead. HTTP clients can take advantage of this by leveraging the Accept-Encoding
HTTP header. If successful the server will set the Vary
header to Accept-Encoding
and the Content-Encoding
header to gzip
. Its then left up to the client to decrypt the payload.
Cross Origin Resource Sharing
In order to make requests to the API from other domains, the API implements Cross Origin Resource Sharing (CORS) support.
CORS support is generally used to create AJAX requests outside of the domain that the request originated from. This is necessary to implement projects like control panels utilizing the API. This tells the browser that it can send requests to an outside domain.
The procedure that the browser initiates in order to perform these actions (other than GET requests) begins by sending a “preflight” request. This sets the Origin
header and uses the OPTIONS
method. The server will reply back with the methods it allows and some of the limits it imposes. The client then sends the actual request if it falls within the allowed constraints.
This process is usually done in the background by the browser, but you can use curl to emulate this process using the example provided. The headers that will be set to show the constraints are:
- Access-Control-Allow-Origin: This is the domain that is sent by the client or browser as the origin of the request. It is set through an
Origin
header. - Access-Control-Allow-Methods: This specifies the allowed options for requests from that domain. This will generally be all available methods.
- Access-Control-Expose-Headers: This will contain the headers that will be available to requests from the origin domain.
- Access-Control-Max-Age: This is the length of time that the access is considered valid. After this expires, a new preflight should be sent.
- Access-Control-Allow-Credentials: This will be set to
true
. It basically allows you to send your OAuth token for authentication.
You should not need to be concerned with the details of these headers, because the browser will typically do all of the work for you.
Here’s a sample request sent from a browser hitting http://example.com:
curl -i -X OPTIONS -H "Origin: http://example.com"\
"https://mimir-prod.cisco.com/api/mimir"
HTTP/1.1 200 OK
Content-Length: 0
X-Mimir-Host: mimir-dev
X-Mimir-Version: 1.0
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: Content-Type, Authorization, X-Requested-With
Access-Control-Max-Age: 3600
Access-Control-Allow-Methods: GET, PUT, POST, DELETE, OPTIONS
X-Mimir-Environment: dev
Access-Control-Allow-Origin: http://example.com
Server: Mojolicious (Perl)
Access-Control-Expose-Headers: X-Mimir-Host, X-Mimir-Version, X-Mimir-Environment
Date: Mon, 02 Nov 2015 15:25:21 GMT
Content-Type: text/html;charset=UTF-8
The API supports Cross Origin Resource Sharing (CORS) for AJAX requests from any origin. You can read the CORS W3C Recommendation, or this intro from the HTML 5 Security Guide.
Pagination
The API supports pagination for most services.
Pagination Input
Pagination input fields are used as follows. The request below selects page 2 of the result set with 20 rows per page:
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/companies?page=2&rows=20"
from mimir import Mimir
m = Mimir(paging=True)
companies = m.np.companies.get(page=2, rows=20)
Pagination output can be controlled via the following parameters to the HTTP GET request:
Name | Type | Required | Default | Example | Definition |
---|---|---|---|---|---|
page | integer | false | 0 | 1 | The page number to be retrieved where the size of the pages must be specified by the rows parameter. Paging is disabled by default. |
rows | integer | false | 1000 | 100 | The number of items being retrieved on the page. |
Pagination Output
An example JSON response with pagination meta-data is shown below:
{
"meta": {
"pagination": {
"total": 786,
"rows": 786,
"pages": 1,
"page": 1
},
...
},
"data": []
}
The paginated response always consists of a meta.pagination
object with the following attributes:
Name | Type | Example | Definition |
---|---|---|---|
rows | integer | 100 | The current number of items being retrieved on the page. |
total | integer | 1000 | The total number of items over all pages. |
pages | integer | 10 | The total number of pages. |
page | integer | 1 | The current page number. |
Pagination HTTP Headers
Pagination outout headers are used as follows. The request below selects page 2 of the result set with 20 rows per page:
curl -i -XGET "https://mimir-prod.cisco.com/api/mimir/np/companies?page=2&rows=20"
X-Total-Count: 784
Link: <https://mimir-prod.cisco.com/api/mimir/np/companies?rows=20&page=1>; rel="prev",
<https://mimir-prod.cisco.com/api/mimir/np/companies?rows=20&page=3>; rel="next",
<https://mimir-prod.cisco.com/api/mimir/np/companies?rows=20&page=40>; rel="last"
In addition to the meta.pagination
response, pagination details have been added to HTTP response headers as an additional convenience. These headers are especially handy if an API user decides to leverage an output format like csv
or tsv
as the pagination data is NOT included in the output response. The pagination headers are as follows:
X-Total-Count
- The count of the total number of rows in the responseLink
- The link header provides one or more, comma-delimited, URL links conforming to the HTTP Header Link Spec.
Sorting
Sorting fields are used as follows. The example below request a sort by the cpyName column in descending order.
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/companies?sort=cpyName:desc"
Sorting output can be controlled via the following parameters to the HTTP GET request:
Name | Type | Required | Default | Example | Definition |
---|---|---|---|---|---|
sort | string | false | None | cpyName:desc | The list of comma-separated properties used to sort the results. By default, the column values are sorted in ascending order if no order is specified. Can either be in the form of fieldName or fieldName:asc,fieldName:desc. |
Filtering
Filter fields are used as follows. The example below requests only the cpyKey and cpyName fields in the resultset.
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/companies?fields=cpyKey,cpyName"
Filtering fields can be controlled via the following parameters to the HTTP GET request:
Name | Type | Required | Default | Example | Definition |
---|---|---|---|---|---|
fields | string | false | None | cpyKey,cpyName | Specify one or more fields to return in the result dataset. Multiple strings need to be comma-delimited. |
Authentication
The Mimir API provides 2 mechanisms for user authentication:
- HTTP Basic Authentication - Username and password authenticated via OAuth2 or Active Directory domain via LDAP (for generics).
- OAuth2 (Preferred) - Secure OAuth2 Access tokens via Cisco Cloud SSO (using Ping Identity as a provider)
- Single Sign On (SSO) - User SSO session Cookie to integrate with Cisco SSO infrastructure.
HTTP Basic Authentication
For example, if the user agent uses
cisco
as the username andcisco123
as the password, then the header is formed and used as follows:
curl -XGET -H "Authorization: Basic Y2lzY286Y2lzY28xMjM="\
"https://mimir-prod.cisco.com/api/mimir/np/companies"
from mimir import Mimir
m = Mimir(username='cisco', password='cisco123')
companies = m.np.companies.get()
The API currently suppports Basic HTTP access authorization and conforms to the standard (http://en.wikipedia.org/wiki/Basic_access_authentication).
When the client makes a request, it must add the Authorization header to the user agent request. The Authorization header is constructed as follows:
- The Username and Password are combined into a string
username:password
- The resulting string is encoded using Base64
- The authorization method (e.g.
Basic
) is put before the string in the header.
OAuth2
This API supports OAuth2 Authentication and will validate tokens provided by any of the following grant types:
- Authorization Code
authorizationCode
: for apps running on a web server, browser-based and mobile apps used with server-side Applications - Client Credentials
client_credentials
: for logging in using client_id/secret only. Typically used for Application or “Machine-to-Machine” API access - Resource Owner or Password
password
: for logging in with a username and password. Typically used with trusted Applications, such as those owned by the service itself - Implicit
implicit
: used with Mobile Apps or Web Applications (applications that run on the user’s device). Implicit was previously recommended for clients without a secret, but has been superseded by using the Authorization Code grant with no secret.
Authenticating via OAuth requires the following steps:
- Create a Client
- Generate a Token
- Make Authenticated Requests
In order to make requests to this API that leverage OAuth2, each request must contain an Authorization
header providing a valid Bearer
token (the OAuth2 access token). In order to an OAuth2 access token, you must follow the correct procedure associated with the grant type chosen by your client.
Create a Client
- External Users should go to https://apiconsole.cisco.com/ and follow the instructions outlined in the API Platform Documentation in order to register an application and generate a new OAuth2 client.
- Internal Users are recommended to use the Policy Management Tool - PMT to create a new OAuth2 client.
NOTE: If you are required to specify a list of OAuth2 scopes when creating the new client, this API requires the following: openid, email, profile by default. These scopes should also be specified when generating access tokens.
Generate a Token
Resource Owner/Password Grant Type Example
curl -X POST -H "Content-Type: application/x-www-form-urlencoded"\
-d "grant_type=password" -d "client_id=$(client_id)"\
-d "client_secret=$(client_secret)" -d "scope=openid+profile+email"\
-d "username=$(userid)" -d "password=$(password)"\
"https://cloudsso.cisco.com/as/token.oauth2"
Client Credentials Grant Type Example
curl -X POST -H "Content-Type: application/x-www-form-urlencoded"\
-d "grant_type=client_credentials" -d "client_id=$(client_id)"\
-d "client_secret=$(client_secret)" -d "scope=openid+profile+email"\
"https://cloudsso.cisco.com/as/token.oauth2"
Token Response Example
{
"access_token": "7mJ1sGjaWcqq2Tm6yI6dX0GEcFrZ",
"refresh_token": "kNiKgYcVQmYKOpgBzOzatrbei6fiZMGXgG89O4K0z1",
"token_type": "Bearer",
"expires_in": 3599
}
Make Authenticated Requests
To authenticate subsequent API requests, you must provide a valid bearer token in an HTTP header:
curl -H "Authorization: Bearer 7mJ1sGjaWcqq2Tm6yI6dX0GEcFrZ" \
"https://mimir-prod.cisco.com/api/mimir/np/companies"
from mimir import Mimir
m = Mimir(access_token='7mJ1sGjaWcqq2Tm6yI6dX0GEcFrZ')
companies = m.np.companies.get()
Single Sign On (SSO)
The following example shows how to specify the Cookie header for authentication:
curl -XGET -H "Cookie: ObSSOCookie=eyJ1c2VyaWQiOiJlZm9yYnVz..."\
"https://mimir-prod.cisco.com/api/mimir/np/companies"
from mimir import Mimir
m = Mimir(cookies={'ObSSOCookie':"uMGAEDbEy9wIkSDIJZIfKAvymEFaES7rm0EnKq..."})
companies = m.np.companies.get()
SSO or Single-sign-on leverages the Cisco SSO infrastructure to provide authentication via SSO Cookie. This can be used for authenticating user or/and authorizing whether it has sufficient rights to access given service/request.
The SSO Cookie must be provided via HTTP Cookie Header using the ObSSOCookie
cookie. For example:
Access Control
Mimir access control is provided on a per service
basis and administration/access rights are provided by the service owner.
Accounting
All Mimir API requests are logged for utilization and metrics gathering purposes.
AUTH
The Auth service provides APIs used internally by Mimir for authentication and user lookup.
- Version: v1.0.0
- Owner: mimir-support@cisco.com
- Contact: mimir-support@cisco.com
- Homepage: https://mimir-prod.cisco.com/api
AUTH Login
Mimir Authentication
HTTP Request
curl -XPOST -H 'userid: userid' -H 'password: password' "https://mimir-prod.cisco.com/api/mimir/auth/login"
from mimir import Mimir
m = Mimir()
login = m.auth.login.post(headers={'userid': 'userid', 'password': 'password'})
Header Parameters
Header parameters must be sent via HTTP request headers.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
userid | string | true | false | None | userid | Cisco userid - The Cisco userid to be used for authentication. |
password | string | true | false | None | password | Cisco password - The password associated with the provided Cisco userid. |
Response
Name | Type | Example | Definition |
---|---|---|---|
authTime | integer | The number of seconds expired during user authentication. | |
displayName | string | Full name associated with a user. | |
string | An email address. | ||
remoteAddress | string | The IP Address of the requesting, remote client. | |
roles | string | A list of one or more roles associated with a user. | |
userAgent | string | The User Agent of the requesting, remote client. | |
userid | string | A Cisco userid. |
AUTH Me
Mimir Current User
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/auth/me"
from mimir import Mimir
m = Mimir()
me = m.auth.me.get()
Response
Name | Type | Example | Definition |
---|---|---|---|
authTime | integer | The number of seconds expired during user authentication. | |
displayName | string | Full name associated with a user. | |
string | An email address. | ||
remoteAddress | string | The IP Address of the requesting, remote client. | |
roles | string | A list of one or more roles associated with a user. | |
userAgent | string | The User Agent of the requesting, remote client. | |
userid | string | A Cisco userid. |
BCIAPI
Operations Insights
- Version: v1.0.0
- Owner: BCI bci-sso-dev-team@cisco.com
- Contact: bci-sso-dev bci-sso-dev-team@cisco.com
- Homepage: https://bci-c1.cisco.com (Internal Portal for Operations Insights)
BCIAPI History Reset
History reset provides all the resets known for each device as a list of resets.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bciapi/history_reset?earliest=-3d@d&cpyKey=81714"
from mimir import Mimir
m = Mimir()
history_reset = m.bciapi.history_reset.get(earliest='-3d@d', cpyKey=81714)
GET
/api/mimir/bciapi/history_reset
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
earliest | string | true | false | None | -3d@d | earliest - Specifies the earliest _time(time when a certain event was generated or processed in BCI/NP)for the time range of your search.For ex: earliest=-3d@d would get all the events processed/generated from 3days ago and after. |
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
BCIAPI Latest Reset
This API provides insights into devices that have crashed and the reason for the crash.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bciapi/latest_reset?earliest=-3d@d&cpyKey=81714"
from mimir import Mimir
m = Mimir()
latest_reset = m.bciapi.latest_reset.get(earliest='-3d@d', cpyKey=81714)
GET
/api/mimir/bciapi/latest_reset
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
earliest | string | true | false | None | -3d@d | earliest - Specifies the earliest _time(time when a certain event was generated or processed in BCI/NP)for the time range of your search.For ex: earliest=-3d@d would get all the events processed/generated from 3days ago and after. |
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
BCIAPI Risk Mitigation Detail
Risk Mitigation Detail provides risk insights for all the devices.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bciapi/risk_mitigation_detail?cpyKey=81714"
from mimir import Mimir
m = Mimir()
risk_mitigation_detail = m.bciapi.risk_mitigation_detail.get(cpyKey=81714)
GET
/api/mimir/bciapi/risk_mitigation_detail
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
BCIAPI Risk Mitigation Summary
Risk Mitigation summary provides aggregate risk details per product family. It provides insights into how many devices that are at High, Medium, and Low risk per product family.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bciapi/risk_mitigation_summary?cpyKey=81714"
from mimir import Mimir
m = Mimir()
risk_mitigation_summary = m.bciapi.risk_mitigation_summary.get(cpyKey=81714)
GET
/api/mimir/bciapi/risk_mitigation_summary
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
BCIAPI Syslog Daily Statistics
Provides insights into what syslog events have occurred on the network, how often they occurred, what devices were involved, and how severe the events seen were.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bciapi/syslog_daily_statistics?earliest=-3d@d&latest=-2d@d&severity=4&cpyKey=81714"
from mimir import Mimir
m = Mimir()
syslog_daily_statistics = m.bciapi.syslog_daily_statistics.get(earliest='-3d@d', latest='-2d@d', severity='4', cpyKey=81714)
GET
/api/mimir/bciapi/syslog_daily_statistics
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
earliest | string | true | false | None | -3d@d | earliest - Specifies the earliest _time(time when a certain event was generated or processed in BCI/NP)for the time range of your search.For ex: earliest=-3d@d would get all the events processed/generated from 3days ago and after. |
latest | string | true | false | None | -2d@d | latest - Specifies the latest _time(time when a certain event was generated or processed in BCI/NP)for the time range of your search.For ex: latest=-2d@d would get all the events processed/generated till 2days ago and before. |
severity | string | true | false | None | 4 | severity - Specifies the range for syslog event severity. |
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
BCIAUDITS
Operations Insights
- Version: v1.0.0
- Owner: BCI bci-sso-dev-team@cisco.com
- Contact: bci-sso-dev bci-sso-dev-team@cisco.com
- Homepage: https://bci-c1.cisco.com (Internal Portal for Operations Insights)
BCIAUDITS Bcs Contracts
BCS Contracts provides the list of active BCS Contracts by region and country
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bciaudits/bcs_contracts"
from mimir import Mimir
m = Mimir()
bcs_contracts = m.bciaudits.bcs_contracts.get()
GET
/api/mimir/bciaudits/bcs_contracts
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
earliest | string | false | false | None | -3d@d | earliest - Specifies the earliest _time(time when a certain event was generated or processed in BCI/NP)for the time range of your search.For ex: earliest=-3d@d would get all the events processed/generated from 3days ago and after. |
cpyKey | integer | false | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
BCIBM
Operations Insights
- Version: v1.0.0
- Owner: BCI bci-sso-dev-team@cisco.com
- Contact: bci-sso-dev bci-sso-dev-team@cisco.com
- Homepage: https://bci-c1.cisco.com (Internal Portal for Operations Insights)
BCIBM Cbp Peer Avg Bprwithexceptions Count By Category
cbp_peer_avg_bprwithexceptions_count_by_category
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bcibm/cbp_peer_avg_bprwithexceptions_count_by_category?lineOfBusiness=lineOfBusiness&naic=naic&naicsubcategory=naicsubcategory®ion=region&endcustomersize=endcustomersize"
from mimir import Mimir
m = Mimir()
cbp_peer_avg_bprwithexceptions_count_by_category = m.bcibm.cbp_peer_avg_bprwithexceptions_count_by_category.get(lineOfBusiness='lineOfBusiness', naic='naic', naicsubcategory='naicsubcategory', region='region', endcustomersize='endcustomersize')
GET
/api/mimir/bcibm/cbp_peer_avg_bprwithexceptions_count_by_category
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | false | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
lineOfBusiness | string | true | false | None | lineOfBusiness | LINEOFBUSINESS - |
naic | string | true | false | None | naic | NAIC - |
naicsubcategory | string | true | false | None | naicsubcategory | NAICSubCategory - |
region | string | true | false | None | region | Region - |
endcustomersize | string | true | false | None | endcustomersize | EndCustomerSize - |
Response
Name | Type | Example | Definition |
---|
BCIBM Cbp Peer Avg Bprwithexceptions Count By Risk
Peer averageof, unique count of cbp rules ofeach risk level, that have at least one exception for a given customer.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bcibm/cbp_peer_avg_bprwithexceptions_count_by_risk?lineOfBusiness=lineOfBusiness&naic=naic&naicsubcategory=naicsubcategory®ion=region&endcustomersize=endcustomersize&cpyKey=81714"
from mimir import Mimir
m = Mimir()
cbp_peer_avg_bprwithexceptions_count_by_risk = m.bcibm.cbp_peer_avg_bprwithexceptions_count_by_risk.get(lineOfBusiness='lineOfBusiness', naic='naic', naicsubcategory='naicsubcategory', region='region', endcustomersize='endcustomersize', cpyKey=81714)
GET
/api/mimir/bcibm/cbp_peer_avg_bprwithexceptions_count_by_risk
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
lineOfBusiness | string | true | false | None | lineOfBusiness | LINEOFBUSINESS - |
naic | string | true | false | None | naic | NAIC - |
naicsubcategory | string | true | false | None | naicsubcategory | NAICSubCategory - |
region | string | true | false | None | region | Region - |
endcustomersize | string | true | false | None | endcustomersize | EndCustomerSize - |
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
BCIBM Cbp Peer Avg Monthly Exceptions By Category
Display peer group average of total number of CBP exceptions of specific category, for specific month
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bcibm/cbp_peer_avg_monthly_exceptions_by_category"
from mimir import Mimir
m = Mimir()
cbp_peer_avg_monthly_exceptions_by_category = m.bcibm.cbp_peer_avg_monthly_exceptions_by_category.get()
GET
/api/mimir/bcibm/cbp_peer_avg_monthly_exceptions_by_category
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | false | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
BCIBM Cbp Peer Avg Monthly Exceptions By Risk
Display average total BP exceptions for selected peer group, by risk-level, each month.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bcibm/cbp_peer_avg_monthly_exceptions_by_risk"
from mimir import Mimir
m = Mimir()
cbp_peer_avg_monthly_exceptions_by_risk = m.bcibm.cbp_peer_avg_monthly_exceptions_by_risk.get()
GET
/api/mimir/bcibm/cbp_peer_avg_monthly_exceptions_by_risk
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | false | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
BCIBM Cbp Peer Avg Monthly Exceptions Per Device
cbp_peer_avg_monthly_exceptions_per_device
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bcibm/cbp_peer_avg_monthly_exceptions_per_device?lineOfBusiness=lineOfBusiness&naic=naic&naicsubcategory=naicsubcategory®ion=region&endcustomersize=endcustomersize&cpyKey=81714"
from mimir import Mimir
m = Mimir()
cbp_peer_avg_monthly_exceptions_per_device = m.bcibm.cbp_peer_avg_monthly_exceptions_per_device.get(lineOfBusiness='lineOfBusiness', naic='naic', naicsubcategory='naicsubcategory', region='region', endcustomersize='endcustomersize', cpyKey=81714)
GET
/api/mimir/bcibm/cbp_peer_avg_monthly_exceptions_per_device
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
lineOfBusiness | string | true | false | None | lineOfBusiness | LINEOFBUSINESS - |
naic | string | true | false | None | naic | NAIC - |
naicsubcategory | string | true | false | None | naicsubcategory | NAICSubCategory - |
region | string | true | false | None | region | Region - |
endcustomersize | string | true | false | None | endcustomersize | EndCustomerSize - |
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
BCIBM Cbp Peer Avg Percentage Inventory Affected
Display peer group average percentage inventory affected by CBP rule
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bcibm/cbp_peer_avg_percentage_inventory_affected"
from mimir import Mimir
m = Mimir()
cbp_peer_avg_percentage_inventory_affected = m.bcibm.cbp_peer_avg_percentage_inventory_affected.get()
GET
/api/mimir/bcibm/cbp_peer_avg_percentage_inventory_affected
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | false | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
BCIBM Cbp Peer Median Total Exceptions By ElementType
Display Peer median value of total CBP exceptions, for each device type/network element type, that is available in the inventory of a given customer.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bcibm/cbp_peer_median_total_exceptions_by_elementtype?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cbp_peer_median_total_exceptions_by_elementtype = m.bcibm.cbp_peer_median_total_exceptions_by_elementtype.get(cpyKey=81714)
GET
/api/mimir/bcibm/cbp_peer_median_total_exceptions_by_elementType
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
BCIBM Cbp Percentage More Exposed Than Others
Display percentage difference of inventory that does not comply with a CBP than others in the selected peer group
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bcibm/cbp_percentage_more_exposed_than_others"
from mimir import Mimir
m = Mimir()
cbp_percentage_more_exposed_than_others = m.bcibm.cbp_percentage_more_exposed_than_others.get()
GET
/api/mimir/bcibm/cbp_percentage_more_exposed_than_others
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | false | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
BCIBM Chassis Inventory By Pf Peer Avg
Average percentage of chassis inventory that are of aProduct Family for specified peer group of customers
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bcibm/chassis_inventory_by_pf_peer_avg?lineOfBusiness=lineOfBusiness&naic=naic&naicsubcategory=naicsubcategory®ion=region&endcustomersize=endcustomersize"
from mimir import Mimir
m = Mimir()
chassis_inventory_by_pf_peer_avg = m.bcibm.chassis_inventory_by_pf_peer_avg.get(lineOfBusiness='lineOfBusiness', naic='naic', naicsubcategory='naicsubcategory', region='region', endcustomersize='endcustomersize')
GET
/api/mimir/bcibm/chassis_inventory_by_pf_peer_avg
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | false | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
lineOfBusiness | string | true | false | None | lineOfBusiness | LINEOFBUSINESS - |
naic | string | true | false | None | naic | NAIC - |
naicsubcategory | string | true | false | None | naicsubcategory | NAICSubCategory - |
region | string | true | false | None | region | Region - |
endcustomersize | string | true | false | None | endcustomersize | EndCustomerSize - |
Response
Name | Type | Example | Definition |
---|
BCIBM Chassis Inventory By Pid Peer Avg
Peer avg of Percentage Chassis Inventory by Chassis Product ID
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bcibm/chassis_inventory_by_pid_peer_avg?lineOfBusiness=lineOfBusiness&naic=naic&naicsubcategory=naicsubcategory®ion=region&endcustomersize=endcustomersize&cpyKey=81714"
from mimir import Mimir
m = Mimir()
chassis_inventory_by_pid_peer_avg = m.bcibm.chassis_inventory_by_pid_peer_avg.get(lineOfBusiness='lineOfBusiness', naic='naic', naicsubcategory='naicsubcategory', region='region', endcustomersize='endcustomersize', cpyKey=81714)
GET
/api/mimir/bcibm/chassis_inventory_by_pid_peer_avg
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
lineOfBusiness | string | true | false | None | lineOfBusiness | LINEOFBUSINESS - |
naic | string | true | false | None | naic | NAIC - |
naicsubcategory | string | true | false | None | naicsubcategory | NAICSubCategory - |
region | string | true | false | None | region | Region - |
endcustomersize | string | true | false | None | endcustomersize | EndCustomerSize - |
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
BCIBM Fn Count Peer Comparison
Distribution of distinct Field Notice data exposure count for customers of a specified peer group.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bcibm/fn_count_peer_comparison?lineOfBusiness=lineOfBusiness&naic=naic&naicsubcategory=naicsubcategory®ion=region&endcustomersize=endcustomersize"
from mimir import Mimir
m = Mimir()
fn_count_peer_comparison = m.bcibm.fn_count_peer_comparison.get(lineOfBusiness='lineOfBusiness', naic='naic', naicsubcategory='naicsubcategory', region='region', endcustomersize='endcustomersize')
GET
/api/mimir/bcibm/fn_count_peer_comparison
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | false | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
lineOfBusiness | string | true | false | None | lineOfBusiness | LINEOFBUSINESS - |
naic | string | true | false | None | naic | NAIC - |
naicsubcategory | string | true | false | None | naicsubcategory | NAICSubCategory - |
region | string | true | false | None | region | Region - |
endcustomersize | string | true | false | None | endcustomersize | EndCustomerSize - |
Response
Name | Type | Example | Definition |
---|
BCIBM Fn Count Peer Median
Display median of fieldNoticeId count values
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bcibm/fn_count_peer_median?lineOfBusiness=lineOfBusiness&naic=naic&naicsubcategory=naicsubcategory®ion=region&endcustomersize=endcustomersize&cpyKey=81714"
from mimir import Mimir
m = Mimir()
fn_count_peer_median = m.bcibm.fn_count_peer_median.get(lineOfBusiness='lineOfBusiness', naic='naic', naicsubcategory='naicsubcategory', region='region', endcustomersize='endcustomersize', cpyKey=81714)
GET
/api/mimir/bcibm/fn_count_peer_median
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
lineOfBusiness | string | true | false | None | lineOfBusiness | LINEOFBUSINESS - |
naic | string | true | false | None | naic | NAIC - |
naicsubcategory | string | true | false | None | naicsubcategory | NAICSubCategory - |
region | string | true | false | None | region | Region - |
endcustomersize | string | true | false | None | endcustomersize | EndCustomerSize - |
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
BCIBM Fn More Exposed Than Others
Deviation of fieldNoticeId from median when compared to other customers
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bcibm/fn_more_exposed_than_others?lineOfBusiness=lineOfBusiness&naic=naic&naicsubcategory=naicsubcategory®ion=region&endcustomersize=endcustomersize"
from mimir import Mimir
m = Mimir()
fn_more_exposed_than_others = m.bcibm.fn_more_exposed_than_others.get(lineOfBusiness='lineOfBusiness', naic='naic', naicsubcategory='naicsubcategory', region='region', endcustomersize='endcustomersize')
GET
/api/mimir/bcibm/fn_more_exposed_than_others
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | false | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
lineOfBusiness | string | true | false | None | lineOfBusiness | LINEOFBUSINESS - |
naic | string | true | false | None | naic | NAIC - |
naicsubcategory | string | true | false | None | naicsubcategory | NAICSubCategory - |
region | string | true | false | None | region | Region - |
endcustomersize | string | true | false | None | endcustomersize | EndCustomerSize - |
Response
Name | Type | Example | Definition |
---|
BCIBM Inventory By Hw By Eox Peer Avg
Peer Avg of Percentage Inventory affected by EoX milestone for HW type
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bcibm/inventory_by_hw_by_eox_peer_avg?lineOfBusiness=lineOfBusiness&naic=naic&naicsubcategory=naicsubcategory®ion=region&endcustomersize=endcustomersize&hardwareType=hardwareType&eoXMilestone=eoXMilestone"
from mimir import Mimir
m = Mimir()
inventory_by_hw_by_eox_peer_avg = m.bcibm.inventory_by_hw_by_eox_peer_avg.get(lineOfBusiness='lineOfBusiness', naic='naic', naicsubcategory='naicsubcategory', region='region', endcustomersize='endcustomersize', hardwareType='hardwareType', eoXMilestone='eoXMilestone')
GET
/api/mimir/bcibm/inventory_by_hw_by_eox_peer_avg
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | false | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
lineOfBusiness | string | true | false | None | lineOfBusiness | LINEOFBUSINESS - |
naic | string | true | false | None | naic | NAIC - |
naicsubcategory | string | true | false | None | naicsubcategory | NAICSubCategory - |
region | string | true | false | None | region | Region - |
endcustomersize | string | true | false | None | endcustomersize | EndCustomerSize - |
hardwareType | string | true | false | None | hardwareType | hardwareType - |
eoXMilestone | string | true | false | None | eoXMilestone | eoXMilestone - |
Response
Name | Type | Example | Definition |
---|
BCIBM Peer Selection Filters
Displays the peer selection filter values for different customers in benchmarking
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bcibm/peer_selection_filters"
from mimir import Mimir
m = Mimir()
peer_selection_filters = m.bcibm.peer_selection_filters.get()
GET
/api/mimir/bcibm/peer_selection_filters
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | false | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
BCIBM Psirt Count By Eox Peer Median
PSIRT Count Peer Median by EoX milestone
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bcibm/psirt_count_by_eox_peer_median?cpyKey=81714&eoXMilestone=eoXMilestone&lineOfBusiness=lineOfBusiness&naic=naic&naicsubcategory=naicsubcategory®ion=region&endcustomersize=endcustomersize"
from mimir import Mimir
m = Mimir()
psirt_count_by_eox_peer_median = m.bcibm.psirt_count_by_eox_peer_median.get(cpyKey=81714, eoXMilestone='eoXMilestone', lineOfBusiness='lineOfBusiness', naic='naic', naicsubcategory='naicsubcategory', region='region', endcustomersize='endcustomersize')
GET
/api/mimir/bcibm/psirt_count_by_eox_peer_median
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
eoXMilestone | string | true | false | None | eoXMilestone | eoXMilestone - |
lineOfBusiness | string | true | false | None | lineOfBusiness | LINEOFBUSINESS - |
naic | string | true | false | None | naic | NAIC - |
naicsubcategory | string | true | false | None | naicsubcategory | NAICSubCategory - |
region | string | true | false | None | region | Region - |
endcustomersize | string | true | false | None | endcustomersize | EndCustomerSize - |
Response
Name | Type | Example | Definition |
---|
BCIBM Psirt Count Peer Comparison
Distribution of distinct psirts data exposure count for customers of a specified peer group.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bcibm/psirt_count_peer_comparison?lineOfBusiness=lineOfBusiness&naic=naic&naicsubcategory=naicsubcategory®ion=region&endcustomersize=endcustomersize"
from mimir import Mimir
m = Mimir()
psirt_count_peer_comparison = m.bcibm.psirt_count_peer_comparison.get(lineOfBusiness='lineOfBusiness', naic='naic', naicsubcategory='naicsubcategory', region='region', endcustomersize='endcustomersize')
GET
/api/mimir/bcibm/psirt_count_peer_comparison
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | false | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
lineOfBusiness | string | true | false | None | lineOfBusiness | LINEOFBUSINESS - |
naic | string | true | false | None | naic | NAIC - |
naicsubcategory | string | true | false | None | naicsubcategory | NAICSubCategory - |
region | string | true | false | None | region | Region - |
endcustomersize | string | true | false | None | endcustomersize | EndCustomerSize - |
Response
Name | Type | Example | Definition |
---|
BCIBM Psirt Count Peer Median
Display median of unique psirt count values of the customers of a specified peer group
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bcibm/psirt_count_peer_median?lineOfBusiness=lineOfBusiness&naic=naic&naicsubcategory=naicsubcategory®ion=region&endcustomersize=endcustomersize&cpyKey=81714"
from mimir import Mimir
m = Mimir()
psirt_count_peer_median = m.bcibm.psirt_count_peer_median.get(lineOfBusiness='lineOfBusiness', naic='naic', naicsubcategory='naicsubcategory', region='region', endcustomersize='endcustomersize', cpyKey=81714)
GET
/api/mimir/bcibm/psirt_count_peer_median
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
lineOfBusiness | string | true | false | None | lineOfBusiness | LINEOFBUSINESS - |
naic | string | true | false | None | naic | NAIC - |
naicsubcategory | string | true | false | None | naicsubcategory | NAICSubCategory - |
region | string | true | false | None | region | Region - |
endcustomersize | string | true | false | None | endcustomersize | EndCustomerSize - |
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
BCIBM Psirt More Exposed Than Others
Deviation of psirts from median when compared to other customers in the selected peer group
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bcibm/psirt_more_exposed_than_others?cpyKey=81714&lineOfBusiness=lineOfBusiness&naic=naic&naicsubcategory=naicsubcategory®ion=region&endcustomersize=endcustomersize"
from mimir import Mimir
m = Mimir()
psirt_more_exposed_than_others = m.bcibm.psirt_more_exposed_than_others.get(cpyKey=81714, lineOfBusiness='lineOfBusiness', naic='naic', naicsubcategory='naicsubcategory', region='region', endcustomersize='endcustomersize')
GET
/api/mimir/bcibm/psirt_more_exposed_than_others
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
lineOfBusiness | string | true | false | None | lineOfBusiness | LINEOFBUSINESS - |
naic | string | true | false | None | naic | NAIC - |
naicsubcategory | string | true | false | None | naicsubcategory | NAICSubCategory - |
region | string | true | false | None | region | Region - |
endcustomersize | string | true | false | None | endcustomersize | EndCustomerSize - |
Response
Name | Type | Example | Definition |
---|
BCIBM Swc Conf Peer Avg Of Inventory By Swversion
Distribution of distinct Field Notice data exposure count for customers of a specified peer group.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bcibm/swc_conf_peer_avg_of_inventory_by_swversion?lineOfBusiness=lineOfBusiness&naic=naic&naicsubcategory=naicsubcategory®ion=region&endcustomersize=endcustomersize&swversionnumber=swversionnumber"
from mimir import Mimir
m = Mimir()
swc_conf_peer_avg_of_inventory_by_swversion = m.bcibm.swc_conf_peer_avg_of_inventory_by_swversion.get(lineOfBusiness='lineOfBusiness', naic='naic', naicsubcategory='naicsubcategory', region='region', endcustomersize='endcustomersize', swversionnumber='swversionnumber')
GET
/api/mimir/bcibm/swc_conf_peer_avg_of_inventory_by_swversion
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | false | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
lineOfBusiness | string | true | false | None | lineOfBusiness | LINEOFBUSINESS - |
naic | string | true | false | None | naic | NAIC - |
naicsubcategory | string | true | false | None | naicsubcategory | NAICSubCategory - |
region | string | true | false | None | region | Region - |
endcustomersize | string | true | false | None | endcustomersize | EndCustomerSize - |
swversionnumber | string | true | false | None | swversionnumber | swVersionNumber - |
Response
Name | Type | Example | Definition |
---|
BCIBM Swc Peer Avg Swage By Month
The peer group median value of average software age for the month.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bcibm/swc_peer_avg_swage_by_month?lineOfBusiness=lineOfBusiness&naic=naic&naicsubcategory=naicsubcategory®ion=region&endcustomersize=endcustomersize"
from mimir import Mimir
m = Mimir()
swc_peer_avg_swage_by_month = m.bcibm.swc_peer_avg_swage_by_month.get(lineOfBusiness='lineOfBusiness', naic='naic', naicsubcategory='naicsubcategory', region='region', endcustomersize='endcustomersize')
GET
/api/mimir/bcibm/swc_peer_avg_swage_by_month
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | false | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
lineOfBusiness | string | true | false | None | lineOfBusiness | LINEOFBUSINESS - |
naic | string | true | false | None | naic | NAIC - |
naicsubcategory | string | true | false | None | naicsubcategory | NAICSubCategory - |
region | string | true | false | None | region | Region - |
endcustomersize | string | true | false | None | endcustomersize | EndCustomerSize - |
Response
Name | Type | Example | Definition |
---|
BCIBM Swc Peer Median Swconformance By Month
peer median value of percentage software conformance
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bcibm/swc_peer_median_swconformance_by_month?lineOfBusiness=lineOfBusiness&naic=naic&naicsubcategory=naicsubcategory®ion=region&endcustomersize=endcustomersize&cpyKey=81714"
from mimir import Mimir
m = Mimir()
swc_peer_median_swconformance_by_month = m.bcibm.swc_peer_median_swconformance_by_month.get(lineOfBusiness='lineOfBusiness', naic='naic', naicsubcategory='naicsubcategory', region='region', endcustomersize='endcustomersize', cpyKey=81714)
GET
/api/mimir/bcibm/swc_peer_median_swconformance_by_month
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
lineOfBusiness | string | true | false | None | lineOfBusiness | LINEOFBUSINESS - |
naic | string | true | false | None | naic | NAIC - |
naicsubcategory | string | true | false | None | naicsubcategory | NAICSubCategory - |
region | string | true | false | None | region | Region - |
endcustomersize | string | true | false | None | endcustomersize | EndCustomerSize - |
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
BCIBM Swc Peer Median Swdiversity By Month
peer median value of percentage software diversity, for each month of the last 6 months
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/bcibm/swc_peer_median_swdiversity_by_month?lineOfBusiness=lineOfBusiness&naic=naic&naicsubcategory=naicsubcategory®ion=region&endcustomersize=endcustomersize&cpyKey=81714"
from mimir import Mimir
m = Mimir()
swc_peer_median_swdiversity_by_month = m.bcibm.swc_peer_median_swdiversity_by_month.get(lineOfBusiness='lineOfBusiness', naic='naic', naicsubcategory='naicsubcategory', region='region', endcustomersize='endcustomersize', cpyKey=81714)
GET
/api/mimir/bcibm/swc_peer_median_swdiversity_by_month
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
lineOfBusiness | string | true | false | None | lineOfBusiness | LINEOFBUSINESS - |
naic | string | true | false | None | naic | NAIC - |
naicsubcategory | string | true | false | None | naicsubcategory | NAICSubCategory - |
region | string | true | false | None | region | Region - |
endcustomersize | string | true | false | None | endcustomersize | EndCustomerSize - |
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
BCIPVA
company key related information.
- Version: v1.0.0
- Owner: BCI bci-sso-dev-team@cisco.com
- Contact: bci-sso-dev bci-sso-dev-team@cisco.com
- Homepage: https://bci-c1.cisco.com (Internal Portal for Operations Insights)
CNA
Cisco Network Assessments (CNA) is the tool for scheduling AS Network Audits and processing the results into reports.
- Version: v1.0.0
- Owner: Ernesto Custodio ecustodi@cisco.com
- Contact: mimir-support@cisco.com
- Homepage: http://at-tools-prd-11/ASCNA/home.do
CNA Assessment Status
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cna/assessment_status"
from mimir import Mimir
m = Mimir()
assessment_status = m.cna.assessment_status.get()
GET
/api/mimir/cna/assessment_status
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | false | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
assessmentId | integer | false | false | None | 12345 | CNA Assessment ID - Unique id number associated with CNA assessments. |
Response
Name | Type | Example | Definition |
---|---|---|---|
assessmentId | integer | Unique id number associated with CNA assessments. | |
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
collector | string | no16 | The unique 4 character id for a Cisco collector. |
cpyName | string | The company name as defined in CSTG Support Central for display in AS Tools. |
CNA Audit Details
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cna/audit_details"
from mimir import Mimir
m = Mimir()
audit_details = m.cna.audit_details.get()
GET
/api/mimir/cna/audit_details
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
assessmentId | integer | false | false | None | 12345 | CNA Assessment ID - Unique id number associated with CNA assessments. |
Response
Name | Type | Example | Definition |
---|---|---|---|
assessmentId | integer | Unique id number associated with CNA assessments. | |
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
collector | string | no16 | The unique 4 character id for a Cisco collector. |
cpyName | string | The company name as defined in CSTG Support Central for display in AS Tools. |
COLD
COLD is a master source database for Services for Product Rules and Product Alert (EOX, FN, PSIRT) mapping
- Version: v1.0.0
- Owner: Chris Camplejohn
- Contact: ccamplej@cisco.com
- Homepage: http://wwwin-tools.cisco.com/COLD/pr/productRuleMatrix.do
COLD C3 Pids
C3 PIDs visible in COLD
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/c3_pids"
from mimir import Mimir
m = Mimir()
c3_pids = m.cold.c3_pids.get()
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
productId | string | false | false | None | productId | Product ID (PID) - The Cisco Product ID (PID) of the hardware as contained in Product IC. |
productIdClean | string | false | false | None | productIdClean | Product ID (PID) Clean - The Cisco Product ID (PID) of the hardware cleaned to remove any trailing “=” for spare. |
basePid | string | false | false | None | basePid | Base PID - The Base Product ID as reported by C3 or manually maintained in COLD. |
c3ProductFamily | string | false | false | None | C3550 | C3 Product Family - C3 Product Family. This is different from MDF Product Family and may be internal to Cisco and not intended for customers. |
Response
Name | Type | Example | Definition |
---|---|---|---|
productId | string | The Cisco Product ID (PID) of the hardware as contained in Product IC. | |
productIdClean | string | The Cisco Product ID (PID) of the hardware cleaned to remove any trailing “=” for spare. | |
pidDescription | string | SFP+ Module, 10GBASE-LR | C3 Product Description. |
c3StatusCode | string | ENABLE-OPT | C3 Status Code. |
c3ItemType | string | SPARE | C3 Item Type. |
c3Type | string | DEVICES | C3 Type. |
basePid | string | The Base Product ID as reported by C3 or manually maintained in COLD. | |
c3ProductFamily | string | C3550 | C3 Product Family. This is different from MDF Product Family and may be internal to Cisco and not intended for customers. |
COLD Field Notices
COLD Field Notices
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/field_notices"
from mimir import Mimir
m = Mimir()
field_notices = m.cold.field_notices.get()
GET
/api/mimir/cold/field_notices
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
bulletinNumber | string | false | false | None | EOL9958 | Bulletin Number - The Cisco.com bulletin number for an End-of-Life bulletin or Field Notice. |
bulletinDistribution | string | false | false | None | External | Bulletin Distribution - The distribution type of a bulletin, either External or Internal. |
fnType | string | false | false | None | fnType | Field Notice Type - Type of Field Notice as defined from PLATO. Valid values include: hardware, software, other |
c3ProductFamily | string | false | false | None | C3550 | C3 Product Family - C3 Product Family. This is different from MDF Product Family and may be internal to Cisco and not intended for customers. |
fnAuthor | string | false | false | None | fnAuthor | Field Notice Author - Cisco userid of the author of the Field Notice. |
bulletinTitle | string | false | false | None | Cisco IOS XR Software Release 4.0 | Bulletin Title - The Cisco.com Title/Headline for the bulletin. |
fnMappingState | string | false | false | None | Mapping Approved | Field Notice Mapping State - The mapping state of the Field Notice in COLD. Only Mapping Approved and Mapping Approved-Updated states are distributed to customers via PAS. |
bulletinFirstPublished | string | false | false | None | bulletinFirstPublished | Bulletin First Published - The date when the bulletin was first published to Cisco.com. Most API calls will allow Regex input for this field. |
startCreateDate | date | false | false | None | 2016-12-02 | Start Create Date - The starting date for a range search in a createDate field. |
endCreateDate | date | false | false | None | 2016-12-02 | End Create Date - The ending date for a range search in a createDate field. |
Response
Name | Type | Example | Definition |
---|---|---|---|
bulletinNumber | string | EOL9958 | The Cisco.com bulletin number for an End-of-Life bulletin or Field Notice. |
bulletinDistribution | string | External | The distribution type of a bulletin, either External or Internal. |
bulletinTitle | string | Cisco IOS XR Software Release 4.0 | The Cisco.com Title/Headline for the bulletin. |
fnType | string | Type of Field Notice as defined from PLATO. Valid values include: hardware, software, other | |
fnMappingState | string | Mapping Approved | The mapping state of the Field Notice in COLD. Only Mapping Approved and Mapping Approved-Updated states are distributed to customers via PAS. |
c3ProductFamily | string | C3550 | C3 Product Family. This is different from MDF Product Family and may be internal to Cisco and not intended for customers. |
bulletinFirstPublished | string | The date when the bulletin was first published to Cisco.com. Most API calls will allow Regex input for this field. | |
bulletinLastUpdated | datetime | The date when the bulletin was last updated on Cisco.com. | |
bulletinMappingCaveat | string | The Bulletin Mapping Caveat gives any explanations why the automation may need additional review by the customer. | |
bulletinUrl | string | The Cisco.com URL for the bulletin. | |
fnAuthor | string | Cisco userid of the author of the Field Notice. | |
problemDescription | string | The description of the problem on a Cisco bulletin. | |
serialNumbersIncluded | boolean | Indicates if the Field Notice includes serial number matching. |
COLD Fn Serial Number
Search Field Notices by Serial Number. Caveat: Much older field notices worked on serial number ranges and won’t be returned by this API.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/fn_serial_number?serialNumber=serialNumber"
from mimir import Mimir
m = Mimir()
fn_serial_number = m.cold.fn_serial_number.get(serialNumber='serialNumber')
GET
/api/mimir/cold/fn_serial_number
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
serialNumber | string | true | false | None | serialNumber | Serial Number - The serial number of the hardware. |
Response
Name | Type | Example | Definition |
---|---|---|---|
bulletinNumber | string | EOL9958 | The Cisco.com bulletin number for an End-of-Life bulletin or Field Notice. |
bulletinDistribution | string | External | The distribution type of a bulletin, either External or Internal. |
bulletinTitle | string | Cisco IOS XR Software Release 4.0 | The Cisco.com Title/Headline for the bulletin. |
fnType | string | Type of Field Notice as defined from PLATO. Valid values include: hardware, software, other | |
c3ProductFamily | string | C3550 | C3 Product Family. This is different from MDF Product Family and may be internal to Cisco and not intended for customers. |
bulletinFirstPublished | string | The date when the bulletin was first published to Cisco.com. Most API calls will allow Regex input for this field. | |
bulletinLastUpdated | datetime | The date when the bulletin was last updated on Cisco.com. | |
bulletinUrl | string | The Cisco.com URL for the bulletin. | |
fnAuthor | string | Cisco userid of the author of the Field Notice. |
COLD Fn Sw Checker
Searches Software Field Notices in COLD based on Software Type and Version.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/fn_sw_checker?swType=IOS-XE&swVersion=15.1(4)M4"
from mimir import Mimir
m = Mimir()
fn_sw_checker = m.cold.fn_sw_checker.get(swType='IOS-XE', swVersion='15.1(4)M4')
GET
/api/mimir/cold/fn_sw_checker
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
swType | string | true | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swVersion | string | true | false | None | 15.1(4)M4 | Software Version - A version of operating system installed on the Network Element. |
Response
Name | Type | Example | Definition |
---|---|---|---|
bulletinNumber | string | EOL9958 | The Cisco.com bulletin number for an End-of-Life bulletin or Field Notice. |
bulletinTitle | string | Cisco IOS XR Software Release 4.0 | The Cisco.com Title/Headline for the bulletin. |
bulletinDistribution | string | External | The distribution type of a bulletin, either External or Internal. |
bulletinFirstPublished | string | The date when the bulletin was first published to Cisco.com. Most API calls will allow Regex input for this field. | |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
productFamily | string | Cisco Catalyst 3560-E Series Switches | The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
swVersion | string | 15.1(4)M4 | A version of operating system installed on the Network Element. |
COLD Hmp Data
HMP/MDF data available from Attica
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/hmp_data"
from mimir import Mimir
m = Mimir()
hmp_data = m.cold.hmp_data.get()
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
nodeType | string | false | false | None | Products | Node Type - The HMP Node Type. |
nodeName | string | false | false | None | Cisco Catalyst 9300-24T-E Switch | Node Name - The HMP Node Name. |
parentName | string | false | false | None | Cisco Catalyst 9300 Series Switches | Parent Name - The HMP Parent Node Name. |
Response
Name | Type | Example | Definition |
---|---|---|---|
nodeId | integer | The HMP Node ID. | |
nodeType | string | Products | The HMP Node Type. |
nodeName | string | Cisco Catalyst 9300-24T-E Switch | The HMP Node Name. |
displayName | string | Cisco Catalyst 9300-24T-E Switch | The HMP Display Name. |
parentName | string | Cisco Catalyst 9300 Series Switches | The HMP Parent Node Name. |
rootName | string | Switches | The HMP Root Node Name. |
nodePath | string | Switches,Campus LAN Switches - Access,Cisco Catalyst 9300 Series Switches,Cisco Catalyst 9300-24T-E Switch | The HMP Node Path. |
COLD Hw Eox Checker
Hardware EoX Bulletin details
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/hw_eox_checker"
from mimir import Mimir
m = Mimir()
hw_eox_checker = m.cold.hw_eox_checker.get()
GET
/api/mimir/cold/hw_eox_checker
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
productId | string | false | false | None | productId | Product ID (PID) - The Cisco Product ID (PID) of the hardware as contained in Product IC. |
bulletinNumber | string | false | false | None | EOL9958 | Bulletin Number - The Cisco.com bulletin number for an End-of-Life bulletin or Field Notice. |
productFamily | string | false | false | None | Cisco Catalyst 3560-E Series Switches | Product Family - The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
Response
Name | Type | Example | Definition |
---|---|---|---|
physicalType | string | Chassis | The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
productType | string | Metro Ethernet Switches | The Cisco Product Type in COLD of the hardware. Values usually come from MDF. |
productSubType | string | Rack Servers | The Cisco Product SubType in COLD for some hardware that classifies it more granular than productType. |
productFamily | string | Cisco Catalyst 3560-E Series Switches | The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
productId | string | The Cisco Product ID (PID) of the hardware as contained in Product IC. | |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
pidDescription | string | SFP+ Module, 10GBASE-LR | C3 Product Description. |
bulletinNumber | string | EOL9958 | The Cisco.com bulletin number for an End-of-Life bulletin or Field Notice. |
ldosSummary | string | LDoS Summary statement. One of LDoS, Not LDoS, or No Bulletin | |
eoLifeAnnouncementDate | datetime | The End-of-Life Announcement (Announced) Date. | |
eoSaleDate | datetime | The End-of-Sale (EoSale) Date. | |
eoSwMaintenanceReleasesDate | datetime | The End of SW Maintenance Releases (EoSWM) Date. | |
eoSecurityVulSupportDate | datetime | The End of Vulnerability/Security Support (EoVSS) Date. | |
eoRoutineFailureAnalysisDate | datetime | The End of Routine Failure Analysis Date (EoRFA) Date. | |
eoSoftwareContractRenewalDate | datetime | The End of Service Contract Renewal (EoSCR) Date. | |
lastDateOfSupport | datetime | The Last Date of Support (LDoS). | |
bulletinUrl | string | The Cisco.com URL for the bulletin. |
COLD Ib Lookup
All Supportable IB PIDs mapped to Product Rule IC but excluding products not needed from IB (specifically IP Phones).
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/ib_lookup"
from mimir import Mimir
m = Mimir()
ib_lookup = m.cold.ib_lookup.get()
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
physicalType | string | false | false | None | Chassis | Physical Type - The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
productType | string | false | false | None | Metro Ethernet Switches | Product Type - The Cisco Product Type in COLD of the hardware. Values usually come from MDF. |
productSubType | string | false | false | None | Rack Servers | Product SubType - The Cisco Product SubType in COLD for some hardware that classifies it more granular than productType. |
productFamily | string | false | false | None | Cisco Catalyst 3560-E Series Switches | Product Family - The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
productId | string | false | false | None | productId | Product ID (PID) - The Cisco Product ID (PID) of the hardware as contained in Product IC. |
sourcePid | string | false | false | None | sourcePid | Source Product ID (PID) - The Cisco Product ID (PID) of the hardware. This can be any Cisco PID. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
firstRp | string | false | false | None | 3.26 | First RP - Rule Package version where PID first supported. Tracking began with 3.11 package, so all PIDs prior are classified as 3.10. |
Response
Name | Type | Example | Definition |
---|---|---|---|
physicalType | string | Chassis | The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
productType | string | Metro Ethernet Switches | The Cisco Product Type in COLD of the hardware. Values usually come from MDF. |
productSubType | string | Rack Servers | The Cisco Product SubType in COLD for some hardware that classifies it more granular than productType. |
productFamily | string | Cisco Catalyst 3560-E Series Switches | The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
sourcePid | string | The Cisco Product ID (PID) of the hardware. This can be any Cisco PID. | |
productId | string | The Cisco Product ID (PID) of the hardware as contained in Product IC. | |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
pidDescription | string | SFP+ Module, 10GBASE-LR | C3 Product Description. |
pidName | string | Cisco ASR 9010 Router | MDF Name for the PID when it is a Chassis. Otherwise will be same as PID. |
firstRp | string | 3.26 | Rule Package version where PID first supported. Tracking began with 3.11 package, so all PIDs prior are classified as 3.10. |
configArchive | boolean | Indicates whether the product support archiving of its configuration as an ASCii file. |
COLD Ios Xe Mapping
Translation of software releases for various use-cases such as IOS to IOS-XE, clean-up of invalid XE version, and DNAC Mapping of System to Release
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/ios_xe_mapping"
from mimir import Mimir
m = Mimir()
ios_xe_mapping = m.cold.ios_xe_mapping.get()
GET
/api/mimir/cold/ios_xe_mapping
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
iosVersion | string | false | false | None | 12.4(20)T | IOS Version - Cisco IOS Software Version |
iosXeVersion | string | false | false | None | 03.06.00.E | IOS-XE Version - Cisco IOS-XE Software Version as used in COLD automation |
Response
Name | Type | Example | Definition |
---|---|---|---|
iosVersion | string | 12.4(20)T | Cisco IOS Software Version |
iosXeVersion | string | 03.06.00.E | Cisco IOS-XE Software Version as used in COLD automation |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
translationType | string | The type of software version translation. |
COLD Pas Latest Package
Returns latest PAS package name
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/pas_latest_package"
from mimir import Mimir
m = Mimir()
pas_latest_package = m.cold.pas_latest_package.get()
GET
/api/mimir/cold/pas_latest_package
Response
Name | Type | Example | Definition |
---|---|---|---|
packageName | string | Package file Name. |
COLD Pas Package Download
Download latest PAS package in ZIP format
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/pas_package_download"
from mimir import Mimir
m = Mimir()
pas_package_download = m.cold.pas_package_download.get()
GET
/api/mimir/cold/pas_package_download
Response
Name | Type | Example | Definition |
---|
COLD Pce Latest Package
Returns latest PCE package name
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/pce_latest_package"
from mimir import Mimir
m = Mimir()
pce_latest_package = m.cold.pce_latest_package.get()
GET
/api/mimir/cold/pce_latest_package
Response
Name | Type | Example | Definition |
---|---|---|---|
packageName | string | Package file Name. |
COLD Pce Package Download
Download latest PCE package in ZIP format
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/pce_package_download"
from mimir import Mimir
m = Mimir()
pce_package_download = m.cold.pce_package_download.get()
GET
/api/mimir/cold/pce_package_download
Response
Name | Type | Example | Definition |
---|
COLD Pid Checker
All Supportable PIDs mapped to Product Rule IC.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/pid_checker"
from mimir import Mimir
m = Mimir()
pid_checker = m.cold.pid_checker.get()
GET
/api/mimir/cold/pid_checker
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
physicalType | string | false | false | None | Chassis | Physical Type - The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
productType | string | false | false | None | Metro Ethernet Switches | Product Type - The Cisco Product Type in COLD of the hardware. Values usually come from MDF. |
productSubType | string | false | false | None | Rack Servers | Product SubType - The Cisco Product SubType in COLD for some hardware that classifies it more granular than productType. |
productFamily | string | false | false | None | Cisco Catalyst 3560-E Series Switches | Product Family - The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
productId | string | false | false | None | productId | Product ID (PID) - The Cisco Product ID (PID) of the hardware as contained in Product IC. |
sourcePid | string | false | false | None | sourcePid | Source Product ID (PID) - The Cisco Product ID (PID) of the hardware. This can be any Cisco PID. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
firstRp | string | false | false | None | 3.26 | First RP - Rule Package version where PID first supported. Tracking began with 3.11 package, so all PIDs prior are classified as 3.10. |
Response
Name | Type | Example | Definition |
---|---|---|---|
physicalType | string | Chassis | The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
productType | string | Metro Ethernet Switches | The Cisco Product Type in COLD of the hardware. Values usually come from MDF. |
productSubType | string | Rack Servers | The Cisco Product SubType in COLD for some hardware that classifies it more granular than productType. |
productFamily | string | Cisco Catalyst 3560-E Series Switches | The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
sourcePid | string | The Cisco Product ID (PID) of the hardware. This can be any Cisco PID. | |
productId | string | The Cisco Product ID (PID) of the hardware as contained in Product IC. | |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
pidDescription | string | SFP+ Module, 10GBASE-LR | C3 Product Description. |
pidName | string | Cisco ASR 9010 Router | MDF Name for the PID when it is a Chassis. Otherwise will be same as PID. |
firstRp | string | 3.26 | Rule Package version where PID first supported. Tracking began with 3.11 package, so all PIDs prior are classified as 3.10. |
configArchive | boolean | Indicates whether the product support archiving of its configuration as an ASCii file. | |
c3ProductFamily | string | C3550 | C3 Product Family. This is different from MDF Product Family and may be internal to Cisco and not intended for customers. |
COLD Product Families
COLD Product Family master list
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/product_families"
from mimir import Mimir
m = Mimir()
product_families = m.cold.product_families.get()
GET
/api/mimir/cold/product_families
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
physicalType | string | false | false | None | Chassis | Physical Type - The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
productFamily | string | false | false | None | Cisco Catalyst 3560-E Series Switches | Product Family - The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
Response
Name | Type | Example | Definition |
---|---|---|---|
productFamily | string | Cisco Catalyst 3560-E Series Switches | The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
physicalType | string | Chassis | The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
productFamilyShortName | string | Cat3560E | The short name for the Cisco Product Family of the hardware. |
hmpNodeId | integer | The HMP Node ID. |
COLD Product Rule 3rdparty Oids
COLD Active Product Rule SNMP OIDs for just 3rd Party.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/product_rule_3rdparty_oids"
from mimir import Mimir
m = Mimir()
product_rule_3rdparty_oids = m.cold.product_rule_3rdparty_oids.get()
GET
/api/mimir/cold/product_rule_3rdparty_oids
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
snmpOid | string | false | false | None | snmpOid | SNMP OID - An SNMP OID. |
Response
Name | Type | Example | Definition |
---|---|---|---|
productRuleId | integer | The internal COLD Product Rule ID. | |
physicalType | string | Chassis | The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
productFamily | string | Cisco Catalyst 3560-E Series Switches | The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
snmpName | string | The SNMP name associated with an OID from the source MIB file. | |
snmpOid | string | An SNMP OID. | |
modelName | string | The name of the CNC model which should also be same (or similar) to the CSPC Platform name or identifier. | |
polledSnmpName | string | The SNMPname for the OID that was polled to obtain the response value. |
COLD Product Rule 3rdparty Pids
COLD Active 3rd Party Product Rule PIDs
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/product_rule_3rdparty_pids"
from mimir import Mimir
m = Mimir()
product_rule_3rdparty_pids = m.cold.product_rule_3rdparty_pids.get()
GET
/api/mimir/cold/product_rule_3rdparty_pids
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
productFamily | string | false | false | None | Cisco Catalyst 3560-E Series Switches | Product Family - The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
productId | string | false | false | None | productId | Product ID (PID) - The Cisco Product ID (PID) of the hardware as contained in Product IC. |
Response
Name | Type | Example | Definition |
---|---|---|---|
physicalType | string | Chassis | The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
productType | string | Metro Ethernet Switches | The Cisco Product Type in COLD of the hardware. Values usually come from MDF. |
productFamily | string | Cisco Catalyst 3560-E Series Switches | The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
productId | string | The Cisco Product ID (PID) of the hardware as contained in Product IC. | |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
pidDescription | string | SFP+ Module, 10GBASE-LR | C3 Product Description. |
pidName | string | Cisco ASR 9010 Router | MDF Name for the PID when it is a Chassis. Otherwise will be same as PID. |
COLD Product Rule Na Oids
COLD Product Rule SNMP OIDs that are not FRUable and filtered by PCE.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/product_rule_na_oids"
from mimir import Mimir
m = Mimir()
product_rule_na_oids = m.cold.product_rule_na_oids.get()
GET
/api/mimir/cold/product_rule_na_oids
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
physicalType | string | false | false | None | Chassis | Physical Type - The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
snmpName | string | false | false | None | snmpName | SNMP Name - The SNMP name associated with an OID from the source MIB file. |
snmpOid | string | false | false | None | snmpOid | SNMP OID - An SNMP OID. |
Response
Name | Type | Example | Definition |
---|---|---|---|
productRuleId | integer | The internal COLD Product Rule ID. | |
physicalType | string | Chassis | The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
snmpName | string | The SNMP name associated with an OID from the source MIB file. | |
snmpOid | string | An SNMP OID. |
COLD Product Rule Oids
COLD Active Product Rule SNMP OIDs (not including any 3rd Party).
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/product_rule_oids"
from mimir import Mimir
m = Mimir()
product_rule_oids = m.cold.product_rule_oids.get()
GET
/api/mimir/cold/product_rule_oids
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
physicalType | string | false | false | None | Chassis | Physical Type - The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
snmpName | string | false | false | None | snmpName | SNMP Name - The SNMP name associated with an OID from the source MIB file. |
snmpOid | string | false | false | None | snmpOid | SNMP OID - An SNMP OID. |
firstRp | string | false | false | None | 3.26 | First RP - Rule Package version where PID first supported. Tracking began with 3.11 package, so all PIDs prior are classified as 3.10. |
platformIdentifier | string | false | false | None | platformIdentifier | Platform Identifer - Platform Identifer |
Response
Name | Type | Example | Definition |
---|---|---|---|
productRuleId | integer | The internal COLD Product Rule ID. | |
physicalType | string | Chassis | The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
productFamily | string | Cisco Catalyst 3560-E Series Switches | The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
snmpName | string | The SNMP name associated with an OID from the source MIB file. | |
snmpOid | string | An SNMP OID. | |
firstRp | string | 3.26 | Rule Package version where PID first supported. Tracking began with 3.11 package, so all PIDs prior are classified as 3.10. |
platformIdentifier | string | Platform Identifer | |
modelName | string | The name of the CNC model which should also be same (or similar) to the CSPC Platform name or identifier. | |
polledSnmpName | string | The SNMPname for the OID that was polled to obtain the response value. | |
productType | string | Metro Ethernet Switches | The Cisco Product Type in COLD of the hardware. Values usually come from MDF. |
COLD Product Rule Pids
COLD Active Product Rule PIDs (not including any 3rd Party)
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/product_rule_pids"
from mimir import Mimir
m = Mimir()
product_rule_pids = m.cold.product_rule_pids.get()
GET
/api/mimir/cold/product_rule_pids
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
physicalType | string | false | false | None | Chassis | Physical Type - The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
productType | string | false | false | None | Metro Ethernet Switches | Product Type - The Cisco Product Type in COLD of the hardware. Values usually come from MDF. |
productSubType | string | false | false | None | Rack Servers | Product SubType - The Cisco Product SubType in COLD for some hardware that classifies it more granular than productType. |
productFamily | string | false | false | None | Cisco Catalyst 3560-E Series Switches | Product Family - The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
productId | string | false | false | None | productId | Product ID (PID) - The Cisco Product ID (PID) of the hardware as contained in Product IC. |
productIdClean | string | false | false | None | productIdClean | Product ID (PID) Clean - The Cisco Product ID (PID) of the hardware cleaned to remove any trailing “=” for spare. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
firstRp | string | false | false | None | 3.26 | First RP - Rule Package version where PID first supported. Tracking began with 3.11 package, so all PIDs prior are classified as 3.10. |
c3ProductFamily | string | false | false | None | C3550 | C3 Product Family - C3 Product Family. This is different from MDF Product Family and may be internal to Cisco and not intended for customers. |
Response
Name | Type | Example | Definition |
---|---|---|---|
physicalType | string | Chassis | The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
productType | string | Metro Ethernet Switches | The Cisco Product Type in COLD of the hardware. Values usually come from MDF. |
productSubType | string | Rack Servers | The Cisco Product SubType in COLD for some hardware that classifies it more granular than productType. |
productFamily | string | Cisco Catalyst 3560-E Series Switches | The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
productId | string | The Cisco Product ID (PID) of the hardware as contained in Product IC. | |
productIdClean | string | The Cisco Product ID (PID) of the hardware cleaned to remove any trailing “=” for spare. | |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
pidDescription | string | SFP+ Module, 10GBASE-LR | C3 Product Description. |
pidName | string | Cisco ASR 9010 Router | MDF Name for the PID when it is a Chassis. Otherwise will be same as PID. |
firstRp | string | 3.26 | Rule Package version where PID first supported. Tracking began with 3.11 package, so all PIDs prior are classified as 3.10. |
configArchive | boolean | Indicates whether the product support archiving of its configuration as an ASCii file. | |
c3ProductFamily | string | C3550 | C3 Product Family. This is different from MDF Product Family and may be internal to Cisco and not intended for customers. |
COLD Product Types
Master list of official Inventory Product Types
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/product_types"
from mimir import Mimir
m = Mimir()
product_types = m.cold.product_types.get()
GET
/api/mimir/cold/product_types
Response
Name | Type | Example | Definition |
---|---|---|---|
productTypeId | integer | Unique internal key identifier for a Product Type. | |
productType | string | Metro Ethernet Switches | The Cisco Product Type in COLD of the hardware. Values usually come from MDF. |
physicalType | string | Chassis | The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
productTypeShortName | string | ME Switches | The Short Name for the Cisco Product Type in COLD for the hardware. |
hmpNodeId | integer | The HMP Node ID. |
COLD Psirt Bulletins
PSIRT bulletins mapped in COLD.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/psirt_bulletins"
from mimir import Mimir
m = Mimir()
psirt_bulletins = m.cold.psirt_bulletins.get()
GET
/api/mimir/cold/psirt_bulletins
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
psirtColdId | integer | false | false | None | 12345 | PSIRT COLD ID - The internal COLD ID for a PSIRT. This is useful for joining multiple data sources. |
bulletinFirstPublished | string | false | false | None | bulletinFirstPublished | Bulletin First Published - The date when the bulletin was first published to Cisco.com. Most API calls will allow Regex input for this field. |
sir | string | false | false | None | Critical | SIR - The Security Impact Rating (SIR) for Cisco PSIRTs. |
cveId | string | false | false | None | CVE-2016-6355 | CVE-ID - Common Vulnerabilities and Exposures (CVE) Identifier |
psirtAdvisoryId | string | false | false | None | cisco-sa-20150325-mdns | PSIRT Advisory ID - The Advisory ID of a PSIRT as seen on Cisco.com. |
bulletinTitle | string | false | false | None | Cisco IOS XR Software Release 4.0 | Bulletin Title - The Cisco.com Title/Headline for the bulletin. |
Response
Name | Type | Example | Definition |
---|---|---|---|
psirtColdId | integer | The internal COLD ID for a PSIRT. This is useful for joining multiple data sources. | |
psirtAdvisoryId | string | cisco-sa-20150325-mdns | The Advisory ID of a PSIRT as seen on Cisco.com. |
bulletinTitle | string | Cisco IOS XR Software Release 4.0 | The Cisco.com Title/Headline for the bulletin. |
bulletinFirstPublished | string | The date when the bulletin was first published to Cisco.com. Most API calls will allow Regex input for this field. | |
bulletinLastUpdated | datetime | The date when the bulletin was last updated on Cisco.com. | |
bulletinVersion | string | 1.1 | The version # of the Cisco.com bulletin. |
sir | string | Critical | The Security Impact Rating (SIR) for Cisco PSIRTs. |
cveId | string | CVE-2016-6355 | Common Vulnerabilities and Exposures (CVE) Identifier |
cvssBase | string | 7.8 | Common Vulnerability Scoring System (CVSS) Base Score |
cvssTemporal | string | 5.0 | Common Vulnerability Scoring System (CVSS) Temporal Score |
bulletinSummary | string | The Summary of a Cisco.com bulletin. | |
bulletinWorkarounds | string | The Workarounds published in a Cisco.com bulletin. | |
bulletinMappingCaveat | string | The Bulletin Mapping Caveat gives any explanations why the automation may need additional review by the customer. | |
bulletinUrl | string | The Cisco.com URL for the bulletin. |
COLD Psirt Feature Rules
FIS Features rules that are mapped to PSIRTs.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/psirt_feature_rules"
from mimir import Mimir
m = Mimir()
psirt_feature_rules = m.cold.psirt_feature_rules.get()
GET
/api/mimir/cold/psirt_feature_rules
Response
Name | Type | Example | Definition |
---|---|---|---|
featureRuleName | string | INTERNAL USE ONLY. The rule name of the feature rule. This is a unique identifier for a feature. It should not be shared with customers. |
COLD Psirt Mappings
COLD PSIRT Mappings shows a summary of how a given PSIRT is mapped in COLD for automation.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/psirt_mappings"
from mimir import Mimir
m = Mimir()
psirt_mappings = m.cold.psirt_mappings.get()
GET
/api/mimir/cold/psirt_mappings
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
psirtColdId | integer | false | false | None | 12345 | PSIRT COLD ID - The internal COLD ID for a PSIRT. This is useful for joining multiple data sources. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
psirtAdvisoryId | string | false | false | None | cisco-sa-20150325-mdns | PSIRT Advisory ID - The Advisory ID of a PSIRT as seen on Cisco.com. |
Response
Name | Type | Example | Definition |
---|---|---|---|
psirtAdvisoryId | string | cisco-sa-20150325-mdns | The Advisory ID of a PSIRT as seen on Cisco.com. |
psirtColdId | integer | The internal COLD ID for a PSIRT. This is useful for joining multiple data sources. | |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
productFamily | string | Cisco Catalyst 3560-E Series Switches | The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
chassisProductId | string | The Cisco Product ID (PID) of the hardware chassis. | |
moduleProductId | string | The Cisco Product ID (PID) of the hardware module. | |
featureRuleName | string | INTERNAL USE ONLY. The rule name of the feature rule. This is a unique identifier for a feature. It should not be shared with customers. | |
allReleasesMapped | boolean | Indicates if the PSIRT mapping is for all releases of that swType. | |
totalMappedReleases | integer | The total number of releases mapped for a SW Type on a PSIRT. | |
totalAffectedReleases | integer | The total number of affected releases for a SW Type on a PSIRT mapping. | |
potentiallyVulnerableFlag | boolean | When set to true, the PSIRT automation results for a device will never be better than Potentially Vulnerable. This is used when additional checks are needed that are not currently covered in the automation. | |
bulletinMappingCaveat | string | The Bulletin Mapping Caveat gives any explanations why the automation may need additional review by the customer. |
COLD Psirt Sw Checker
Searches PSIRTs in COLD based on Software Type and Version.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/psirt_sw_checker?swVersion=15.1(4)M4"
from mimir import Mimir
m = Mimir()
psirt_sw_checker = m.cold.psirt_sw_checker.get(swVersion='15.1(4)M4')
GET
/api/mimir/cold/psirt_sw_checker
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swVersion | string | true | false | None | 15.1(4)M4 | Software Version - A version of operating system installed on the Network Element. |
Response
Name | Type | Example | Definition |
---|---|---|---|
securityAdvisoryInstanceId | integer | 376 | Internally generated ID for a security advisory |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swVersion | string | 15.1(4)M4 | A version of operating system installed on the Network Element. |
advisoryId | string | cisco-sa-20150325-tcpleak | Published identifier of security advisory |
bulletinFirstPublished | string | The date when the bulletin was first published to Cisco.com. Most API calls will allow Regex input for this field. | |
securityImpactRating | string | High | The Security Impact Rating (SIR) for Cisco Security Advisories |
bulletinTitle | string | Cisco IOS XR Software Release 4.0 | The Cisco.com Title/Headline for the bulletin. |
cveId | string | CVE-2016-6355 | Common Vulnerabilities and Exposures (CVE) Identifier |
cvssBaseScore | string | 8.0 | Common Vulnerability Scoring System (CVSS) Base Score |
cvssTemporalScore | string | 6.6 | Common Vulnerability Scoring System (CVSS) Temporal Score |
bulletinVersion | string | 1.1 | The version # of the Cisco.com bulletin. |
url | string | Cisco.com URL for the bulletin. | |
potentiallyVulnerableFlag | boolean | When set to true, the PSIRT automation results for a device will never be better than Potentially Vulnerable. This is used when additional checks are needed that are not currently covered in the automation. |
COLD Rp Collection
Rule Package Collection Details
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/rp_collection?rulePackage=rulePackage"
from mimir import Mimir
m = Mimir()
rp_collection = m.cold.rp_collection.get(rulePackage='rulePackage')
GET
/api/mimir/cold/rp_collection
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
rulePackage | string | true | false | None | rulePackage | Rule Package Version - The Rule Package Version. |
collectionProfile | string | false | false | None | collectionProfile | Collection Profile - Collection Profile |
platformTitle | string | false | false | None | platformTitle | Platform Title - PlatformTitle |
datasetTitle | string | false | false | None | datasetTitle | Dataset Title - Dataset Title |
collectionType | string | false | false | None | collectionType | Collection Type - Collection Type |
collection | string | false | false | None | collection | Collection - Collection |
Response
Name | Type | Example | Definition |
---|---|---|---|
rulePackage | string | The Rule Package Version. | |
collectionProfile | string | Collection Profile | |
platformTitle | string | PlatformTitle | |
datasetTitle | string | Dataset Title | |
collectionType | string | Collection Type | |
collection | string | Collection | |
snmpName | string | snmpName | |
cliPreCommand | string | cliPreCommand | |
cliPostCommand | string | cliPostCommand |
COLD Rp Datasets
Rule Package Datasets
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/rp_datasets?rulePackage=rulePackage"
from mimir import Mimir
m = Mimir()
rp_datasets = m.cold.rp_datasets.get(rulePackage='rulePackage')
GET
/api/mimir/cold/rp_datasets
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
rulePackage | string | true | false | None | rulePackage | Rule Package Version - The Rule Package Version. |
Response
Name | Type | Example | Definition |
---|---|---|---|
rulePackage | string | The Rule Package Version. | |
datasetIdentifier | string | Dataset Identifer | |
datasetTitle | string | Dataset Title | |
datasetCategory | string | Dataset Category | |
datasetRequired | string | Dataset Required | |
datasetNotes | string | Dataset Notes |
COLD Rp Platform Oids
Rule Package Platform OIDs
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/rp_platform_oids?rulePackage=rulePackage"
from mimir import Mimir
m = Mimir()
rp_platform_oids = m.cold.rp_platform_oids.get(rulePackage='rulePackage')
GET
/api/mimir/cold/rp_platform_oids
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
rulePackage | string | true | false | None | rulePackage | Rule Package Version - The Rule Package Version. |
platformIdentifier | string | false | false | None | platformIdentifier | Platform Identifer - Platform Identifer |
Response
Name | Type | Example | Definition |
---|---|---|---|
rulePackage | string | The Rule Package Version. | |
platformIdentifier | string | Platform Identifer |
COLD Rp Platforms
Rule Package Platforms
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/rp_platforms?rulePackage=rulePackage"
from mimir import Mimir
m = Mimir()
rp_platforms = m.cold.rp_platforms.get(rulePackage='rulePackage')
GET
/api/mimir/cold/rp_platforms
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
rulePackage | string | true | false | None | rulePackage | Rule Package Version - The Rule Package Version. |
Response
Name | Type | Example | Definition |
---|---|---|---|
rulePackage | string | The Rule Package Version. | |
platformIdentifier | string | Platform Identifer | |
platformTitle | string | PlatformTitle | |
description | string | Description |
COLD Software Type Details
COLD Software Types along with IRT and HMP attributes
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/software_type_details"
from mimir import Mimir
m = Mimir()
software_type_details = m.cold.software_type_details.get()
GET
/api/mimir/cold/software_type_details
Response
Name | Type | Example | Definition |
---|---|---|---|
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
vendor | string | Cisco | Vendor Name. |
irtSoftwareType | string | IOSXE | Software Type from SPRIT / IRT. |
hmpNodeId | integer | The HMP Node ID. |
COLD Software Types
COLD Software Types master list
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/software_types"
from mimir import Mimir
m = Mimir()
software_types = m.cold.software_types.get()
GET
/api/mimir/cold/software_types
Response
Name | Type | Example | Definition |
---|---|---|---|
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
vendor | string | Cisco | Vendor Name. |
COLD Unsupported Pids
Known PIDs not supported by Product IC and ib_lookup
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/cold/unsupported_pids"
from mimir import Mimir
m = Mimir()
unsupported_pids = m.cold.unsupported_pids.get()
GET
/api/mimir/cold/unsupported_pids
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
productId | string | false | false | None | productId | Product ID (PID) - The Cisco Product ID (PID) of the hardware as contained in Product IC. |
Response
Name | Type | Example | Definition |
---|---|---|---|
productId | string | The Cisco Product ID (PID) of the hardware as contained in Product IC. | |
pidType | string | CABLE | Type/Category of unsupported Product IC PID. |
CRPM
Access to the Quality data (MTB) from CRPM team
- Version: v1.0.0
- Owner: Brett Dunstan bdunstan@cisco.com
- Contact: Brett Dunstan bdunstan@cisco.com
- Homepage: NA
CRPM Max Fiscal Month Key
Return the Maximum month that is recorded.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/crpm/max_fiscal_month_key"
from mimir import Mimir
m = Mimir()
max_fiscal_month_key = m.crpm.max_fiscal_month_key.get()
GET
/api/mimir/crpm/max_fiscal_month_key
Response
Name | Type | Example | Definition |
---|
CRPM Predicted Reliability Ratio
Calculate the Hardware Predicted MTBF value from the CRPM database.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/crpm/predicted_reliability_ratio"
from mimir import Mimir
m = Mimir()
predicted_reliability_ratio = m.crpm.predicted_reliability_ratio.get()
GET
/api/mimir/crpm/predicted_reliability_ratio
Response
Name | Type | Example | Definition |
---|
CRPM Reliability Ratio
reliability_ratio: of hardware
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/crpm/reliability_ratio"
from mimir import Mimir
m = Mimir()
reliability_ratio = m.crpm.reliability_ratio.get()
GET
/api/mimir/crpm/reliability_ratio
Response
Name | Type | Example | Definition |
---|
DCAF
Data Center Analytics Framework (DCAF) is a set of tools for producing DCOS deliverables.
- Version: v1.0.0
- Owner: Casey Holdway choldway@cisco.com
- Contact: dcv-support@cisco.com
- Homepage: https://ucshc-prd:8443/DCAF-Portal/
DCAF Adapter Pinning
Adapter Pinning List
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/adapter_pinning?projectName=Projectname"
from mimir import Mimir
m = Mimir()
adapter_pinning = m.dcaf.adapter_pinning.get(projectName='Projectname')
GET
/api/mimir/dcaf/adapter_pinning
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
chassis | string | Chassis. | |
blade | string | blade | |
adapter | string | Adapter | |
pinnedFiPort | string | FI Port | |
siteName | string | Sitename | Name of the site. |
DCAF Adapter Policies
Adapter Policies.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/adapter_policies?projectName=Projectname"
from mimir import Mimir
m = Mimir()
adapter_policies = m.dcaf.adapter_policies.get(projectName='Projectname')
GET
/api/mimir/dcaf/adapter_policies
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
policyName | string | Policy Name | |
org | string | Organisation. | |
remarks | string | Remarks | |
siteName | string | Sitename | Name of the site. |
DCAF Aix Bp Recommendation
AIX Best Practice Recommendation
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/aix_bp_recommendation?projectName=Projectname"
from mimir import Mimir
m = Mimir()
aix_bp_recommendation = m.dcaf.aix_bp_recommendation.get(projectName='Projectname')
GET
/api/mimir/dcaf/aix_bp_recommendation
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
siteName | string | Sitename | Name of the site. |
systemName | string | System name | |
ruleName | string | Rule name |
DCAF Alert Recommendations
Alert Recommendations List
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/alert_recommendations?projectName=Projectname"
from mimir import Mimir
m = Mimir()
alert_recommendations = m.dcaf.alert_recommendations.get(projectName='Projectname')
GET
/api/mimir/dcaf/alert_recommendations
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
faultCode | string | Fault Code | |
afftectedObject | string | Afftected Object | |
recommendation | string | Recommendation | |
siteName | string | Sitename | Name of the site. |
DCAF Auth
Authentication by user and projectId
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/auth?projectName=Projectname&userId=mycecid"
from mimir import Mimir
m = Mimir()
auth = m.dcaf.auth.get(projectName='Projectname', userId='mycecid')
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
userId | string | true | false | None | mycecid | User ID - A Cisco userid. |
Response
Name | Type | Example | Definition |
---|---|---|---|
requestStatus | string | If the requested userid has permission to access the provided Project, requestStatus will be “Authorized”. Unauthorized userids will cause the API to return a HTTP 401 Unauthorized code. |
DCAF Authentication
Authentication List.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/authentication?projectName=Projectname"
from mimir import Mimir
m = Mimir()
authentication = m.dcaf.authentication.get(projectName='Projectname')
GET
/api/mimir/dcaf/authentication
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
authenticationType | string | Authentication Type | |
server | string | Server Details | |
siteName | string | Sitename | Name of the site. |
DCAF Backup Configuration
Backup Configuration List.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/backup_configuration?projectName=Projectname"
from mimir import Mimir
m = Mimir()
backup_configuration = m.dcaf.backup_configuration.get(projectName='Projectname')
GET
/api/mimir/dcaf/backup_configuration
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
backupName | string | localeName | |
protocol | string | localeName | |
targetServer | string | Target Server | |
fileName | string | File Name | |
siteName | string | Sitename | Name of the site. |
DCAF Blade Adapters
Blade Adapters List.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/blade_adapters?projectName=Projectname"
from mimir import Mimir
m = Mimir()
blade_adapters = m.dcaf.blade_adapters.get(projectName='Projectname')
GET
/api/mimir/dcaf/blade_adapters
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
model | string | DC-XXX-YYY | Model of the device. |
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
serialNumber | string | The serial number of the hardware. | |
siteName | string | Sitename | Name of the site. |
DCAF Blade Chassis
Blade Chassis List.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/blade_chassis?projectName=Projectname"
from mimir import Mimir
m = Mimir()
blade_chassis = m.dcaf.blade_chassis.get(projectName='Projectname')
GET
/api/mimir/dcaf/blade_chassis
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
model | string | DC-XXX-YYY | Model of the device. |
serialNumber | string | The serial number of the hardware. | |
hardwareEoxId | string | EOX Id | |
bulletinNumber | string | EOX bullet in number | |
bulletinPid | string | EOX bulletin PID | |
bulletinName | string | EOX bulletin name | |
bulletinUrl | string | EXO bulletin url | |
postDate | string | EOX post date | |
eolExternalAnnouncementDate | string | EOL external announcement date | |
eolInternalAnnouncementDate | string | EOL internal announcement date | |
endOfSaleDate | string | End of sale date | |
endOfLastDateOfSupport | string | End of last date support | |
endOfLastHardwareShipDate | string | End of last hardware ship date | |
eoHwNewServiceAttachmentDate | string | End of Hw new service attachment date | |
eoHwRoutineFailureAnalysisDate | string | End of Hw routine failure analysis date | |
eoSwMaintenanceReleasesDate | string | End of Sw maintenance release date | |
eoBuEngineeringSupportTacDate | string | End of Bu engineering support TAC date | |
eoHwServiceContractRenewalDate | string | End of Hw service contract renewal date | |
notes | string | EOL notes | |
siteName | string | Sitename | Name of the site. |
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
DCAF Blade Mappings
Blade Mappings List.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/blade_mappings?projectName=Projectname"
from mimir import Mimir
m = Mimir()
blade_mappings = m.dcaf.blade_mappings.get(projectName='Projectname')
GET
/api/mimir/dcaf/blade_mappings
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
ucsPod | string | POD - dont really know | |
serviceProfile | string | service Profile | |
serviceProfileTemplate | string | service Profile Template | |
chassis | string | Chassis. | |
type | string | Service profiles type | |
siteName | string | Sitename | Name of the site. |
DCAF Boot Policies
boot policies List.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/boot_policies?projectName=Projectname"
from mimir import Mimir
m = Mimir()
boot_policies = m.dcaf.boot_policies.get(projectName='Projectname')
GET
/api/mimir/dcaf/boot_policies
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
bootPolicyName | string | bootPolicyName | |
org | string | Organisation. | |
remarks | string | Remarks | |
descr | string | Boot Policy Description | |
enForceVnicName | string | EnForcement VNIC Name | |
purpose | string | Purpose | |
rebootOnUpdate | string | Reboot on update status | |
siteName | string | Sitename | Name of the site. |
DCAF Boot Policy Order
Boot Policy Order List.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/boot_policy_order?projectName=Projectname"
from mimir import Mimir
m = Mimir()
boot_policy_order = m.dcaf.boot_policy_order.get(projectName='Projectname')
GET
/api/mimir/dcaf/boot_policy_order
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
bootPolicyName | string | bootPolicyName | |
org | string | Organisation. | |
localDiscOrder | string | localDiscOrder | |
cdRomOrder | string | Cd Rom Order | |
lanOrder | string | Lan Order | |
floppyOrder | string | Floppy Order | |
siteName | string | Sitename | Name of the site. |
DCAF Bseries Blades
B-Series blades.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/bseries_blades?projectName=Projectname"
from mimir import Mimir
m = Mimir()
bseries_blades = m.dcaf.bseries_blades.get(projectName='Projectname')
GET
/api/mimir/dcaf/bseries_blades
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
model | string | DC-XXX-YYY | Model of the device. |
serialNumber | string | The serial number of the hardware. | |
hardwareEoxId | string | EOX Id | |
bulletinNumber | string | EOX bullet in number | |
bulletinPid | string | EOX bulletin PID | |
bulletinName | string | EOX bulletin name | |
bulletinUrl | string | EXO bulletin url | |
postDate | string | EOX post date | |
eolExternalAnnouncementDate | string | EOL external announcement date | |
eolInternalAnnouncementDate | string | EOL internal announcement date | |
endOfSaleDate | string | End of sale date | |
endOfLastDateOfSupport | string | End of last date support | |
endOfLastHardwareShipDate | string | End of last hardware ship date | |
eoHwNewServiceAttachmentDate | string | End of Hw new service attachment date | |
eoHwRoutineFailureAnalysisDate | string | End of Hw routine failure analysis date | |
eoSwMaintenanceReleasesDate | string | End of Sw maintenance release date | |
eoBuEngineeringSupportTacDate | string | End of Bu engineering support TAC date | |
eoHwServiceContractRenewalDate | string | End of Hw service contract renewal date | |
notes | string | EOL notes | |
siteName | string | Sitename | Name of the site. |
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
DCAF Callhome Configuration
Callhome Configuration List.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/callhome_configuration?projectName=Projectname"
from mimir import Mimir
m = Mimir()
callhome_configuration = m.dcaf.callhome_configuration.get(projectName='Projectname')
GET
/api/mimir/dcaf/callhome_configuration
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
contractId | string | Customer Contract Id | |
custId | string | Customer Id | |
siteId | string | Site Id | |
smtpServer | string | SMTP Server | |
emailAddress | string | Customer Email Address | |
siteName | string | Sitename | Name of the site. |
DCAF Chassis Discovery Policy
chassis_discovery_policy list.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/chassis_discovery_policy?projectName=Projectname"
from mimir import Mimir
m = Mimir()
chassis_discovery_policy = m.dcaf.chassis_discovery_policy.get(projectName='Projectname')
GET
/api/mimir/dcaf/chassis_discovery_policy
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
action | string | Action | |
linkingGroupPrefernece | string | linkingGroupPrefernece | |
siteName | string | Sitename | Name of the site. |
DCAF Eth Error Statistics
Eth Error Statistics.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/eth_error_statistics?projectName=Projectname"
from mimir import Mimir
m = Mimir()
eth_error_statistics = m.dcaf.eth_error_statistics.get(projectName='Projectname')
GET
/api/mimir/dcaf/eth_error_statistics
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
device | string | Device | |
port | string | UCS Interface Statistics port | |
ifRole | string | IfRole | |
timeCollected | string | Time Collected | |
suspect | string | Suspect | |
update | string | Update | |
thresholded | string | Thresholded | |
statisticName | string | Statistic Name | |
statisticId | string | Statistic Id | |
min | string | MIN | |
max | string | UCS Interface Statistics max | |
average | string | UCS Interface Statistics average | |
delta | string | Delta | |
siteName | string | Sitename | Name of the site. |
DCAF Eth Loss Statistics
Eth loss Statistics.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/eth_loss_statistics?projectName=Projectname"
from mimir import Mimir
m = Mimir()
eth_loss_statistics = m.dcaf.eth_loss_statistics.get(projectName='Projectname')
GET
/api/mimir/dcaf/eth_loss_statistics
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
device | string | Device | |
port | string | UCS Interface Statistics port | |
ifRole | string | IfRole | |
timeCollected | string | Time Collected | |
suspect | string | Suspect | |
update | string | Update | |
intervals | string | Intervals | |
thresholded | string | Thresholded | |
statisticName | string | Statistic Name | |
statisticId | string | Statistic Id | |
min | string | MIN | |
max | string | UCS Interface Statistics max | |
average | string | UCS Interface Statistics average | |
delta | string | Delta | |
siteName | string | Sitename | Name of the site. |
DCAF Eth Pause Statistics
Eth Pause Statistics.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/eth_pause_statistics?projectName=Projectname"
from mimir import Mimir
m = Mimir()
eth_pause_statistics = m.dcaf.eth_pause_statistics.get(projectName='Projectname')
GET
/api/mimir/dcaf/eth_pause_statistics
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
device | string | Device | |
port | string | UCS Interface Statistics port | |
ifRole | string | IfRole | |
timeCollected | string | Time Collected | |
suspect | string | Suspect | |
update | string | Update | |
thresholded | string | Thresholded | |
statisticName | string | Statistic Name | |
statisticId | string | Statistic Id | |
min | string | MIN | |
max | string | UCS Interface Statistics max | |
average | string | UCS Interface Statistics average | |
delta | string | Delta | |
siteName | string | Sitename | Name of the site. |
DCAF Eth Rx Statistics
Eth Rx Statistics.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/eth_rx_statistics?projectName=Projectname"
from mimir import Mimir
m = Mimir()
eth_rx_statistics = m.dcaf.eth_rx_statistics.get(projectName='Projectname')
GET
/api/mimir/dcaf/eth_rx_statistics
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
device | string | Device | |
port | string | UCS Interface Statistics port | |
ifRole | string | IfRole | |
timeCollected | string | Time Collected | |
suspect | string | Suspect | |
update | string | Update | |
thresholded | string | Thresholded | |
statisticName | string | Statistic Name | |
statisticId | string | Statistic Id | |
min | string | MIN | |
max | string | UCS Interface Statistics max | |
average | string | UCS Interface Statistics average | |
delta | string | Delta | |
siteName | string | Sitename | Name of the site. |
DCAF Eth Tx Statistics
Eth Tx Statistics.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/eth_tx_statistics?projectName=Projectname"
from mimir import Mimir
m = Mimir()
eth_tx_statistics = m.dcaf.eth_tx_statistics.get(projectName='Projectname')
GET
/api/mimir/dcaf/eth_tx_statistics
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
device | string | Device | |
port | string | UCS Interface Statistics port | |
ifRole | string | IfRole | |
timeCollected | string | Time Collected | |
suspect | string | Suspect | |
update | string | Update | |
thresholded | string | Thresholded | |
statisticName | string | Statistic Name | |
statisticId | string | Statistic Id | |
min | string | MIN | |
max | string | UCS Interface Statistics max | |
average | string | UCS Interface Statistics average | |
delta | string | Delta | |
siteName | string | Sitename | Name of the site. |
DCAF Fab Eth Lan Pc Ep
Fabric Ethernet LAN PC EP List.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/fab_eth_lan_pc_ep?projectName=Projectname"
from mimir import Mimir
m = Mimir()
fab_eth_lan_pc_ep = m.dcaf.fab_eth_lan_pc_ep.get(projectName='Projectname')
GET
/api/mimir/dcaf/fab_eth_lan_pc_ep
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
dn | string | dn | |
switchId | string | Switch Id | |
adminState | string | Admin State | |
type | string | Service profiles type | |
slotId | string | Slot Id | |
portId | string | Port Id | |
locale | string | Locale | |
siteName | string | Sitename | Name of the site. |
DCAF Fabric Interconnects
Details for fabric Interconnects by Project.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/fabric_interconnects?projectName=Projectname"
from mimir import Mimir
m = Mimir()
fabric_interconnects = m.dcaf.fabric_interconnects.get(projectName='Projectname')
GET
/api/mimir/dcaf/fabric_interconnects
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
model | string | DC-XXX-YYY | Model of the device. |
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
serialNumber | string | 12345XX | Serial Number. |
siteName | string | Sitename | Name of the site. |
DCAF Fc Error Statistics
FC Error Statistics.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/fc_error_statistics?projectName=Projectname"
from mimir import Mimir
m = Mimir()
fc_error_statistics = m.dcaf.fc_error_statistics.get(projectName='Projectname')
GET
/api/mimir/dcaf/fc_error_statistics
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
device | string | Device | |
port | string | UCS Interface Statistics port | |
ifRole | string | IfRole | |
timeCollected | string | Time Collected | |
suspect | string | Suspect | |
update | string | Update | |
thresholded | string | Thresholded | |
statisticName | string | Statistic Name | |
statisticId | string | Statistic Id | |
min | string | MIN | |
max | string | UCS Interface Statistics max | |
average | string | UCS Interface Statistics average | |
delta | string | Delta | |
siteName | string | Sitename | Name of the site. |
DCAF Fc Statistics
FC Statistics.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/fc_statistics?projectName=Projectname"
from mimir import Mimir
m = Mimir()
fc_statistics = m.dcaf.fc_statistics.get(projectName='Projectname')
GET
/api/mimir/dcaf/fc_statistics
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
device | string | Device | |
port | string | UCS Interface Statistics port | |
ifRole | string | IfRole | |
timeCollected | string | Time Collected | |
suspect | string | Suspect | |
update | string | Update | |
thresholded | string | Thresholded | |
statisticName | string | Statistic Name | |
statisticId | string | Statistic Id | |
min | string | MIN | |
max | string | UCS Interface Statistics max | |
average | string | UCS Interface Statistics average | |
delta | string | Delta | |
siteName | string | Sitename | Name of the site. |
DCAF Fex Connectivity Details
FEX Connectivity Details.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/fex_connectivity_details?projectName=Projectname"
from mimir import Mimir
m = Mimir()
fex_connectivity_details = m.dcaf.fex_connectivity_details.get(projectName='Projectname')
GET
/api/mimir/dcaf/fex_connectivity_details
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
fexPort | string | FEX port | |
fi | string | Fabric Interconnect. | |
fiPort | string | Fabric Interconnect Port. | |
siteName | string | Sitename | Name of the site. |
DCAF Fi Iom Connectivity Backplane
FI-IOM Connectivity Backplane List
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/fi_iom_connectivity_backplane?projectName=Projectname"
from mimir import Mimir
m = Mimir()
fi_iom_connectivity_backplane = m.dcaf.fi_iom_connectivity_backplane.get(projectName='Projectname')
GET
/api/mimir/dcaf/fi_iom_connectivity_backplane
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
ucsFi | string | UCS FI | |
fiPort | string | Fabric Interconnect Port. | |
chassis | string | Chassis. | |
iom | string | IO Module. | |
iomPort | string | IO Module Port. | |
siteName | string | Sitename | Name of the site. |
DCAF Fi Iom Connectivity Fabric
FI-IOM Connectivity Fabric List
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/fi_iom_connectivity_fabric?projectName=Projectname"
from mimir import Mimir
m = Mimir()
fi_iom_connectivity_fabric = m.dcaf.fi_iom_connectivity_fabric.get(projectName='Projectname')
GET
/api/mimir/dcaf/fi_iom_connectivity_fabric
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
ucsFi | string | UCS FI | |
fiPort | string | Fabric Interconnect Port. | |
chassis | string | Chassis. | |
iom | string | IO Module. | |
iomPort | string | IO Module Port. | |
siteName | string | Sitename | Name of the site. |
DCAF Field Notices
Field Notices List
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/field_notices?projectName=Projectname"
from mimir import Mimir
m = Mimir()
field_notices = m.dcaf.field_notices.get(projectName='Projectname')
GET
/api/mimir/dcaf/field_notices
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pid | string | Product ID | |
physicalType | string | Physical Type | |
fieldNoticeId | string | Field Notice Id | |
fieldName | string | Floppy Order | |
status | string | Status | |
distributionCode | string | Distribution Code | |
typeCode | string | Type Code | |
url | string | URL | |
publishUserId | string | Publish UserId | |
firstPublishDate | string | Type Code | |
lastRevisionDate | string | Last Revision Date | |
background | string | Background | |
caveat | string | Caveat | |
hardwareLevels | string | hardwareLevels | |
problemDescription | string | problemDescription | |
problemSymptoms | string | problemSymptoms | |
upgradeProgram | string | upgradeProgram | |
workAround | string | workAround | |
siteName | string | Sitename | Name of the site. |
DCAF Firmware Policies
Firmware Policies.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/firmware_policies?projectName=Projectname"
from mimir import Mimir
m = Mimir()
firmware_policies = m.dcaf.firmware_policies.get(projectName='Projectname')
GET
/api/mimir/dcaf/firmware_policies
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
policyName | string | Policy Name | |
org | string | Organisation. | |
remarks | string | Remarks | |
siteName | string | Sitename | Name of the site. |
DCAF Host Firmware Packs
Host Firmware Packs List
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/host_firmware_packs?projectName=Projectname"
from mimir import Mimir
m = Mimir()
host_firmware_packs = m.dcaf.host_firmware_packs.get(projectName='Projectname')
GET
/api/mimir/dcaf/host_firmware_packs
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
org | string | Organisation. | |
firmwarePackName | string | Firmware Pack Name | |
firmwareComponent | string | Firmware Component | |
componentVersion | string | Component Version | |
siteName | string | Sitename | Name of the site. |
DCAF Installed Firmware
Installed Firmaware List
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/installed_firmware?projectName=Projectname"
from mimir import Mimir
m = Mimir()
installed_firmware = m.dcaf.installed_firmware.get(projectName='Projectname')
GET
/api/mimir/dcaf/installed_firmware
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
ucsPod | string | POD - dont really know | |
component | string | Component | |
activeVersion | string | activeVersion | |
backupVersion | string | Backup Version | |
siteName | string | Sitename | Name of the site. |
DCAF Io Module
IO Modules by project.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/io_module?projectName=Projectname"
from mimir import Mimir
m = Mimir()
io_module = m.dcaf.io_module.get(projectName='Projectname')
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
model | string | DC-XXX-YYY | Model of the device. |
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
serialNumber | string | 12345XX | Serial Number. |
siteName | string | Sitename | Name of the site. |
DCAF Ip Addressing
Device list.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/ip_addressing?projectName=Projectname"
from mimir import Mimir
m = Mimir()
ip_addressing = m.dcaf.ip_addressing.get(projectName='Projectname')
GET
/api/mimir/dcaf/ip_addressing
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
device | string | Device | |
poolName | string | Pool Name | |
subnetMask | string | subnetMask | |
siteName | string | Sitename | Name of the site. |
DCAF Ip Pool Block
IP Pooled Block List.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/ip_pool_block?projectName=Projectname"
from mimir import Mimir
m = Mimir()
ip_pool_block = m.dcaf.ip_pool_block.get(projectName='Projectname')
GET
/api/mimir/dcaf/ip_pool_block
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
dn | string | dn | |
subnet | string | Subnet | |
from | string | From | |
to | string | To | |
siteName | string | Sitename | Name of the site. |
DCAF Ip Pooled
IP Pooled List.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/ip_pooled?projectName=Projectname"
from mimir import Mimir
m = Mimir()
ip_pooled = m.dcaf.ip_pooled.get(projectName='Projectname')
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
dn | string | dn | |
poolableDn | string | Poolable Dn | |
assigned | string | Assigned | |
subnet | string | Subnet | |
prevAssignedToDn | string | Prev Assigned To Dn | |
ipPooledId | string | IP Pooled Id | |
defGw | string | DefGw | |
assignedToDn | string | Assigned To Dn | |
siteName | string | Sitename | Name of the site. |
DCAF Local Storage
Local Storage List
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/local_storage?projectName=Projectname"
from mimir import Mimir
m = Mimir()
local_storage = m.dcaf.local_storage.get(projectName='Projectname')
GET
/api/mimir/dcaf/local_storage
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
blade | string | blade | |
driveSize | string | DriveSize | |
driveConfiguration | string | Drive Configuration | |
siteName | string | Sitename | Name of the site. |
DCAF Locales
Locales List
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/locales?projectName=Projectname"
from mimir import Mimir
m = Mimir()
locales = m.dcaf.locales.get(projectName='Projectname')
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
localeName | string | localeName | |
assignedOrg | string | AssignedOrganization | |
siteName | string | Sitename | Name of the site. |
DCAF Locally Authenticated Users
Locally Authenticated users List.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/locally_authenticated_users?projectName=Projectname"
from mimir import Mimir
m = Mimir()
locally_authenticated_users = m.dcaf.locally_authenticated_users.get(projectName='Projectname')
GET
/api/mimir/dcaf/locally_authenticated_users
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
userName | string | userName | |
role | string | Role | |
locale | string | Locale | |
siteName | string | Sitename | Name of the site. |
DCAF Mac Address
mac_address list.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/mac_address?projectName=Projectname"
from mimir import Mimir
m = Mimir()
mac_address = m.dcaf.mac_address.get(projectName='Projectname')
GET
/api/mimir/dcaf/mac_address
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
macAddress | string | Mac Address | |
pool | string | Pool | |
assignedTo | string | Assigned To | |
siteName | string | Sitename | Name of the site. |
DCAF Mac Pools
Mac pools by project.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/mac_pools?projectName=Projectname"
from mimir import Mimir
m = Mimir()
mac_pools = m.dcaf.mac_pools.get(projectName='Projectname')
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
addressRange | string | Range of MAC Addresses in pool. | |
name | string | TBD. | |
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
numberOfAddresses | string | Number of MAC Addresses in pool. | |
org | string | Organisation. | |
siteName | string | Sitename | Name of the site. |
DCAF Maintenance Policy
Maintenance policy List.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/maintenance_policy?projectName=Projectname"
from mimir import Mimir
m = Mimir()
maintenance_policy = m.dcaf.maintenance_policy.get(projectName='Projectname')
GET
/api/mimir/dcaf/maintenance_policy
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
org | string | Organisation. | |
maintenancePolicyName | string | Redundancy | |
descr | string | Boot Policy Description | |
owner | string | Owner | |
rebootPolicy | string | rebootPolicy | |
siteName | string | Sitename | Name of the site. |
DCAF Memory Unit
Memory Unit List.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/memory_unit?projectName=Projectname"
from mimir import Mimir
m = Mimir()
memory_unit = m.dcaf.memory_unit.get(projectName='Projectname')
GET
/api/mimir/dcaf/memory_unit
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
dn | string | dn | |
vendor | string | Vendor | |
serial | string | Serial | |
model | string | DC-XXX-YYY | Model of the device. |
voltage | string | Voltage | |
thermal | string | Thermal | |
presence | string | Presence | |
power | string | Power | |
operState | string | Oper State | |
type | string | Service profiles type | |
speed | string | Speed | |
operability | string | Operability | |
location | string | Location | |
latency | string | Latency | |
formFactor | string | FormFactor | |
clock | string | Clock | |
capacity | string | Capacity | |
bank | string | Bank | |
array | string | Array | |
adminState | string | Admin State | |
siteName | string | Sitename | Name of the site. |
DCAF Nb Fc San Connectivity
NB FC SAN Connectivity List
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/nb_fc_san_connectivity?projectName=Projectname"
from mimir import Mimir
m = Mimir()
nb_fc_san_connectivity = m.dcaf.nb_fc_san_connectivity.get(projectName='Projectname')
GET
/api/mimir/dcaf/nb_fc_san_connectivity
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
ucsFi | string | UCS FI | |
ucsFiNativeFcPort | string | UCS FI Native FC Port | |
upstreamFCSanSwitchDcxPort | string | UpstreamFC SAN Switch DCX Port | |
adminState | string | Admin State | |
siteName | string | Sitename | Name of the site. |
DCAF Nb Lan Connectivity
NB LAN Connectivity List
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/nb_lan_connectivity?projectName=Projectname"
from mimir import Mimir
m = Mimir()
nb_lan_connectivity = m.dcaf.nb_lan_connectivity.get(projectName='Projectname')
GET
/api/mimir/dcaf/nb_lan_connectivity
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
fabricInterconnect | string | FabricInterconnect | |
fiPort | string | Fabric Interconnect Port. | |
nexus7KInstance | string | Nexus 7K Instance | |
nexusPort | string | Nexus Port | |
portChannel | string | Port Channel | |
siteName | string | Sitename | Name of the site. |
DCAF Oob Kvm Management Ips
OOB KVM Management IPs list.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/oob_kvm_management_ips?projectName=Projectname"
from mimir import Mimir
m = Mimir()
oob_kvm_management_ips = m.dcaf.oob_kvm_management_ips.get(projectName='Projectname')
GET
/api/mimir/dcaf/oob_kvm_management_ips
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
ucsPod | string | POD - dont really know | |
managementIpPool | string | Management Ip Pool | |
siteName | string | Sitename | Name of the site. |
DCAF Organizations
Organizations list.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/organizations?projectName=Projectname"
from mimir import Mimir
m = Mimir()
organizations = m.dcaf.organizations.get(projectName='Projectname')
GET
/api/mimir/dcaf/organizations
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
organizationName | string | Organization Name | |
descr | string | Boot Policy Description | |
siteName | string | Sitename | Name of the site. |
DCAF P2vmapping
P2V Mappings.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/p2vmapping?projectName=Projectname"
from mimir import Mimir
m = Mimir()
p2vmapping = m.dcaf.p2vmapping.get(projectName='Projectname')
GET
/api/mimir/dcaf/p2vmapping
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
vcenterIp | string | Vcenter Ip | |
dataCenter | string | DataCenter Name | |
esxIp | string | ESX Ip | |
esxVendor | string | ESX Vendor | |
esxOs | string | ESX Os | |
esxOsVersion | string | ESX Os Versoion | |
vmName | string | Vm Name | |
vmIp | string | Vm Ip | |
vmOs | string | Vm Os | |
vmType | string | Vm Type | |
UUID | string | UUID | |
siteName | string | Sitename | Name of the site. |
DCAF Power Policy
power policy list.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/power_policy?projectName=Projectname"
from mimir import Mimir
m = Mimir()
power_policy = m.dcaf.power_policy.get(projectName='Projectname')
GET
/api/mimir/dcaf/power_policy
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
redundancy | string | Redundancy | |
siteName | string | Sitename | Name of the site. |
DCAF Processor Unit
Processor Unit List.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/processor_unit?projectName=Projectname"
from mimir import Mimir
m = Mimir()
processor_unit = m.dcaf.processor_unit.get(projectName='Projectname')
GET
/api/mimir/dcaf/processor_unit
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
dn | string | dn | |
vendor | string | Vendor | |
model | string | DC-XXX-YYY | Model of the device. |
voltage | string | Voltage | |
thermal | string | Thermal | |
speed | string | Speed | |
socketDesignation | string | Socket Designation | |
coresEnabled | string | Cores Enabled | |
cores | string | Cores | |
arch | string | Arch | |
siteName | string | Sitename | Name of the site. |
DCAF Projects
Projects by UserId.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/projects?userId=mycecid"
from mimir import Mimir
m = Mimir()
projects = m.dcaf.projects.get(userId='mycecid')
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
userId | string | true | false | None | mycecid | User ID - A Cisco userid. |
Response
Name | Type | Example | Definition |
---|---|---|---|
projectId | integer | 12345 | Project ID used in DCAF - unique per project |
projectName | string | Projectname | Name of the project. |
customerName | string | Name of the customer. | |
createdOn | date | The date when the project is created. |
DCAF Psu
PSU List.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/psu?projectName=Projectname"
from mimir import Mimir
m = Mimir()
psu = m.dcaf.psu.get(projectName='Projectname')
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
model | string | DC-XXX-YYY | Model of the device. |
operState | string | Oper State | |
power | string | Power | |
presence | string | Presence | |
serial | string | Serial | |
thermal | string | Thermal | |
vendor | string | Vendor | |
voltage | string | Voltage | |
location | string | Location | |
siteName | string | Sitename | Name of the site. |
DCAF Roles
Roles List.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/roles?projectName=Projectname"
from mimir import Mimir
m = Mimir()
roles = m.dcaf.roles.get(projectName='Projectname')
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
roleName | string | Role name | |
siteName | string | Sitename | Name of the site. |
DCAF Service Profile Template
Service Profile Templates.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/service_profile_template?projectName=Projectname"
from mimir import Mimir
m = Mimir()
service_profile_template = m.dcaf.service_profile_template.get(projectName='Projectname')
GET
/api/mimir/dcaf/service_profile_template
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
vHBA(ActualPlacement) | string | ||
vHBATemplate | string | ||
vNIC(ActualPlacement) | string | ||
vNICTemplate | string | ||
vNIC/vHBAPlacement | string | ||
BIOSPolicy | string | ||
bootOrder | string | ||
bootPolicy | string | ||
dn | string | dn | |
hostFirmwarePolicy | string | ||
IPMIProfile | string | ||
localDiskPolicy | string | ||
maintenancePolicy | string | ||
mgmtFirmwarePolicy | string | ||
templateName | string | Oper source Template name | |
org | string | Organisation. | |
remarks | string | Remarks | |
scrubPolicy | string | ||
serialoverLANPolicy | string | ||
serviceProfileType | string | ||
serverPoolAssignment | string | ||
thresholdPolicy | string | ||
uuid | string | ||
WWNNPoolName | string | ||
siteName | string | Sitename | Name of the site. |
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
DCAF Service Profiles
Service Profiles List.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/service_profiles?projectName=Projectname"
from mimir import Mimir
m = Mimir()
service_profiles = m.dcaf.service_profiles.get(projectName='Projectname')
GET
/api/mimir/dcaf/service_profiles
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
serviceProfileName | string | Service Profile Name. | |
org | string | Organisation. | |
associatedStatus | string | associated Status with service profiles | |
type | string | Service profiles type | |
templateName | string | Oper source Template name | |
associatedServer | string | Associated server with service profiles | |
siteName | string | Sitename | Name of the site. |
DCAF Sites
Sites corresponding to the Project.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/sites?projectName=Projectname"
from mimir import Mimir
m = Mimir()
sites = m.dcaf.sites.get(projectName='Projectname')
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
Response
Name | Type | Example | Definition |
---|---|---|---|
siteName | string | Sitename | Name of the site. |
DCAF Storage Firmware Bootunit
Storage Firmware Boot Unit list.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/storage_firmware_bootunit?projectName=Projectname"
from mimir import Mimir
m = Mimir()
storage_firmware_bootunit = m.dcaf.storage_firmware_bootunit.get(projectName='Projectname')
GET
/api/mimir/dcaf/storage_firmware_bootunit
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
dn | string | dn | |
version | string | Version | |
type | string | Service profiles type | |
backupVersion | string | Backup Version | |
operState | string | Oper State | |
adminState | string | Admin State | |
siteName | string | Sitename | Name of the site. |
DCAF Storage Flexflash Diskconfigdef
Storage Flex Flash Disk Configuration Definition Drive List.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/storage_flexflash_diskconfigdef?projectName=Projectname"
from mimir import Mimir
m = Mimir()
storage_flexflash_diskconfigdef = m.dcaf.storage_flexflash_diskconfigdef.get(projectName='Projectname')
GET
/api/mimir/dcaf/storage_flexflash_diskconfigdef
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
dn | string | dn | |
policyOwner | string | Policy Owner | |
policyLevel | string | Policy Level | |
mode | string | Mode | |
flexFlashState | string | Flex Flash State | |
ffRaidReportingState | string | Flex Flash Raid Reporting State | |
siteName | string | Sitename | Name of the site. |
DCAF Storage Flexflash Virtualdrive
Storage Flex Flash Virtual Drive List.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/storage_flexflash_virtualdrive?projectName=Projectname"
from mimir import Mimir
m = Mimir()
storage_flexflash_virtualdrive = m.dcaf.storage_flexflash_virtualdrive.get(projectName='Projectname')
GET
/api/mimir/dcaf/storage_flexflash_virtualdrive
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
dn | string | dn | |
size | string | Size | |
presence | string | Presence | |
operability | string | Operability | |
numberOfBlocks | string | Number Of Blocks | |
blockSize | string | Block Size | |
revision | string | Revision | |
siteName | string | Sitename | Name of the site. |
DCAF Storage Localdisk Partition
Storage Local Disk Partition list.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/storage_localdisk_partition?projectName=Projectname"
from mimir import Mimir
m = Mimir()
storage_localdisk_partition = m.dcaf.storage_localdisk_partition.get(projectName='Projectname')
GET
/api/mimir/dcaf/storage_localdisk_partition
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
dn | string | dn | |
policyOwner | string | Policy Owner | |
policyLevel | string | Policy Level | |
type | string | Service profiles type | |
size | string | Size | |
order | string | Order | |
siteName | string | Sitename | Name of the site. |
DCAF Storage Operation
Storage Operational list.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/storage_operation?projectName=Projectname"
from mimir import Mimir
m = Mimir()
storage_operation = m.dcaf.storage_operation.get(projectName='Projectname')
GET
/api/mimir/dcaf/storage_operation
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
dn | string | dn | |
startTime | string | Start Time | |
operState | string | Oper State | |
name | string | TBD. | |
endTime | string | End Time | |
siteName | string | Sitename | Name of the site. |
DCAF Storage Raid Battery
Storage Raid Battery.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/storage_raid_battery?projectName=Projectname"
from mimir import Mimir
m = Mimir()
storage_raid_battery = m.dcaf.storage_raid_battery.get(projectName='Projectname')
GET
/api/mimir/dcaf/storage_raid_battery
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
dn | string | dn | |
storageSize | string | Vcenter Ip | |
presence | string | Presence | |
operability | string | Operability | |
numberOfBlocks | string | Number Of Blocks | |
connectionProtocol | string | ESX Os | |
blockSize | string | Block Size | |
vendor | string | Vendor | |
model | string | DC-XXX-YYY | Model of the device. |
storageId | string | Vm Os | |
temperature | string | Vm Type | |
nextLearCycleTs | string | UUID | |
learnMode | string | ||
learnCycleRequested | string | ||
lc | string | ||
capacityPercentage | string | ||
bbuStatus | string | ||
batteryType | string | ||
siteName | string | Sitename | Name of the site. |
DCAF Threshold Policies
threshold policies List.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/threshold_policies?projectName=Projectname"
from mimir import Mimir
m = Mimir()
threshold_policies = m.dcaf.threshold_policies.get(projectName='Projectname')
GET
/api/mimir/dcaf/threshold_policies
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
org | string | Organisation. | |
policyName | string | Policy Name | |
className | string | Class Name | |
normalValue | string | Threshold NormalValue | |
escaltingValue | string | Threshold NormalValue | |
deEscalatingValue | string | Threshold deEscalatingValue | |
severity | string | Severity | |
siteName | string | Sitename | Name of the site. |
DCAF Ucs Alert
UCS Alert List
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/ucs_alert?projectName=Projectname"
from mimir import Mimir
m = Mimir()
ucs_alert = m.dcaf.ucs_alert.get(projectName='Projectname')
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
severity | string | Severity | |
code | string | Code | |
afftectedObject | string | Afftected Object | |
cause | string | Cause | |
descr | string | Boot Policy Description | |
siteName | string | Sitename | Name of the site. |
DCAF Ucs Interface Statistics
UCS Interface Statistics List
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/ucs_interface_statistics?projectName=Projectname"
from mimir import Mimir
m = Mimir()
ucs_interface_statistics = m.dcaf.ucs_interface_statistics.get(projectName='Projectname')
GET
/api/mimir/dcaf/ucs_interface_statistics
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
device | string | Device | |
port | string | UCS Interface Statistics port | |
portRole | string | UCS Interface Statistics port Role | |
description | string | UCS Interface Statistics description | |
average | string | UCS Interface Statistics average | |
max | string | UCS Interface Statistics max | |
siteName | string | Sitename | Name of the site. |
DCAF Ucs Vif Usage Statistics
UCS VIF Usage Statistics List
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/ucs_vif_usage_statistics?projectName=Projectname"
from mimir import Mimir
m = Mimir()
ucs_vif_usage_statistics = m.dcaf.ucs_vif_usage_statistics.get(projectName='Projectname')
GET
/api/mimir/dcaf/ucs_vif_usage_statistics
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
device | string | Device | |
vlanPortCountUsed | string | Vlan Port Count Used | |
vlanPortCountMax | string | vlanPortCountMax | |
percentage | string | Percentage | |
siteName | string | Sitename | Name of the site. |
DCAF Uuid Pools
UUID pools by project.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/uuid_pools?projectName=Projectname"
from mimir import Mimir
m = Mimir()
uuid_pools = m.dcaf.uuid_pools.get(projectName='Projectname')
GET
/api/mimir/dcaf/uuid_pools
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
addressRange | string | Range of MAC Addresses in pool. | |
name | string | TBD. | |
numberOfAddresses | string | Number of MAC Addresses in pool. | |
org | string | Organisation. | |
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
siteName | string | Sitename | Name of the site. |
DCAF Uuids
UUIDs list.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/uuids?projectName=Projectname"
from mimir import Mimir
m = Mimir()
uuids = m.dcaf.uuids.get(projectName='Projectname')
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
uuidAddress | string | uuidAddress | |
pool | string | Pool | |
assignedTo | string | Assigned To | |
siteName | string | Sitename | Name of the site. |
DCAF Vhba Adapter Templates
VHBA Adapter Templates.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/vhba_adapter_templates?projectName=Projectname"
from mimir import Mimir
m = Mimir()
vhba_adapter_templates = m.dcaf.vhba_adapter_templates.get(projectName='Projectname')
GET
/api/mimir/dcaf/vhba_adapter_templates
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
templateName | string | Oper source Template name | |
serviceProfileTemplateName | string | Service profile template name | |
fabricId | string | fabricId | |
type | string | Service profiles type | |
vsanId | string | VSAN Id | |
vsanName | string | VSAN Name | |
wwpnPoolName | string | WWPN pool name | |
siteName | string | Sitename | Name of the site. |
DCAF Vlans
VLAN’s.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/vlans?projectName=Projectname"
from mimir import Mimir
m = Mimir()
vlans = m.dcaf.vlans.get(projectName='Projectname')
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
vlanName | string | VLAN name | |
vlanId | string | vlanId | |
description | string | UCS Interface Statistics description | |
siteName | string | Sitename | Name of the site. |
DCAF Vnic Adapter Templates
VNIC Adapters Templates
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/vnic_adapter_templates?projectName=Projectname"
from mimir import Mimir
m = Mimir()
vnic_adapter_templates = m.dcaf.vnic_adapter_templates.get(projectName='Projectname')
GET
/api/mimir/dcaf/vnic_adapter_templates
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
model | string | DC-XXX-YYY | Model of the device. |
serviceProfile | string | service Profile | |
fabricId | string | fabricId | |
enableFailover | string | enableFailover | |
target | string | target | |
type | string | Service profiles type | |
mtu | string | MTU | |
macPool | string | MAC Pool | |
networkControlPolicy | string | networkControlPolicy | |
vlanId | string | vlanId | |
nativeVlan | string | nativeVlan | |
siteName | string | Sitename | Name of the site. |
DCAF Vsans
VLAN’s.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/vsans?projectName=Projectname"
from mimir import Mimir
m = Mimir()
vsans = m.dcaf.vsans.get(projectName='Projectname')
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
vsanName | string | VSAN Name | |
vsanId | string | VSAN Id | |
description | string | UCS Interface Statistics description | |
siteName | string | Sitename | Name of the site. |
DCAF Ww Port Names
World Wide Port Names list.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/ww_port_names?projectName=Projectname"
from mimir import Mimir
m = Mimir()
ww_port_names = m.dcaf.ww_port_names.get(projectName='Projectname')
GET
/api/mimir/dcaf/ww_port_names
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
wwpnAddress | string | World Wide Port address | |
pool | string | Pool | |
assignedTo | string | Assigned To | |
siteName | string | Sitename | Name of the site. |
DCAF Wwnn
World Wide Node Names list.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/wwnn?projectName=Projectname"
from mimir import Mimir
m = Mimir()
wwnn = m.dcaf.wwnn.get(projectName='Projectname')
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
wwnnAddress | string | World Wide Node Name Address | |
pool | string | Pool | |
assignedTo | string | Assigned To | |
siteName | string | Sitename | Name of the site. |
DCAF Wwnn Pools
WWNN pools by project.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/wwnn_pools?projectName=Projectname"
from mimir import Mimir
m = Mimir()
wwnn_pools = m.dcaf.wwnn_pools.get(projectName='Projectname')
GET
/api/mimir/dcaf/wwnn_pools
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
addressRange | string | Range of MAC Addresses in pool. | |
name | string | TBD. | |
numberOfAddresses | string | Number of MAC Addresses in pool. | |
org | string | Organisation. | |
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
siteName | string | Sitename | Name of the site. |
DCAF Wwpn Pools
WWPN Pools
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/dcaf/wwpn_pools?projectName=Projectname"
from mimir import Mimir
m = Mimir()
wwpn_pools = m.dcaf.wwpn_pools.get(projectName='Projectname')
GET
/api/mimir/dcaf/wwpn_pools
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | Projectname | Project Name - Name of the project. |
siteName | string | false | false | None | Sitename | Site Name - Name of the site. |
Response
Name | Type | Example | Definition |
---|---|---|---|
addressRange | string | Range of MAC Addresses in pool. | |
name | string | TBD. | |
numberOfAddresses | string | Number of MAC Addresses in pool. | |
org | string | Organisation. | |
pod | string | pod | POD - A pod is a logical grouping of physical and virtual components |
siteName | string | Sitename | Name of the site. |
EXTRACT
The Extract service provides APIs to extract device show command and config data into JSON.
- Version: v1.0.0
- Owner: Ezra Forbus (eforbus@cisco.com)
- Contact: extract-support@cisco.com
- Homepage: N/A
EXTRACT Cli
Leverage the Extract framework to parse input CLI data
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/extract/cli?command=show version"
from mimir import Mimir
m = Mimir()
cli = m.extract.cli.post(command='show version')
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
rawData | string | false | false | None | rawData | Raw Data - The raw data from CLI or Config. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
command | string | true | true | None | show version | Command - The CLI Command name. |
vendor | string | false | false | None | Cisco | Vendor - Vendor Name. |
ruleType | string | false | false | perl | ruleType | Rule Type - Extract rule type/syntax (perl or testfsm) |
Response
Name | Type | Example | Definition |
---|---|---|---|
command | string | show version | The CLI Command name. |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
vendor | string | Cisco | Vendor Name. |
extract | object | Either an object or array representing the attributes parsed by the Extract framework. Use the schema API to get the object definition for a command. |
EXTRACT Cli Available
List the CLI commands supported by the Extract framework.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/extract/cli_available"
from mimir import Mimir
m = Mimir()
cli_available = m.extract.cli_available.get()
GET
/api/mimir/extract/cli_available
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
vendor | string | false | false | None | Cisco | Vendor - Vendor Name. |
Response
Name | Type | Example | Definition |
---|---|---|---|
commandName | string | show version | The CLI Command name. |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
vendor | string | Cisco | Vendor Name. |
schema | boolean | Set to true if command has a JSON schema definition |
EXTRACT Config
Leverage the Extract framework to parse input Config data
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/extract/config"
from mimir import Mimir
m = Mimir()
config = m.extract.config.post()
POST
/api/mimir/extract/config
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
rawData | string | false | false | None | rawData | Raw Data - The raw data from CLI or Config. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
vendor | string | false | false | None | Cisco | Vendor - Vendor Name. |
Response
Name | Type | Example | Definition |
---|---|---|---|
command | string | show version | The CLI Command name. |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
vendor | string | Cisco | Vendor Name. |
extract | object | Either an object or array representing the attributes parsed by the Extract framework. Use the schema API to get the object definition for a command. |
EXTRACT Schema
Get the JSON schema definition for a Extract CLI command
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/extract/schema?command=show version"
from mimir import Mimir
m = Mimir()
schema = m.extract.schema.get(command='show version')
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
command | string | true | false | None | show version | Command - The CLI Command name. |
Response
Name | Type | Example | Definition |
---|
IC
Actionable Insights Exchange
- Version: v1.0.0
- Owner: AIX Support aix-support@cisco.com
- Contact: AIX Support aix-support@cisco.com
- Homepage: http://aix.cisco.com
LOKI
Netsim is a hosted VIRL service for Cisco Advanced Services
- Version: v1.0.0
- Owner: Jody Carbone jocarbon@cisco.com
- Contact: loki-support@cisco.com
- Homepage: https://loki.cisco.com
LOKI Show Usage Admin
Returns Loki model usage data
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/admin/usage?startDate=startDate"
from mimir import Mimir
m = Mimir()
usage = m.loki.admin.usage.get(startDate='startDate')
GET
/api/mimir/loki/admin/usage
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
startDate | string | true | false | None | startDate | startDate - Start date (YYYY-MM-DD) |
endDate | string | false | false | None | endDate | endDate - End date (YYYY-MM-DD). Defaults to current date. |
format | string | false | false | json | format | format - Export format |
Response
Name | Type | Example | Definition |
---|---|---|---|
ResponseUsageCollection | object | List of resources |
LOKI Login Auth
Login to the API
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/auth/login"
from mimir import Mimir
m = Mimir()
login = m.loki.auth.login.post()
POST
/api/mimir/loki/auth/login
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | User logged in successfully |
LOKI Logout Auth
Logout of the API
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/auth/logout"
from mimir import Mimir
m = Mimir()
logout = m.loki.auth.logout.get()
GET
/api/mimir/loki/auth/logout
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | User logged out successfully |
LOKI Get Config Config
Render config file json
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/config/name"
from mimir import Mimir
m = Mimir()
name = m.loki.config.get('name')
GET
/api/mimir/loki/config/{name}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
name | string | true | false | None | name | name - Configuration name |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | JSON Config File |
LOKI Create Device
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/device" -d@Device.json
from mimir import Mimir
m = Mimir()
device = m.loki.device.post(data=Device)
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Device | object | true | false | None | Device - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Device | object | Created resource |
LOKI List Device
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/device"
from mimir import Mimir
m = Mimir()
device = m.loki.device.get()
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
last | integer | false | false | None | 12345 | last - Get latest item in list. |
Response
Name | Type | Example | Definition |
---|---|---|---|
DeviceCollection | object | List of resources |
LOKI Remove Resource Device
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/device/id"
from mimir import Mimir
m = Mimir()
id = m.loki.device.delete('id')
DELETE
/api/mimir/loki/device/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show Device
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/device/id"
from mimir import Mimir
m = Mimir()
id = m.loki.device.get('id')
GET
/api/mimir/loki/device/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Device | object | Resource object |
LOKI Update Device
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/device/id" -d@Device.json
from mimir import Mimir
m = Mimir()
id = m.loki.device.put('id', data=Device)
PUT
/api/mimir/loki/device/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Device | object | true | false | None | Device - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Device | object | Updated resource |
LOKI List Device Commands
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/device/id/commands"
from mimir import Mimir
m = Mimir()
commands = m.loki.device.commands.get('id')
GET
/api/mimir/loki/device/{id}/commands
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
last | integer | false | false | None | 12345 | last - Get latest item in list. |
Response
Name | Type | Example | Definition |
---|---|---|---|
DeviceCommandCollection | object | List of resources |
LOKI Create Device Commands
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/device/id/commands" -d@DeviceCommand.json
from mimir import Mimir
m = Mimir()
commands = m.loki.device.commands.post('id', data=DeviceCommand)
POST
/api/mimir/loki/device/{id}/commands
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
DeviceCommand | object | true | false | None | DeviceCommand - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
DeviceCommand | object | Created resource |
LOKI Show Device Commands
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/device/id/commands/commandid"
from mimir import Mimir
m = Mimir()
commandid = m.loki.device.commands.get('id', 'commandid')
GET
/api/mimir/loki/device/{id}/commands/{commandid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
commandid | string | true | false | None | commandid | commandid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
DeviceCommand | object | Resource object |
LOKI Remove Resource Device Commands
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/device/id/commands/commandid"
from mimir import Mimir
m = Mimir()
commandid = m.loki.device.commands.delete('id', 'commandid')
DELETE
/api/mimir/loki/device/{id}/commands/{commandid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
commandid | string | true | false | None | commandid | commandid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Update Device Commands
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/device/id/commands/commandid" -d@DeviceCommand.json
from mimir import Mimir
m = Mimir()
commandid = m.loki.device.commands.put('id', 'commandid', data=DeviceCommand)
PUT
/api/mimir/loki/device/{id}/commands/{commandid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
commandid | string | true | false | None | commandid | commandid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
DeviceCommand | object | true | false | None | DeviceCommand - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
DeviceCommand | object | Updated resource |
LOKI Create Device Interfaces
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/device/id/interfaces" -d@DeviceInterface.json
from mimir import Mimir
m = Mimir()
interfaces = m.loki.device.interfaces.post('id', data=DeviceInterface)
POST
/api/mimir/loki/device/{id}/interfaces
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
DeviceInterface | object | true | false | None | DeviceInterface - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
DeviceInterface | object | Created resource |
LOKI List Device Interfaces
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/device/id/interfaces"
from mimir import Mimir
m = Mimir()
interfaces = m.loki.device.interfaces.get('id')
GET
/api/mimir/loki/device/{id}/interfaces
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
last | integer | false | false | None | 12345 | last - Get latest item in list. |
Response
Name | Type | Example | Definition |
---|---|---|---|
DeviceInterfaceCollection | object | List of resources |
LOKI Remove Resource Device Interfaces
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/device/id/interfaces/interfaceid"
from mimir import Mimir
m = Mimir()
interfaceid = m.loki.device.interfaces.delete('id', 'interfaceid')
DELETE
/api/mimir/loki/device/{id}/interfaces/{interfaceid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
interfaceid | string | true | false | None | interfaceid | interfaceid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show Device Interfaces
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/device/id/interfaces/interfaceid"
from mimir import Mimir
m = Mimir()
interfaceid = m.loki.device.interfaces.get('id', 'interfaceid')
GET
/api/mimir/loki/device/{id}/interfaces/{interfaceid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
interfaceid | string | true | false | None | interfaceid | interfaceid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
DeviceInterface | object | Resource object |
LOKI Update Device Interfaces
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/device/id/interfaces/interfaceid" -d@DeviceInterface.json
from mimir import Mimir
m = Mimir()
interfaceid = m.loki.device.interfaces.put('id', 'interfaceid', data=DeviceInterface)
PUT
/api/mimir/loki/device/{id}/interfaces/{interfaceid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
interfaceid | string | true | false | None | interfaceid | interfaceid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
DeviceInterface | object | true | false | None | DeviceInterface - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
DeviceInterface | object | Updated resource |
LOKI Create Group
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/group" -d@AAAGroup.json
from mimir import Mimir
m = Mimir()
group = m.loki.group.post(data=AAAGroup)
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
AAAGroup | object | true | false | None | AAAGroup - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
AAAGroup | object | Created resource |
LOKI List Group
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/group"
from mimir import Mimir
m = Mimir()
group = m.loki.group.get()
Response
Name | Type | Example | Definition |
---|---|---|---|
AAAGroupCollection | object | List of resources |
LOKI Remove Resource Group
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/group/id"
from mimir import Mimir
m = Mimir()
id = m.loki.group.delete('id')
DELETE
/api/mimir/loki/group/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show Group
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/group/id"
from mimir import Mimir
m = Mimir()
id = m.loki.group.get('id')
GET
/api/mimir/loki/group/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
AAAGroup | object | Resource object |
LOKI Update Group
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/group/id" -d@AAAGroup.json
from mimir import Mimir
m = Mimir()
id = m.loki.group.put('id', data=AAAGroup)
PUT
/api/mimir/loki/group/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
AAAGroup | object | true | false | None | AAAGroup - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
AAAGroup | object | Updated resource |
LOKI Create Group Models
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/group/id/models" -d@Model.json
from mimir import Mimir
m = Mimir()
models = m.loki.group.models.post('id', data=Model)
POST
/api/mimir/loki/group/{id}/models
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Model | object | true | false | None | Model - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Model | object | Created resource |
LOKI List Group Models
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/group/id/models"
from mimir import Mimir
m = Mimir()
models = m.loki.group.models.get('id')
GET
/api/mimir/loki/group/{id}/models
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
ModelCollection | object | List of resources |
LOKI Update Group Models
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/group/id/models/modelid" -d@Model.json
from mimir import Mimir
m = Mimir()
modelid = m.loki.group.models.put('id', 'modelid', data=Model)
PUT
/api/mimir/loki/group/{id}/models/{modelid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
modelid | string | true | false | None | modelid | modelid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Model | object | true | false | None | Model - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Model | object | Updated resource |
LOKI Show Group Models
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/group/id/models/modelid"
from mimir import Mimir
m = Mimir()
modelid = m.loki.group.models.get('id', 'modelid')
GET
/api/mimir/loki/group/{id}/models/{modelid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
modelid | string | true | false | None | modelid | modelid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Model | object | Resource object |
LOKI Remove Resource Group Models
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/group/id/models/modelid"
from mimir import Mimir
m = Mimir()
modelid = m.loki.group.models.delete('id', 'modelid')
DELETE
/api/mimir/loki/group/{id}/models/{modelid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
modelid | string | true | false | None | modelid | modelid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Create Group Settings
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/group/id/settings" -d@AAAGroupSettings.json
from mimir import Mimir
m = Mimir()
settings = m.loki.group.settings.post('id', data=AAAGroupSettings)
POST
/api/mimir/loki/group/{id}/settings
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
AAAGroupSettings | object | true | false | None | AAAGroupSettings - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
AAAGroupSettings | object | Created resource |
LOKI List Group Settings
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/group/id/settings"
from mimir import Mimir
m = Mimir()
settings = m.loki.group.settings.get('id')
GET
/api/mimir/loki/group/{id}/settings
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
AAAGroupSettingsCollection | object | List of resources |
LOKI Update Group Settings
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/group/id/settings/groupsettingsid" -d@AAAGroupSettings.json
from mimir import Mimir
m = Mimir()
groupsettingsid = m.loki.group.settings.put('id', 'groupsettingsid', data=AAAGroupSettings)
PUT
/api/mimir/loki/group/{id}/settings/{groupsettingsid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
groupsettingsid | string | true | false | None | groupsettingsid | groupsettingsid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
AAAGroupSettings | object | true | false | None | AAAGroupSettings - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
AAAGroupSettings | object | Updated resource |
LOKI Show Group Settings
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/group/id/settings/groupsettingsid"
from mimir import Mimir
m = Mimir()
groupsettingsid = m.loki.group.settings.get('id', 'groupsettingsid')
GET
/api/mimir/loki/group/{id}/settings/{groupsettingsid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
groupsettingsid | string | true | false | None | groupsettingsid | groupsettingsid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
AAAGroupSettings | object | Resource object |
LOKI Remove Resource Group Settings
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/group/id/settings/groupsettingsid"
from mimir import Mimir
m = Mimir()
groupsettingsid = m.loki.group.settings.delete('id', 'groupsettingsid')
DELETE
/api/mimir/loki/group/{id}/settings/{groupsettingsid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
groupsettingsid | string | true | false | None | groupsettingsid | groupsettingsid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI List Group Users
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/group/id/users"
from mimir import Mimir
m = Mimir()
users = m.loki.group.users.get('id')
GET
/api/mimir/loki/group/{id}/users
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
AAAGroupUserCollection | object | List of resources |
LOKI Create Group Users
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/group/id/users" -d@AAAGroupUser.json
from mimir import Mimir
m = Mimir()
users = m.loki.group.users.post('id', data=AAAGroupUser)
POST
/api/mimir/loki/group/{id}/users
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
AAAGroupUser | object | true | false | None | AAAGroupUser - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
AAAGroupUser | object | Created resource |
LOKI Show Group Users
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/group/id/users/groupuserid"
from mimir import Mimir
m = Mimir()
groupuserid = m.loki.group.users.get('id', 'groupuserid')
GET
/api/mimir/loki/group/{id}/users/{groupuserid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
groupuserid | string | true | false | None | groupuserid | groupuserid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
AAAGroupUser | object | Resource object |
LOKI Remove Resource Group Users
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/group/id/users/groupuserid"
from mimir import Mimir
m = Mimir()
groupuserid = m.loki.group.users.delete('id', 'groupuserid')
DELETE
/api/mimir/loki/group/{id}/users/{groupuserid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
groupuserid | string | true | false | None | groupuserid | groupuserid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Update Group Users
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/group/id/users/groupuserid" -d@AAAGroupUser.json
from mimir import Mimir
m = Mimir()
groupuserid = m.loki.group.users.put('id', 'groupuserid', data=AAAGroupUser)
PUT
/api/mimir/loki/group/{id}/users/{groupuserid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
groupuserid | string | true | false | None | groupuserid | groupuserid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
AAAGroupUser | object | true | false | None | AAAGroupUser - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
AAAGroupUser | object | Updated resource |
LOKI List Icon
List icons & colors
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/icon"
from mimir import Mimir
m = Mimir()
icon = m.loki.icon.get()
Response
Name | Type | Example | Definition |
---|---|---|---|
ResponseIcon | object | Topology Icons and Colors |
LOKI Get Icon Icon
Render a icon
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/icon/id"
from mimir import Mimir
m = Mimir()
id = m.loki.icon.get('id')
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Icon identifier to render |
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
color | string | false | false | None | color | color - Color to using for rendering |
Response
Name | Type | Example | Definition |
---|
LOKI Create Link
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/link" -d@Link.json
from mimir import Mimir
m = Mimir()
link = m.loki.link.post(data=Link)
POST
/api/mimir/loki/link
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Link | object | true | false | None | Link - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Link | object | Created resource |
LOKI List Link
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/link"
from mimir import Mimir
m = Mimir()
link = m.loki.link.get()
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
last | integer | false | false | None | 12345 | last - Get latest item in list. |
Response
Name | Type | Example | Definition |
---|---|---|---|
LinkCollection | object | List of resources |
LOKI Update Link
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/link/id" -d@Link.json
from mimir import Mimir
m = Mimir()
id = m.loki.link.put('id', data=Link)
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Link | object | true | false | None | Link - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Link | object | Updated resource |
LOKI Remove Resource Link
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/link/id"
from mimir import Mimir
m = Mimir()
id = m.loki.link.delete('id')
DELETE
/api/mimir/loki/link/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show Link
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/link/id"
from mimir import Mimir
m = Mimir()
id = m.loki.link.get('id')
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Link | object | Resource object |
LOKI Show Me Me
Returns info about the current user
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/me"
from mimir import Mimir
m = Mimir()
me = m.loki.me.get()
Response
Name | Type | Example | Definition |
---|---|---|---|
ResponseUser | object | User Object |
LOKI Create Model
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/model" -d@Model.json
from mimir import Mimir
m = Mimir()
model = m.loki.model.post(data=Model)
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Model | object | true | false | None | Model - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Model | object | Created resource |
LOKI List Model
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model"
from mimir import Mimir
m = Mimir()
model = m.loki.model.get()
Response
Name | Type | Example | Definition |
---|---|---|---|
ModelCollection | object | List of resources |
LOKI Remove Resource Model
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/model/id"
from mimir import Mimir
m = Mimir()
id = m.loki.model.delete('id')
DELETE
/api/mimir/loki/model/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show Model
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id"
from mimir import Mimir
m = Mimir()
id = m.loki.model.get('id')
GET
/api/mimir/loki/model/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Model | object | Resource object |
LOKI Update Model
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/model/id" -d@Model.json
from mimir import Mimir
m = Mimir()
id = m.loki.model.put('id', data=Model)
PUT
/api/mimir/loki/model/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Model | object | true | false | None | Model - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Model | object | Updated resource |
LOKI Create Model Bgp
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/model/id/bgp" -d@RoutingBgp.json
from mimir import Mimir
m = Mimir()
bgp = m.loki.model.bgp.post('id', data=RoutingBgp)
POST
/api/mimir/loki/model/{id}/bgp
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
RoutingBgp | object | true | false | None | RoutingBgp - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingBgp | object | Created resource |
LOKI List Model Bgp
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/bgp"
from mimir import Mimir
m = Mimir()
bgp = m.loki.model.bgp.get('id')
GET
/api/mimir/loki/model/{id}/bgp
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingBgpCollection | object | List of resources |
LOKI Show Model Bgp
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/bgp/bgpid"
from mimir import Mimir
m = Mimir()
bgpid = m.loki.model.bgp.get('id', 'bgpid')
GET
/api/mimir/loki/model/{id}/bgp/{bgpid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
bgpid | string | true | false | None | bgpid | bgpid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingBgp | object | Resource object |
LOKI Remove Resource Model Bgp
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/model/id/bgp/bgpid"
from mimir import Mimir
m = Mimir()
bgpid = m.loki.model.bgp.delete('id', 'bgpid')
DELETE
/api/mimir/loki/model/{id}/bgp/{bgpid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
bgpid | string | true | false | None | bgpid | bgpid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Update Model Bgp
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/model/id/bgp/bgpid" -d@RoutingBgp.json
from mimir import Mimir
m = Mimir()
bgpid = m.loki.model.bgp.put('id', 'bgpid', data=RoutingBgp)
PUT
/api/mimir/loki/model/{id}/bgp/{bgpid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
bgpid | string | true | false | None | bgpid | bgpid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
RoutingBgp | object | true | false | None | RoutingBgp - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingBgp | object | Updated resource |
LOKI List Model Device
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/device"
from mimir import Mimir
m = Mimir()
device = m.loki.model.device.get('id')
GET
/api/mimir/loki/model/{id}/device
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
DeviceCollection | object | List of resources |
LOKI Create Model Device
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/model/id/device" -d@Device.json
from mimir import Mimir
m = Mimir()
device = m.loki.model.device.post('id', data=Device)
POST
/api/mimir/loki/model/{id}/device
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Device | object | true | false | None | Device - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Device | object | Created resource |
LOKI Remove Resource Model Device
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/model/id/device/deviceid"
from mimir import Mimir
m = Mimir()
deviceid = m.loki.model.device.delete('id', 'deviceid')
DELETE
/api/mimir/loki/model/{id}/device/{deviceid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
deviceid | string | true | false | None | deviceid | deviceid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show Model Device
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/device/deviceid"
from mimir import Mimir
m = Mimir()
deviceid = m.loki.model.device.get('id', 'deviceid')
GET
/api/mimir/loki/model/{id}/device/{deviceid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
deviceid | string | true | false | None | deviceid | deviceid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Device | object | Resource object |
LOKI Update Model Device
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/model/id/device/deviceid" -d@Device.json
from mimir import Mimir
m = Mimir()
deviceid = m.loki.model.device.put('id', 'deviceid', data=Device)
PUT
/api/mimir/loki/model/{id}/device/{deviceid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
deviceid | string | true | false | None | deviceid | deviceid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Device | object | true | false | None | Device - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Device | object | Updated resource |
LOKI List Model Eigrp
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/eigrp"
from mimir import Mimir
m = Mimir()
eigrp = m.loki.model.eigrp.get('id')
GET
/api/mimir/loki/model/{id}/eigrp
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingEigrpCollection | object | List of resources |
LOKI Create Model Eigrp
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/model/id/eigrp" -d@RoutingEigrp.json
from mimir import Mimir
m = Mimir()
eigrp = m.loki.model.eigrp.post('id', data=RoutingEigrp)
POST
/api/mimir/loki/model/{id}/eigrp
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
RoutingEigrp | object | true | false | None | RoutingEigrp - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingEigrp | object | Created resource |
LOKI Remove Resource Model Eigrp
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/model/id/eigrp/eigrpid"
from mimir import Mimir
m = Mimir()
eigrpid = m.loki.model.eigrp.delete('id', 'eigrpid')
DELETE
/api/mimir/loki/model/{id}/eigrp/{eigrpid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
eigrpid | string | true | false | None | eigrpid | eigrpid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show Model Eigrp
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/eigrp/eigrpid"
from mimir import Mimir
m = Mimir()
eigrpid = m.loki.model.eigrp.get('id', 'eigrpid')
GET
/api/mimir/loki/model/{id}/eigrp/{eigrpid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
eigrpid | string | true | false | None | eigrpid | eigrpid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingEigrp | object | Resource object |
LOKI Update Model Eigrp
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/model/id/eigrp/eigrpid" -d@RoutingEigrp.json
from mimir import Mimir
m = Mimir()
eigrpid = m.loki.model.eigrp.put('id', 'eigrpid', data=RoutingEigrp)
PUT
/api/mimir/loki/model/{id}/eigrp/{eigrpid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
eigrpid | string | true | false | None | eigrpid | eigrpid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
RoutingEigrp | object | true | false | None | RoutingEigrp - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingEigrp | object | Updated resource |
LOKI List Model Exception
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/exception"
from mimir import Mimir
m = Mimir()
exception = m.loki.model.exception.get('id')
GET
/api/mimir/loki/model/{id}/exception
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
ExceptionCollection | object | List of resources |
LOKI Create Model Exception
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/model/id/exception" -d@Exception.json
from mimir import Mimir
m = Mimir()
exception = m.loki.model.exception.post('id', data=Exception)
POST
/api/mimir/loki/model/{id}/exception
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Exception | object | true | false | None | Exception - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Exception | object | Created resource |
LOKI Update Model Exception
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/model/id/exception/exceptionid" -d@Exception.json
from mimir import Mimir
m = Mimir()
exceptionid = m.loki.model.exception.put('id', 'exceptionid', data=Exception)
PUT
/api/mimir/loki/model/{id}/exception/{exceptionid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
exceptionid | string | true | false | None | exceptionid | exceptionid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Exception | object | true | false | None | Exception - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Exception | object | Updated resource |
LOKI Remove Resource Model Exception
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/model/id/exception/exceptionid"
from mimir import Mimir
m = Mimir()
exceptionid = m.loki.model.exception.delete('id', 'exceptionid')
DELETE
/api/mimir/loki/model/{id}/exception/{exceptionid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
exceptionid | string | true | false | None | exceptionid | exceptionid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show Model Exception
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/exception/exceptionid"
from mimir import Mimir
m = Mimir()
exceptionid = m.loki.model.exception.get('id', 'exceptionid')
GET
/api/mimir/loki/model/{id}/exception/{exceptionid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
exceptionid | string | true | false | None | exceptionid | exceptionid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Exception | object | Resource object |
LOKI Model Export Model
Export different model objects
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/model/id/export"
from mimir import Mimir
m = Mimir()
export = m.loki.model.export.post('id')
POST
/api/mimir/loki/model/{id}/export
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
format | string | false | false | json | format | format - Export format |
filename | string | false | false | None | filename | filename - Export filename |
Response
Name | Type | Example | Definition |
---|
LOKI List Model Fhrp
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/fhrp"
from mimir import Mimir
m = Mimir()
fhrp = m.loki.model.fhrp.get('id')
GET
/api/mimir/loki/model/{id}/fhrp
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
FhrpGroupCollection | object | List of resources |
LOKI Create Model Fhrp
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/model/id/fhrp" -d@FhrpGroup.json
from mimir import Mimir
m = Mimir()
fhrp = m.loki.model.fhrp.post('id', data=FhrpGroup)
POST
/api/mimir/loki/model/{id}/fhrp
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
FhrpGroup | object | true | false | None | FhrpGroup - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
FhrpGroup | object | Created resource |
LOKI Remove Resource Model Fhrp
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/model/id/fhrp/fhrpgroupid"
from mimir import Mimir
m = Mimir()
fhrpgroupid = m.loki.model.fhrp.delete('id', 'fhrpgroupid')
DELETE
/api/mimir/loki/model/{id}/fhrp/{fhrpgroupid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
fhrpgroupid | string | true | false | None | fhrpgroupid | fhrpgroupid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show Model Fhrp
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/fhrp/fhrpgroupid"
from mimir import Mimir
m = Mimir()
fhrpgroupid = m.loki.model.fhrp.get('id', 'fhrpgroupid')
GET
/api/mimir/loki/model/{id}/fhrp/{fhrpgroupid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
fhrpgroupid | string | true | false | None | fhrpgroupid | fhrpgroupid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
FhrpGroup | object | Resource object |
LOKI Update Model Fhrp
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/model/id/fhrp/fhrpgroupid" -d@FhrpGroup.json
from mimir import Mimir
m = Mimir()
fhrpgroupid = m.loki.model.fhrp.put('id', 'fhrpgroupid', data=FhrpGroup)
PUT
/api/mimir/loki/model/{id}/fhrp/{fhrpgroupid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
fhrpgroupid | string | true | false | None | fhrpgroupid | fhrpgroupid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
FhrpGroup | object | true | false | None | FhrpGroup - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
FhrpGroup | object | Updated resource |
LOKI List Model Isis
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/isis"
from mimir import Mimir
m = Mimir()
isis = m.loki.model.isis.get('id')
GET
/api/mimir/loki/model/{id}/isis
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingIsisCollection | object | List of resources |
LOKI Create Model Isis
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/model/id/isis" -d@RoutingIsis.json
from mimir import Mimir
m = Mimir()
isis = m.loki.model.isis.post('id', data=RoutingIsis)
POST
/api/mimir/loki/model/{id}/isis
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
RoutingIsis | object | true | false | None | RoutingIsis - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingIsis | object | Created resource |
LOKI Update Model Isis
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/model/id/isis/isisid" -d@RoutingIsis.json
from mimir import Mimir
m = Mimir()
isisid = m.loki.model.isis.put('id', 'isisid', data=RoutingIsis)
PUT
/api/mimir/loki/model/{id}/isis/{isisid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
isisid | string | true | false | None | isisid | isisid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
RoutingIsis | object | true | false | None | RoutingIsis - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingIsis | object | Updated resource |
LOKI Show Model Isis
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/isis/isisid"
from mimir import Mimir
m = Mimir()
isisid = m.loki.model.isis.get('id', 'isisid')
GET
/api/mimir/loki/model/{id}/isis/{isisid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
isisid | string | true | false | None | isisid | isisid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingIsis | object | Resource object |
LOKI Remove Resource Model Isis
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/model/id/isis/isisid"
from mimir import Mimir
m = Mimir()
isisid = m.loki.model.isis.delete('id', 'isisid')
DELETE
/api/mimir/loki/model/{id}/isis/{isisid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
isisid | string | true | false | None | isisid | isisid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Create Model Links
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/model/id/links" -d@Link.json
from mimir import Mimir
m = Mimir()
links = m.loki.model.links.post('id', data=Link)
POST
/api/mimir/loki/model/{id}/links
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Link | object | true | false | None | Link - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Link | object | Created resource |
LOKI List Model Links
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/links"
from mimir import Mimir
m = Mimir()
links = m.loki.model.links.get('id')
GET
/api/mimir/loki/model/{id}/links
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
LinkCollection | object | List of resources |
LOKI Show Model Links
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/links/linkid"
from mimir import Mimir
m = Mimir()
linkid = m.loki.model.links.get('id', 'linkid')
GET
/api/mimir/loki/model/{id}/links/{linkid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
linkid | string | true | false | None | linkid | linkid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Link | object | Resource object |
LOKI Remove Resource Model Links
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/model/id/links/linkid"
from mimir import Mimir
m = Mimir()
linkid = m.loki.model.links.delete('id', 'linkid')
DELETE
/api/mimir/loki/model/{id}/links/{linkid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
linkid | string | true | false | None | linkid | linkid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Update Model Links
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/model/id/links/linkid" -d@Link.json
from mimir import Mimir
m = Mimir()
linkid = m.loki.model.links.put('id', 'linkid', data=Link)
PUT
/api/mimir/loki/model/{id}/links/{linkid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
linkid | string | true | false | None | linkid | linkid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Link | object | true | false | None | Link - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Link | object | Updated resource |
LOKI Create Model Network
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/model/id/network" -d@Network.json
from mimir import Mimir
m = Mimir()
network = m.loki.model.network.post('id', data=Network)
POST
/api/mimir/loki/model/{id}/network
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Network | object | true | false | None | Network - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Network | object | Created resource |
LOKI List Model Network
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/network"
from mimir import Mimir
m = Mimir()
network = m.loki.model.network.get('id')
GET
/api/mimir/loki/model/{id}/network
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
NetworkCollection | object | List of resources |
LOKI Remove Resource Model Network
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/model/id/network/networkid"
from mimir import Mimir
m = Mimir()
networkid = m.loki.model.network.delete('id', 'networkid')
DELETE
/api/mimir/loki/model/{id}/network/{networkid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
networkid | string | true | false | None | networkid | networkid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show Model Network
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/network/networkid"
from mimir import Mimir
m = Mimir()
networkid = m.loki.model.network.get('id', 'networkid')
GET
/api/mimir/loki/model/{id}/network/{networkid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
networkid | string | true | false | None | networkid | networkid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Network | object | Resource object |
LOKI Update Model Network
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/model/id/network/networkid" -d@Network.json
from mimir import Mimir
m = Mimir()
networkid = m.loki.model.network.put('id', 'networkid', data=Network)
PUT
/api/mimir/loki/model/{id}/network/{networkid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
networkid | string | true | false | None | networkid | networkid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Network | object | true | false | None | Network - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Network | object | Updated resource |
LOKI List Model Ospf
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/ospf"
from mimir import Mimir
m = Mimir()
ospf = m.loki.model.ospf.get('id')
GET
/api/mimir/loki/model/{id}/ospf
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingOspfCollection | object | List of resources |
LOKI Create Model Ospf
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/model/id/ospf" -d@RoutingOspf.json
from mimir import Mimir
m = Mimir()
ospf = m.loki.model.ospf.post('id', data=RoutingOspf)
POST
/api/mimir/loki/model/{id}/ospf
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
RoutingOspf | object | true | false | None | RoutingOspf - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingOspf | object | Created resource |
LOKI Remove Resource Model Ospf
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/model/id/ospf/ospfid"
from mimir import Mimir
m = Mimir()
ospfid = m.loki.model.ospf.delete('id', 'ospfid')
DELETE
/api/mimir/loki/model/{id}/ospf/{ospfid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
ospfid | string | true | false | None | ospfid | ospfid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show Model Ospf
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/ospf/ospfid"
from mimir import Mimir
m = Mimir()
ospfid = m.loki.model.ospf.get('id', 'ospfid')
GET
/api/mimir/loki/model/{id}/ospf/{ospfid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
ospfid | string | true | false | None | ospfid | ospfid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingOspf | object | Resource object |
LOKI Update Model Ospf
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/model/id/ospf/ospfid" -d@RoutingOspf.json
from mimir import Mimir
m = Mimir()
ospfid = m.loki.model.ospf.put('id', 'ospfid', data=RoutingOspf)
PUT
/api/mimir/loki/model/{id}/ospf/{ospfid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
ospfid | string | true | false | None | ospfid | ospfid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
RoutingOspf | object | true | false | None | RoutingOspf - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingOspf | object | Updated resource |
LOKI List Model Preferences
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/preferences"
from mimir import Mimir
m = Mimir()
preferences = m.loki.model.preferences.get('id')
GET
/api/mimir/loki/model/{id}/preferences
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
RulePreferencesCollection | object | List of resources |
LOKI Create Model Preferences
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/model/id/preferences" -d@RulePreferences.json
from mimir import Mimir
m = Mimir()
preferences = m.loki.model.preferences.post('id', data=RulePreferences)
POST
/api/mimir/loki/model/{id}/preferences
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
RulePreferences | object | true | false | None | RulePreferences - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
RulePreferences | object | Created resource |
LOKI List Model Preferences Rules Model
List all rules associated with the model
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/preferences/rules"
from mimir import Mimir
m = Mimir()
rules = m.loki.model.preferences.rules.get('id')
GET
/api/mimir/loki/model/{id}/preferences/rules
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
RuleCollection | object | List of resources |
LOKI Update Model Preferences
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/model/id/preferences/preferencesid" -d@RulePreferences.json
from mimir import Mimir
m = Mimir()
preferencesid = m.loki.model.preferences.put('id', 'preferencesid', data=RulePreferences)
PUT
/api/mimir/loki/model/{id}/preferences/{preferencesid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
preferencesid | string | true | false | None | preferencesid | preferencesid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
RulePreferences | object | true | false | None | RulePreferences - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
RulePreferences | object | Updated resource |
LOKI Show Model Preferences
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/preferences/preferencesid"
from mimir import Mimir
m = Mimir()
preferencesid = m.loki.model.preferences.get('id', 'preferencesid')
GET
/api/mimir/loki/model/{id}/preferences/{preferencesid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
preferencesid | string | true | false | None | preferencesid | preferencesid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
RulePreferences | object | Resource object |
LOKI Remove Resource Model Preferences
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/model/id/preferences/preferencesid"
from mimir import Mimir
m = Mimir()
preferencesid = m.loki.model.preferences.delete('id', 'preferencesid')
DELETE
/api/mimir/loki/model/{id}/preferences/{preferencesid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
preferencesid | string | true | false | None | preferencesid | preferencesid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI List Model Progress
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/progress"
from mimir import Mimir
m = Mimir()
progress = m.loki.model.progress.get('id')
GET
/api/mimir/loki/model/{id}/progress
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
ProgressCollection | object | List of resources |
LOKI Create Model Progress
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/model/id/progress" -d@Progress.json
from mimir import Mimir
m = Mimir()
progress = m.loki.model.progress.post('id', data=Progress)
POST
/api/mimir/loki/model/{id}/progress
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Progress | object | true | false | None | Progress - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Progress | object | Created resource |
LOKI Remove Resource Model Progress
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/model/id/progress/progressid"
from mimir import Mimir
m = Mimir()
progressid = m.loki.model.progress.delete('id', 'progressid')
DELETE
/api/mimir/loki/model/{id}/progress/{progressid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
progressid | string | true | false | None | progressid | progressid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show Model Progress
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/progress/progressid"
from mimir import Mimir
m = Mimir()
progressid = m.loki.model.progress.get('id', 'progressid')
GET
/api/mimir/loki/model/{id}/progress/{progressid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
progressid | string | true | false | None | progressid | progressid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Progress | object | Resource object |
LOKI Update Model Progress
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/model/id/progress/progressid" -d@Progress.json
from mimir import Mimir
m = Mimir()
progressid = m.loki.model.progress.put('id', 'progressid', data=Progress)
PUT
/api/mimir/loki/model/{id}/progress/{progressid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
progressid | string | true | false | None | progressid | progressid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Progress | object | true | false | None | Progress - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Progress | object | Updated resource |
LOKI Create Model Report
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/model/id/report" -d@Report.json
from mimir import Mimir
m = Mimir()
report = m.loki.model.report.post('id', data=Report)
POST
/api/mimir/loki/model/{id}/report
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Report | object | true | false | None | Report - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Report | object | Created resource |
LOKI List Model Report
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/report"
from mimir import Mimir
m = Mimir()
report = m.loki.model.report.get('id')
GET
/api/mimir/loki/model/{id}/report
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
ReportCollection | object | List of resources |
LOKI Update Model Report
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/model/id/report/reportid" -d@Report.json
from mimir import Mimir
m = Mimir()
reportid = m.loki.model.report.put('id', 'reportid', data=Report)
PUT
/api/mimir/loki/model/{id}/report/{reportid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
reportid | string | true | false | None | reportid | reportid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Report | object | true | false | None | Report - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Report | object | Updated resource |
LOKI Remove Resource Model Report
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/model/id/report/reportid"
from mimir import Mimir
m = Mimir()
reportid = m.loki.model.report.delete('id', 'reportid')
DELETE
/api/mimir/loki/model/{id}/report/{reportid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
reportid | string | true | false | None | reportid | reportid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show Model Report
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/report/reportid"
from mimir import Mimir
m = Mimir()
reportid = m.loki.model.report.get('id', 'reportid')
GET
/api/mimir/loki/model/{id}/report/{reportid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
reportid | string | true | false | None | reportid | reportid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Report | object | Resource object |
LOKI Render Model Report Model
Render a model report
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/report/reportid/render"
from mimir import Mimir
m = Mimir()
render = m.loki.model.report.render.get('id', 'reportid')
GET
/api/mimir/loki/model/{id}/report/{reportid}/render
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
reportid | string | true | false | None | reportid | reportid - Report unique ID or name |
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
format | string | false | false | json | format | format - Export format |
asfile | integer | false | false | None | 12345 | asfile - Return file as attachment vs. body |
Response
Name | Type | Example | Definition |
---|
LOKI Run Model Model
Execute loki model engine on data and model
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/run"
from mimir import Mimir
m = Mimir()
run = m.loki.model.run.get('id')
GET
/api/mimir/loki/model/{id}/run
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectUserid | string | false | false | None | projectUserid | projectUserid - Project Userid |
projectId | integer | false | false | None | 12345 | projectId - Project ID (PID) |
Response
Name | Type | Example | Definition |
---|---|---|---|
ResponseRun | object | Model run response |
LOKI List Model Settings
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/settings"
from mimir import Mimir
m = Mimir()
settings = m.loki.model.settings.get('id')
GET
/api/mimir/loki/model/{id}/settings
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
SettingsCollection | object | List of resources |
LOKI Create Model Settings
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/model/id/settings" -d@Settings.json
from mimir import Mimir
m = Mimir()
settings = m.loki.model.settings.post('id', data=Settings)
POST
/api/mimir/loki/model/{id}/settings
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Settings | object | true | false | None | Settings - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Settings | object | Created resource |
LOKI Update Model Settings
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/model/id/settings/settingsid" -d@Settings.json
from mimir import Mimir
m = Mimir()
settingsid = m.loki.model.settings.put('id', 'settingsid', data=Settings)
PUT
/api/mimir/loki/model/{id}/settings/{settingsid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
settingsid | string | true | false | None | settingsid | settingsid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Settings | object | true | false | None | Settings - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Settings | object | Updated resource |
LOKI Remove Resource Model Settings
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/model/id/settings/settingsid"
from mimir import Mimir
m = Mimir()
settingsid = m.loki.model.settings.delete('id', 'settingsid')
DELETE
/api/mimir/loki/model/{id}/settings/{settingsid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
settingsid | string | true | false | None | settingsid | settingsid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show Model Settings
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/settings/settingsid"
from mimir import Mimir
m = Mimir()
settingsid = m.loki.model.settings.get('id', 'settingsid')
GET
/api/mimir/loki/model/{id}/settings/{settingsid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
settingsid | string | true | false | None | settingsid | settingsid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Settings | object | Resource object |
LOKI Create Model Site
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/model/id/site" -d@Site.json
from mimir import Mimir
m = Mimir()
site = m.loki.model.site.post('id', data=Site)
POST
/api/mimir/loki/model/{id}/site
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Site | object | true | false | None | Site - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Site | object | Created resource |
LOKI List Model Site
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/site"
from mimir import Mimir
m = Mimir()
site = m.loki.model.site.get('id')
GET
/api/mimir/loki/model/{id}/site
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
SiteCollection | object | List of resources |
LOKI Update Model Site
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/model/id/site/siteid" -d@Site.json
from mimir import Mimir
m = Mimir()
siteid = m.loki.model.site.put('id', 'siteid', data=Site)
PUT
/api/mimir/loki/model/{id}/site/{siteid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
siteid | string | true | false | None | siteid | siteid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Site | object | true | false | None | Site - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Site | object | Updated resource |
LOKI Remove Resource Model Site
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/model/id/site/siteid"
from mimir import Mimir
m = Mimir()
siteid = m.loki.model.site.delete('id', 'siteid')
DELETE
/api/mimir/loki/model/{id}/site/{siteid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
siteid | string | true | false | None | siteid | siteid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show Model Site
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/site/siteid"
from mimir import Mimir
m = Mimir()
siteid = m.loki.model.site.get('id', 'siteid')
GET
/api/mimir/loki/model/{id}/site/{siteid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
siteid | string | true | false | None | siteid | siteid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Site | object | Resource object |
LOKI Model Status Model
Get current model status
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/status"
from mimir import Mimir
m = Mimir()
status = m.loki.model.status.get('id')
GET
/api/mimir/loki/model/{id}/status
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
ResponseStatus | object | Model run response |
LOKI Stop Model Model
Stop a currently running model.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/stop"
from mimir import Mimir
m = Mimir()
stop = m.loki.model.stop.get('id')
GET
/api/mimir/loki/model/{id}/stop
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Model run response |
LOKI List Model Stp
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/stp"
from mimir import Mimir
m = Mimir()
stp = m.loki.model.stp.get('id')
GET
/api/mimir/loki/model/{id}/stp
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
SwitchingStpCollection | object | List of resources |
LOKI Create Model Stp
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/model/id/stp" -d@SwitchingStp.json
from mimir import Mimir
m = Mimir()
stp = m.loki.model.stp.post('id', data=SwitchingStp)
POST
/api/mimir/loki/model/{id}/stp
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
SwitchingStp | object | true | false | None | SwitchingStp - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
SwitchingStp | object | Created resource |
LOKI Remove Resource Model Stp
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/model/id/stp/stpid"
from mimir import Mimir
m = Mimir()
stpid = m.loki.model.stp.delete('id', 'stpid')
DELETE
/api/mimir/loki/model/{id}/stp/{stpid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
stpid | string | true | false | None | stpid | stpid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show Model Stp
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/stp/stpid"
from mimir import Mimir
m = Mimir()
stpid = m.loki.model.stp.get('id', 'stpid')
GET
/api/mimir/loki/model/{id}/stp/{stpid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
stpid | string | true | false | None | stpid | stpid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
SwitchingStp | object | Resource object |
LOKI Update Model Stp
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/model/id/stp/stpid" -d@SwitchingStp.json
from mimir import Mimir
m = Mimir()
stpid = m.loki.model.stp.put('id', 'stpid', data=SwitchingStp)
PUT
/api/mimir/loki/model/{id}/stp/{stpid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
stpid | string | true | false | None | stpid | stpid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
SwitchingStp | object | true | false | None | SwitchingStp - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
SwitchingStp | object | Updated resource |
LOKI List Model Subnets
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/subnets"
from mimir import Mimir
m = Mimir()
subnets = m.loki.model.subnets.get('id')
GET
/api/mimir/loki/model/{id}/subnets
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
SubnetCollection | object | List of resources |
LOKI Create Model Subnets
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/model/id/subnets" -d@Subnet.json
from mimir import Mimir
m = Mimir()
subnets = m.loki.model.subnets.post('id', data=Subnet)
POST
/api/mimir/loki/model/{id}/subnets
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Subnet | object | true | false | None | Subnet - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Subnet | object | Created resource |
LOKI Update Model Subnets
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/model/id/subnets/subnetid" -d@Subnet.json
from mimir import Mimir
m = Mimir()
subnetid = m.loki.model.subnets.put('id', 'subnetid', data=Subnet)
PUT
/api/mimir/loki/model/{id}/subnets/{subnetid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
subnetid | string | true | false | None | subnetid | subnetid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Subnet | object | true | false | None | Subnet - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Subnet | object | Updated resource |
LOKI Show Model Subnets
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/subnets/subnetid"
from mimir import Mimir
m = Mimir()
subnetid = m.loki.model.subnets.get('id', 'subnetid')
GET
/api/mimir/loki/model/{id}/subnets/{subnetid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
subnetid | string | true | false | None | subnetid | subnetid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Subnet | object | Resource object |
LOKI Remove Resource Model Subnets
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/model/id/subnets/subnetid"
from mimir import Mimir
m = Mimir()
subnetid = m.loki.model.subnets.delete('id', 'subnetid')
DELETE
/api/mimir/loki/model/{id}/subnets/{subnetid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
subnetid | string | true | false | None | subnetid | subnetid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Create Model Topology
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/model/id/topology" -d@TopologyGraph.json
from mimir import Mimir
m = Mimir()
topology = m.loki.model.topology.post('id', data=TopologyGraph)
POST
/api/mimir/loki/model/{id}/topology
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
TopologyGraph | object | true | false | None | TopologyGraph - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
TopologyGraph | object | Created resource |
LOKI List Model Topology
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/topology"
from mimir import Mimir
m = Mimir()
topology = m.loki.model.topology.get('id')
GET
/api/mimir/loki/model/{id}/topology
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
TopologyGraphCollection | object | List of resources |
LOKI Remove Resource Model Topology
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/model/id/topology/graphid"
from mimir import Mimir
m = Mimir()
graphid = m.loki.model.topology.delete('id', 'graphid')
DELETE
/api/mimir/loki/model/{id}/topology/{graphid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
graphid | string | true | false | None | graphid | graphid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show Model Topology
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/topology/graphid"
from mimir import Mimir
m = Mimir()
graphid = m.loki.model.topology.get('id', 'graphid')
GET
/api/mimir/loki/model/{id}/topology/{graphid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
graphid | string | true | false | None | graphid | graphid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
TopologyGraph | object | Resource object |
LOKI Update Model Topology
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/model/id/topology/graphid" -d@TopologyGraph.json
from mimir import Mimir
m = Mimir()
graphid = m.loki.model.topology.put('id', 'graphid', data=TopologyGraph)
PUT
/api/mimir/loki/model/{id}/topology/{graphid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
graphid | string | true | false | None | graphid | graphid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
TopologyGraph | object | true | false | None | TopologyGraph - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
TopologyGraph | object | Updated resource |
LOKI Render Model Topology Model
Render a model topology
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/topology/topology/render"
from mimir import Mimir
m = Mimir()
render = m.loki.model.topology.render.get('id', 'topology')
GET
/api/mimir/loki/model/{id}/topology/{topology}/render
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
topology | string | true | false | None | topology | topology - Topology unique ID or name |
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
format | string | false | false | json | format | format - Export format |
asfile | integer | false | false | None | 12345 | asfile - Return file as attachment vs. body |
Response
Name | Type | Example | Definition |
---|
LOKI List Model Topologynodes
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/topologynodes"
from mimir import Mimir
m = Mimir()
topologynodes = m.loki.model.topologynodes.get('id')
GET
/api/mimir/loki/model/{id}/topologynodes
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
TopologyNodeCollection | object | List of resources |
LOKI Create Model Topologynodes
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/model/id/topologynodes" -d@TopologyNode.json
from mimir import Mimir
m = Mimir()
topologynodes = m.loki.model.topologynodes.post('id', data=TopologyNode)
POST
/api/mimir/loki/model/{id}/topologynodes
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
TopologyNode | object | true | false | None | TopologyNode - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
TopologyNode | object | Created resource |
LOKI Update Model Topologynodes
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/model/id/topologynodes/nodeid" -d@TopologyNode.json
from mimir import Mimir
m = Mimir()
nodeid = m.loki.model.topologynodes.put('id', 'nodeid', data=TopologyNode)
PUT
/api/mimir/loki/model/{id}/topologynodes/{nodeid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
nodeid | string | true | false | None | nodeid | nodeid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
TopologyNode | object | true | false | None | TopologyNode - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
TopologyNode | object | Updated resource |
LOKI Show Model Topologynodes
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/topologynodes/nodeid"
from mimir import Mimir
m = Mimir()
nodeid = m.loki.model.topologynodes.get('id', 'nodeid')
GET
/api/mimir/loki/model/{id}/topologynodes/{nodeid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
nodeid | string | true | false | None | nodeid | nodeid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
TopologyNode | object | Resource object |
LOKI Remove Resource Model Topologynodes
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/model/id/topologynodes/nodeid"
from mimir import Mimir
m = Mimir()
nodeid = m.loki.model.topologynodes.delete('id', 'nodeid')
DELETE
/api/mimir/loki/model/{id}/topologynodes/{nodeid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
nodeid | string | true | false | None | nodeid | nodeid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI List Model Upload
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/upload"
from mimir import Mimir
m = Mimir()
upload = m.loki.model.upload.get('id')
GET
/api/mimir/loki/model/{id}/upload
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
UploadCollection | object | List of resources |
LOKI Create Model Upload
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/model/id/upload" -d@Upload.json
from mimir import Mimir
m = Mimir()
upload = m.loki.model.upload.post('id', data=Upload)
POST
/api/mimir/loki/model/{id}/upload
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Upload | object | true | false | None | Upload - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Upload | object | Created resource |
LOKI Show Model Upload
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/upload/uploadid"
from mimir import Mimir
m = Mimir()
uploadid = m.loki.model.upload.get('id', 'uploadid')
GET
/api/mimir/loki/model/{id}/upload/{uploadid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
uploadid | string | true | false | None | uploadid | uploadid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Upload | object | Resource object |
LOKI Remove Resource Model Upload
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/model/id/upload/uploadid"
from mimir import Mimir
m = Mimir()
uploadid = m.loki.model.upload.delete('id', 'uploadid')
DELETE
/api/mimir/loki/model/{id}/upload/{uploadid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
uploadid | string | true | false | None | uploadid | uploadid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Update Model Upload
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/model/id/upload/uploadid" -d@Upload.json
from mimir import Mimir
m = Mimir()
uploadid = m.loki.model.upload.put('id', 'uploadid', data=Upload)
PUT
/api/mimir/loki/model/{id}/upload/{uploadid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
uploadid | string | true | false | None | uploadid | uploadid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Upload | object | true | false | None | Upload - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Upload | object | Updated resource |
LOKI List Model Users
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/users"
from mimir import Mimir
m = Mimir()
users = m.loki.model.users.get('id')
GET
/api/mimir/loki/model/{id}/users
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
AAAModelUserCollection | object | List of resources |
LOKI Create Model Users
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/model/id/users" -d@AAAModelUser.json
from mimir import Mimir
m = Mimir()
users = m.loki.model.users.post('id', data=AAAModelUser)
POST
/api/mimir/loki/model/{id}/users
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
AAAModelUser | object | true | false | None | AAAModelUser - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
AAAModelUser | object | Created resource |
LOKI Update Model Users
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/model/id/users/modeluserid" -d@AAAModelUser.json
from mimir import Mimir
m = Mimir()
modeluserid = m.loki.model.users.put('id', 'modeluserid', data=AAAModelUser)
PUT
/api/mimir/loki/model/{id}/users/{modeluserid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
modeluserid | string | true | false | None | modeluserid | modeluserid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
AAAModelUser | object | true | false | None | AAAModelUser - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
AAAModelUser | object | Updated resource |
LOKI Show Model Users
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/model/id/users/modeluserid"
from mimir import Mimir
m = Mimir()
modeluserid = m.loki.model.users.get('id', 'modeluserid')
GET
/api/mimir/loki/model/{id}/users/{modeluserid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
modeluserid | string | true | false | None | modeluserid | modeluserid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
AAAModelUser | object | Resource object |
LOKI Remove Resource Model Users
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/model/id/users/modeluserid"
from mimir import Mimir
m = Mimir()
modeluserid = m.loki.model.users.delete('id', 'modeluserid')
DELETE
/api/mimir/loki/model/{id}/users/{modeluserid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
modeluserid | string | true | false | None | modeluserid | modeluserid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Create Network
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/network" -d@Network.json
from mimir import Mimir
m = Mimir()
network = m.loki.network.post(data=Network)
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Network | object | true | false | None | Network - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Network | object | Created resource |
LOKI List Network
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/network"
from mimir import Mimir
m = Mimir()
network = m.loki.network.get()
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
last | integer | false | false | None | 12345 | last - Get latest item in list. |
Response
Name | Type | Example | Definition |
---|---|---|---|
NetworkCollection | object | List of resources |
LOKI Remove Resource Network
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/network/id"
from mimir import Mimir
m = Mimir()
id = m.loki.network.delete('id')
DELETE
/api/mimir/loki/network/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show Network
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/network/id"
from mimir import Mimir
m = Mimir()
id = m.loki.network.get('id')
GET
/api/mimir/loki/network/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Network | object | Resource object |
LOKI Update Network
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/network/id" -d@Network.json
from mimir import Mimir
m = Mimir()
id = m.loki.network.put('id', data=Network)
PUT
/api/mimir/loki/network/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Network | object | true | false | None | Network - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Network | object | Updated resource |
LOKI Create Network Bgp
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/network/id/bgp" -d@RoutingBgp.json
from mimir import Mimir
m = Mimir()
bgp = m.loki.network.bgp.post('id', data=RoutingBgp)
POST
/api/mimir/loki/network/{id}/bgp
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
RoutingBgp | object | true | false | None | RoutingBgp - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingBgp | object | Created resource |
LOKI List Network Bgp
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/network/id/bgp"
from mimir import Mimir
m = Mimir()
bgp = m.loki.network.bgp.get('id')
GET
/api/mimir/loki/network/{id}/bgp
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
last | integer | false | false | None | 12345 | last - Get latest item in list. |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingBgpCollection | object | List of resources |
LOKI Update Network Bgp
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/network/id/bgp/bgpid" -d@RoutingBgp.json
from mimir import Mimir
m = Mimir()
bgpid = m.loki.network.bgp.put('id', 'bgpid', data=RoutingBgp)
PUT
/api/mimir/loki/network/{id}/bgp/{bgpid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
bgpid | string | true | false | None | bgpid | bgpid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
RoutingBgp | object | true | false | None | RoutingBgp - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingBgp | object | Updated resource |
LOKI Show Network Bgp
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/network/id/bgp/bgpid"
from mimir import Mimir
m = Mimir()
bgpid = m.loki.network.bgp.get('id', 'bgpid')
GET
/api/mimir/loki/network/{id}/bgp/{bgpid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
bgpid | string | true | false | None | bgpid | bgpid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingBgp | object | Resource object |
LOKI Remove Resource Network Bgp
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/network/id/bgp/bgpid"
from mimir import Mimir
m = Mimir()
bgpid = m.loki.network.bgp.delete('id', 'bgpid')
DELETE
/api/mimir/loki/network/{id}/bgp/{bgpid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
bgpid | string | true | false | None | bgpid | bgpid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Create Network Devices
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/network/id/devices" -d@Device.json
from mimir import Mimir
m = Mimir()
devices = m.loki.network.devices.post('id', data=Device)
POST
/api/mimir/loki/network/{id}/devices
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Device | object | true | false | None | Device - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Device | object | Created resource |
LOKI List Network Devices
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/network/id/devices"
from mimir import Mimir
m = Mimir()
devices = m.loki.network.devices.get('id')
GET
/api/mimir/loki/network/{id}/devices
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
last | integer | false | false | None | 12345 | last - Get latest item in list. |
Response
Name | Type | Example | Definition |
---|---|---|---|
DeviceCollection | object | List of resources |
LOKI Show Network Devices
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/network/id/devices/deviceid"
from mimir import Mimir
m = Mimir()
deviceid = m.loki.network.devices.get('id', 'deviceid')
GET
/api/mimir/loki/network/{id}/devices/{deviceid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
deviceid | string | true | false | None | deviceid | deviceid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Device | object | Resource object |
LOKI Remove Resource Network Devices
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/network/id/devices/deviceid"
from mimir import Mimir
m = Mimir()
deviceid = m.loki.network.devices.delete('id', 'deviceid')
DELETE
/api/mimir/loki/network/{id}/devices/{deviceid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
deviceid | string | true | false | None | deviceid | deviceid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Update Network Devices
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/network/id/devices/deviceid" -d@Device.json
from mimir import Mimir
m = Mimir()
deviceid = m.loki.network.devices.put('id', 'deviceid', data=Device)
PUT
/api/mimir/loki/network/{id}/devices/{deviceid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
deviceid | string | true | false | None | deviceid | deviceid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Device | object | true | false | None | Device - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Device | object | Updated resource |
LOKI Create Network Eigrp
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/network/id/eigrp" -d@RoutingEigrp.json
from mimir import Mimir
m = Mimir()
eigrp = m.loki.network.eigrp.post('id', data=RoutingEigrp)
POST
/api/mimir/loki/network/{id}/eigrp
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
RoutingEigrp | object | true | false | None | RoutingEigrp - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingEigrp | object | Created resource |
LOKI List Network Eigrp
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/network/id/eigrp"
from mimir import Mimir
m = Mimir()
eigrp = m.loki.network.eigrp.get('id')
GET
/api/mimir/loki/network/{id}/eigrp
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
last | integer | false | false | None | 12345 | last - Get latest item in list. |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingEigrpCollection | object | List of resources |
LOKI Update Network Eigrp
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/network/id/eigrp/eigrpid" -d@RoutingEigrp.json
from mimir import Mimir
m = Mimir()
eigrpid = m.loki.network.eigrp.put('id', 'eigrpid', data=RoutingEigrp)
PUT
/api/mimir/loki/network/{id}/eigrp/{eigrpid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
eigrpid | string | true | false | None | eigrpid | eigrpid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
RoutingEigrp | object | true | false | None | RoutingEigrp - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingEigrp | object | Updated resource |
LOKI Remove Resource Network Eigrp
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/network/id/eigrp/eigrpid"
from mimir import Mimir
m = Mimir()
eigrpid = m.loki.network.eigrp.delete('id', 'eigrpid')
DELETE
/api/mimir/loki/network/{id}/eigrp/{eigrpid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
eigrpid | string | true | false | None | eigrpid | eigrpid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show Network Eigrp
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/network/id/eigrp/eigrpid"
from mimir import Mimir
m = Mimir()
eigrpid = m.loki.network.eigrp.get('id', 'eigrpid')
GET
/api/mimir/loki/network/{id}/eigrp/{eigrpid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
eigrpid | string | true | false | None | eigrpid | eigrpid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingEigrp | object | Resource object |
LOKI List Network Exceptions
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/network/id/exceptions"
from mimir import Mimir
m = Mimir()
exceptions = m.loki.network.exceptions.get('id')
GET
/api/mimir/loki/network/{id}/exceptions
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
last | integer | false | false | None | 12345 | last - Get latest item in list. |
Response
Name | Type | Example | Definition |
---|---|---|---|
ExceptionCollection | object | List of resources |
LOKI Create Network Exceptions
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/network/id/exceptions" -d@Exception.json
from mimir import Mimir
m = Mimir()
exceptions = m.loki.network.exceptions.post('id', data=Exception)
POST
/api/mimir/loki/network/{id}/exceptions
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Exception | object | true | false | None | Exception - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Exception | object | Created resource |
LOKI Remove Resource Network Exceptions
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/network/id/exceptions/exceptionid"
from mimir import Mimir
m = Mimir()
exceptionid = m.loki.network.exceptions.delete('id', 'exceptionid')
DELETE
/api/mimir/loki/network/{id}/exceptions/{exceptionid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
exceptionid | string | true | false | None | exceptionid | exceptionid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show Network Exceptions
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/network/id/exceptions/exceptionid"
from mimir import Mimir
m = Mimir()
exceptionid = m.loki.network.exceptions.get('id', 'exceptionid')
GET
/api/mimir/loki/network/{id}/exceptions/{exceptionid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
exceptionid | string | true | false | None | exceptionid | exceptionid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Exception | object | Resource object |
LOKI Update Network Exceptions
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/network/id/exceptions/exceptionid" -d@Exception.json
from mimir import Mimir
m = Mimir()
exceptionid = m.loki.network.exceptions.put('id', 'exceptionid', data=Exception)
PUT
/api/mimir/loki/network/{id}/exceptions/{exceptionid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
exceptionid | string | true | false | None | exceptionid | exceptionid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Exception | object | true | false | None | Exception - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Exception | object | Updated resource |
LOKI List Network Isis
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/network/id/isis"
from mimir import Mimir
m = Mimir()
isis = m.loki.network.isis.get('id')
GET
/api/mimir/loki/network/{id}/isis
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
last | integer | false | false | None | 12345 | last - Get latest item in list. |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingIsisCollection | object | List of resources |
LOKI Create Network Isis
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/network/id/isis" -d@RoutingIsis.json
from mimir import Mimir
m = Mimir()
isis = m.loki.network.isis.post('id', data=RoutingIsis)
POST
/api/mimir/loki/network/{id}/isis
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
RoutingIsis | object | true | false | None | RoutingIsis - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingIsis | object | Created resource |
LOKI Update Network Isis
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/network/id/isis/isisid" -d@RoutingIsis.json
from mimir import Mimir
m = Mimir()
isisid = m.loki.network.isis.put('id', 'isisid', data=RoutingIsis)
PUT
/api/mimir/loki/network/{id}/isis/{isisid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
isisid | string | true | false | None | isisid | isisid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
RoutingIsis | object | true | false | None | RoutingIsis - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingIsis | object | Updated resource |
LOKI Remove Resource Network Isis
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/network/id/isis/isisid"
from mimir import Mimir
m = Mimir()
isisid = m.loki.network.isis.delete('id', 'isisid')
DELETE
/api/mimir/loki/network/{id}/isis/{isisid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
isisid | string | true | false | None | isisid | isisid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show Network Isis
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/network/id/isis/isisid"
from mimir import Mimir
m = Mimir()
isisid = m.loki.network.isis.get('id', 'isisid')
GET
/api/mimir/loki/network/{id}/isis/{isisid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
isisid | string | true | false | None | isisid | isisid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingIsis | object | Resource object |
LOKI List Network Links
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/network/id/links"
from mimir import Mimir
m = Mimir()
links = m.loki.network.links.get('id')
GET
/api/mimir/loki/network/{id}/links
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
last | integer | false | false | None | 12345 | last - Get latest item in list. |
Response
Name | Type | Example | Definition |
---|---|---|---|
LinkCollection | object | List of resources |
LOKI Create Network Links
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/network/id/links" -d@Link.json
from mimir import Mimir
m = Mimir()
links = m.loki.network.links.post('id', data=Link)
POST
/api/mimir/loki/network/{id}/links
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Link | object | true | false | None | Link - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Link | object | Created resource |
LOKI Update Network Links
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/network/id/links/linkid" -d@Link.json
from mimir import Mimir
m = Mimir()
linkid = m.loki.network.links.put('id', 'linkid', data=Link)
PUT
/api/mimir/loki/network/{id}/links/{linkid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
linkid | string | true | false | None | linkid | linkid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Link | object | true | false | None | Link - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Link | object | Updated resource |
LOKI Show Network Links
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/network/id/links/linkid"
from mimir import Mimir
m = Mimir()
linkid = m.loki.network.links.get('id', 'linkid')
GET
/api/mimir/loki/network/{id}/links/{linkid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
linkid | string | true | false | None | linkid | linkid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Link | object | Resource object |
LOKI Remove Resource Network Links
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/network/id/links/linkid"
from mimir import Mimir
m = Mimir()
linkid = m.loki.network.links.delete('id', 'linkid')
DELETE
/api/mimir/loki/network/{id}/links/{linkid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
linkid | string | true | false | None | linkid | linkid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Create Network Ospf
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/network/id/ospf" -d@RoutingOspf.json
from mimir import Mimir
m = Mimir()
ospf = m.loki.network.ospf.post('id', data=RoutingOspf)
POST
/api/mimir/loki/network/{id}/ospf
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
RoutingOspf | object | true | false | None | RoutingOspf - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingOspf | object | Created resource |
LOKI List Network Ospf
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/network/id/ospf"
from mimir import Mimir
m = Mimir()
ospf = m.loki.network.ospf.get('id')
GET
/api/mimir/loki/network/{id}/ospf
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
last | integer | false | false | None | 12345 | last - Get latest item in list. |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingOspfCollection | object | List of resources |
LOKI Update Network Ospf
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/network/id/ospf/ospfid" -d@RoutingOspf.json
from mimir import Mimir
m = Mimir()
ospfid = m.loki.network.ospf.put('id', 'ospfid', data=RoutingOspf)
PUT
/api/mimir/loki/network/{id}/ospf/{ospfid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
ospfid | string | true | false | None | ospfid | ospfid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
RoutingOspf | object | true | false | None | RoutingOspf - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingOspf | object | Updated resource |
LOKI Remove Resource Network Ospf
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/network/id/ospf/ospfid"
from mimir import Mimir
m = Mimir()
ospfid = m.loki.network.ospf.delete('id', 'ospfid')
DELETE
/api/mimir/loki/network/{id}/ospf/{ospfid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
ospfid | string | true | false | None | ospfid | ospfid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show Network Ospf
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/network/id/ospf/ospfid"
from mimir import Mimir
m = Mimir()
ospfid = m.loki.network.ospf.get('id', 'ospfid')
GET
/api/mimir/loki/network/{id}/ospf/{ospfid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
ospfid | string | true | false | None | ospfid | ospfid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
RoutingOspf | object | Resource object |
LOKI List Network Stp
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/network/id/stp"
from mimir import Mimir
m = Mimir()
stp = m.loki.network.stp.get('id')
GET
/api/mimir/loki/network/{id}/stp
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
last | integer | false | false | None | 12345 | last - Get latest item in list. |
Response
Name | Type | Example | Definition |
---|---|---|---|
SwitchingStpCollection | object | List of resources |
LOKI Create Network Stp
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/network/id/stp" -d@SwitchingStp.json
from mimir import Mimir
m = Mimir()
stp = m.loki.network.stp.post('id', data=SwitchingStp)
POST
/api/mimir/loki/network/{id}/stp
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
SwitchingStp | object | true | false | None | SwitchingStp - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
SwitchingStp | object | Created resource |
LOKI Show Network Stp
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/network/id/stp/stpid"
from mimir import Mimir
m = Mimir()
stpid = m.loki.network.stp.get('id', 'stpid')
GET
/api/mimir/loki/network/{id}/stp/{stpid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
stpid | string | true | false | None | stpid | stpid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
SwitchingStp | object | Resource object |
LOKI Remove Resource Network Stp
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/network/id/stp/stpid"
from mimir import Mimir
m = Mimir()
stpid = m.loki.network.stp.delete('id', 'stpid')
DELETE
/api/mimir/loki/network/{id}/stp/{stpid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
stpid | string | true | false | None | stpid | stpid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Update Network Stp
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/network/id/stp/stpid" -d@SwitchingStp.json
from mimir import Mimir
m = Mimir()
stpid = m.loki.network.stp.put('id', 'stpid', data=SwitchingStp)
PUT
/api/mimir/loki/network/{id}/stp/{stpid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
stpid | string | true | false | None | stpid | stpid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
SwitchingStp | object | true | false | None | SwitchingStp - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
SwitchingStp | object | Updated resource |
LOKI List Network Subnets
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/network/id/subnets"
from mimir import Mimir
m = Mimir()
subnets = m.loki.network.subnets.get('id')
GET
/api/mimir/loki/network/{id}/subnets
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
last | integer | false | false | None | 12345 | last - Get latest item in list. |
Response
Name | Type | Example | Definition |
---|---|---|---|
SubnetCollection | object | List of resources |
LOKI Create Network Subnets
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/network/id/subnets" -d@Subnet.json
from mimir import Mimir
m = Mimir()
subnets = m.loki.network.subnets.post('id', data=Subnet)
POST
/api/mimir/loki/network/{id}/subnets
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Subnet | object | true | false | None | Subnet - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Subnet | object | Created resource |
LOKI Update Network Subnets
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/network/id/subnets/subnetid" -d@Subnet.json
from mimir import Mimir
m = Mimir()
subnetid = m.loki.network.subnets.put('id', 'subnetid', data=Subnet)
PUT
/api/mimir/loki/network/{id}/subnets/{subnetid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
subnetid | string | true | false | None | subnetid | subnetid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Subnet | object | true | false | None | Subnet - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Subnet | object | Updated resource |
LOKI Show Network Subnets
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/network/id/subnets/subnetid"
from mimir import Mimir
m = Mimir()
subnetid = m.loki.network.subnets.get('id', 'subnetid')
GET
/api/mimir/loki/network/{id}/subnets/{subnetid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
subnetid | string | true | false | None | subnetid | subnetid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Subnet | object | Resource object |
LOKI Remove Resource Network Subnets
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/network/id/subnets/subnetid"
from mimir import Mimir
m = Mimir()
subnetid = m.loki.network.subnets.delete('id', 'subnetid')
DELETE
/api/mimir/loki/network/{id}/subnets/{subnetid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
subnetid | string | true | false | None | subnetid | subnetid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Create Package
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/package" -d@RulePackage.json
from mimir import Mimir
m = Mimir()
package = m.loki.package.post(data=RulePackage)
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
RulePackage | object | true | false | None | RulePackage - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
RulePackage | object | Created resource |
LOKI List Package
List packages
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/package"
from mimir import Mimir
m = Mimir()
package = m.loki.package.get()
Response
Name | Type | Example | Definition |
---|---|---|---|
RulePackageCollection | object | List of resources |
LOKI Update Package
Update a package
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/package/id" -d@RulePackage.json
from mimir import Mimir
m = Mimir()
id = m.loki.package.put('id', data=RulePackage)
PUT
/api/mimir/loki/package/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
RulePackage | object | true | false | None | RulePackage - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
RulePackage | object | Updated resource |
LOKI Show Package
Get a package
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/package/id"
from mimir import Mimir
m = Mimir()
id = m.loki.package.get('id')
GET
/api/mimir/loki/package/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
RulePackage | object | Resource object |
LOKI Remove Resource Package
Delete a package
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/package/id"
from mimir import Mimir
m = Mimir()
id = m.loki.package.delete('id')
DELETE
/api/mimir/loki/package/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Create Package Rules
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/package/id/rules" -d@Rules.json
from mimir import Mimir
m = Mimir()
rules = m.loki.package.rules.post('id', data=Rules)
POST
/api/mimir/loki/package/{id}/rules
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Rules | object | true | false | None | Rules - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Rules | object | Created resource |
LOKI List Package Rules
List packages
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/package/id/rules"
from mimir import Mimir
m = Mimir()
rules = m.loki.package.rules.get('id')
GET
/api/mimir/loki/package/{id}/rules
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
RulesCollection | object | List of resources |
LOKI Remove Resource Package Rules
Delete a package
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/package/id/rules/rulesid"
from mimir import Mimir
m = Mimir()
rulesid = m.loki.package.rules.delete('id', 'rulesid')
DELETE
/api/mimir/loki/package/{id}/rules/{rulesid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
rulesid | string | true | false | None | rulesid | rulesid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show Package Rules
Get a package
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/package/id/rules/rulesid"
from mimir import Mimir
m = Mimir()
rulesid = m.loki.package.rules.get('id', 'rulesid')
GET
/api/mimir/loki/package/{id}/rules/{rulesid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
rulesid | string | true | false | None | rulesid | rulesid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Rules | object | Resource object |
LOKI Update Package Rules
Update a package
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/package/id/rules/rulesid" -d@Rules.json
from mimir import Mimir
m = Mimir()
rulesid = m.loki.package.rules.put('id', 'rulesid', data=Rules)
PUT
/api/mimir/loki/package/{id}/rules/{rulesid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
rulesid | string | true | false | None | rulesid | rulesid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Rules | object | true | false | None | Rules - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Rules | object | Updated resource |
LOKI Check Duplicate Name Package
checks for duplicate name
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/package/name/check_duplicate"
from mimir import Mimir
m = Mimir()
check_duplicate = m.loki.package.check_duplicate.get('name')
GET
/api/mimir/loki/package/{name}/check_duplicate
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
name | string | true | false | None | name | name - Package name |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Duplication success |
LOKI Partner Partner
Returns a list of partners
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/partner"
from mimir import Mimir
m = Mimir()
partner = m.loki.partner.get()
Response
Name | Type | Example | Definition |
---|---|---|---|
ResponsePartnerCollection | object | List of partner objects |
LOKI Customers Partner
Returns a list of PSS Customers
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/partner/customers"
from mimir import Mimir
m = Mimir()
customers = m.loki.partner.customers.get()
GET
/api/mimir/loki/partner/customers
Response
Name | Type | Example | Definition |
---|---|---|---|
ResponsePartnerCollection | object | List of partner objects |
LOKI Devices Partner
Returns a list of PSS Devices by partner Id and Customer Id.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/partner/devices?partnerId=12345&custId=12345"
from mimir import Mimir
m = Mimir()
devices = m.loki.partner.devices.get(partnerId=12345, custId=12345)
GET
/api/mimir/loki/partner/devices
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
partnerId | integer | true | false | None | 12345 | partnerId - Partner id |
custId | integer | true | false | None | 12345 | custId - Customer id |
Response
Name | Type | Example | Definition |
---|---|---|---|
ResponsePartnerCollection | object | List of partner objects |
LOKI Inventories Partner
Returns a list of PSS Inventories by partner Id and Customer Id.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/partner/inventories?partnerId=12345&custId=12345"
from mimir import Mimir
m = Mimir()
inventories = m.loki.partner.inventories.get(partnerId=12345, custId=12345)
GET
/api/mimir/loki/partner/inventories
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
partnerId | integer | true | false | None | 12345 | partnerId - Partner id |
custId | integer | true | false | None | 12345 | custId - Customer id |
Response
Name | Type | Example | Definition |
---|---|---|---|
ResponsePartnerCollection | object | List of partner objects |
LOKI Party Party
Returns a list of Network Profile parties (customers).
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/party"
from mimir import Mimir
m = Mimir()
party = m.loki.party.get()
Response
Name | Type | Example | Definition |
---|---|---|---|
ResponsePartyCollection | object | List of party objects |
LOKI Groups Party
Returns a list of Network Profile device groups by party id.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/party/12345/groups"
from mimir import Mimir
m = Mimir()
groups = m.loki.party.groups.get(12345)
GET
/api/mimir/loki/party/{id}/groups
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | integer | true | false | None | 12345 | id - Party id |
Response
Name | Type | Example | Definition |
---|---|---|---|
ResponseDeviceGroupCollection | object | List of group objects |
LOKI List Report
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/report"
from mimir import Mimir
m = Mimir()
report = m.loki.report.get()
Response
Name | Type | Example | Definition |
---|---|---|---|
ReportCollection | object | List of resources |
LOKI Create Report
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/report" -d@Report.json
from mimir import Mimir
m = Mimir()
report = m.loki.report.post(data=Report)
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Report | object | true | false | None | Report - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Report | object | Created resource |
LOKI Show Report
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/report/id"
from mimir import Mimir
m = Mimir()
id = m.loki.report.get('id')
GET
/api/mimir/loki/report/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Report | object | Resource object |
LOKI Remove Resource Report
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/report/id"
from mimir import Mimir
m = Mimir()
id = m.loki.report.delete('id')
DELETE
/api/mimir/loki/report/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Update Report
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/report/id" -d@Report.json
from mimir import Mimir
m = Mimir()
id = m.loki.report.put('id', data=Report)
PUT
/api/mimir/loki/report/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Report | object | true | false | None | Report - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Report | object | Updated resource |
LOKI Render Report Report
Render a report
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/report/id/render"
from mimir import Mimir
m = Mimir()
render = m.loki.report.render.get('id')
GET
/api/mimir/loki/report/{id}/render
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
format | string | false | false | json | format | format - Export format |
asfile | integer | false | false | None | 12345 | asfile - Return file as attachment vs. body |
Response
Name | Type | Example | Definition |
---|
LOKI Create Rule
Create a new rule
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/rule" -d@Rule.json
from mimir import Mimir
m = Mimir()
rule = m.loki.rule.post(data=Rule)
POST
/api/mimir/loki/rule
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Rule | object | true | false | None | Rule - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Rule | object | Created resource |
LOKI List Rule
List rules
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/rule"
from mimir import Mimir
m = Mimir()
rule = m.loki.rule.get()
Response
Name | Type | Example | Definition |
---|---|---|---|
RuleCollection | object | List of resources |
LOKI Upload Package Rule
Upload all Rules to DB
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/rule/package/name" -d@Package.json
from mimir import Mimir
m = Mimir()
name = m.loki.rule.package.post('name', data=Package)
POST
/api/mimir/loki/rule/package/{name}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
name | string | true | false | None | name | name - Package name |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Package | object | true | false | None | Package - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Rule | object | Updated resource |
LOKI Perltidy Rule Rule
perltidy existing rule script
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/rule/perltidy"
from mimir import Mimir
m = Mimir()
perltidy = m.loki.rule.perltidy.post()
POST
/api/mimir/loki/rule/perltidy
Response
Name | Type | Example | Definition |
---|---|---|---|
ResponseRuleValidate | object | Rule perltidy result |
LOKI Test New Rule Rule
test new rule against loki model
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/rule/test/name" -d@RequestRuleTest.json
from mimir import Mimir
m = Mimir()
name = m.loki.rule.test.post('name', data=RequestRuleTest)
POST
/api/mimir/loki/rule/test/{name}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
name | string | true | false | None | name | name - Rule name |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
RequestRuleTest | object | true | false | None | RequestRuleTest - Rule object |
Response
Name | Type | Example | Definition |
---|---|---|---|
ResponseRuleTest | object | Rule test result |
LOKI Upload Rule Rule
Upload single Rules to DB
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/rule/upload/id" -d@Rule.json
from mimir import Mimir
m = Mimir()
id = m.loki.rule.upload.post('id', data=Rule)
POST
/api/mimir/loki/rule/upload/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Rule | object | true | false | None | Rule - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Rule | object | Updated resource |
LOKI Validate New Rule Rule
compile and parse new rule script
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/rule/validate/name" -d@RequestRuleValidate.json
from mimir import Mimir
m = Mimir()
name = m.loki.rule.validate.post('name', data=RequestRuleValidate)
POST
/api/mimir/loki/rule/validate/{name}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
name | string | true | false | None | name | name - Rule name |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
RequestRuleValidate | object | true | false | None | RequestRuleValidate - Rule object |
Response
Name | Type | Example | Definition |
---|---|---|---|
ResponseRuleValidate | object | Rule validation result |
LOKI Update Rule
Update a rule
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/rule/id" -d@Rule.json
from mimir import Mimir
m = Mimir()
id = m.loki.rule.put('id', data=Rule)
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Rule | object | true | false | None | Rule - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Rule | object | Updated resource |
LOKI Remove Rule Resource Rule
Delete a rule resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/rule/id"
from mimir import Mimir
m = Mimir()
id = m.loki.rule.delete('id')
DELETE
/api/mimir/loki/rule/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show Rule
Get a rule
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/rule/id"
from mimir import Mimir
m = Mimir()
id = m.loki.rule.get('id')
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Rule | object | Resource object |
LOKI Push Aix Rule Rule
pushes the loki rules to aix using webservice
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/rule/id/push/aix/rule"
from mimir import Mimir
m = Mimir()
rule = m.loki.rule.push.aix.rule.post('id')
POST
/api/mimir/loki/rule/{id}/push/aix/rule
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Rule id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Rule result |
LOKI Show Script Rule
Show Rule script
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/rule/id/script"
from mimir import Mimir
m = Mimir()
script = m.loki.rule.script.get('id')
GET
/api/mimir/loki/rule/{id}/script
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Resource object |
LOKI Test Rule Rule
test existing rule against loki model
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/rule/id/test" -d@RequestRuleTest.json
from mimir import Mimir
m = Mimir()
test = m.loki.rule.test.post('id', data=RequestRuleTest)
POST
/api/mimir/loki/rule/{id}/test
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Rule id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
RequestRuleTest | object | true | false | None | RequestRuleTest - Rule object |
Response
Name | Type | Example | Definition |
---|---|---|---|
ResponseRuleTest | object | Rule test result |
LOKI Validate Rule Rule
compile and parse existing rule script
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/rule/id/validate" -d@RequestRuleValidate.json
from mimir import Mimir
m = Mimir()
validate = m.loki.rule.validate.post('id', data=RequestRuleValidate)
POST
/api/mimir/loki/rule/{id}/validate
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Rule id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
RequestRuleValidate | object | true | false | None | RequestRuleValidate - Rule object |
Response
Name | Type | Example | Definition |
---|---|---|---|
ResponseRuleValidate | object | Rule validation result |
LOKI Check Duplicate Name Rule
checks for duplicate name
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/rule/name/check_duplicate"
from mimir import Mimir
m = Mimir()
check_duplicate = m.loki.rule.check_duplicate.post('name')
POST
/api/mimir/loki/rule/{name}/check_duplicate
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
name | string | true | false | None | name | name - Rule name |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Rule result |
LOKI Api Spec
Login to the API
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/spec"
from mimir import Mimir
m = Mimir()
spec = m.loki.spec.get()
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
format | string | false | false | json | format | format - API Schema export format. Choices include: json (Lokis Api Model) or swagger (Loki swagger spec) |
Response
Name | Type | Example | Definition |
---|
LOKI Show Status Status
Returns loki status
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/status"
from mimir import Mimir
m = Mimir()
status = m.loki.status.get()
Response
Name | Type | Example | Definition |
---|---|---|---|
ResponsePing | object | Loki status |
LOKI Create Topology
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/topology" -d@TopologyGraph.json
from mimir import Mimir
m = Mimir()
topology = m.loki.topology.post(data=TopologyGraph)
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
TopologyGraph | object | true | false | None | TopologyGraph - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
TopologyGraph | object | Created resource |
LOKI List Topology
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/topology"
from mimir import Mimir
m = Mimir()
topology = m.loki.topology.get()
Response
Name | Type | Example | Definition |
---|---|---|---|
TopologyGraphCollection | object | List of resources |
LOKI Show Topology
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/topology/id"
from mimir import Mimir
m = Mimir()
id = m.loki.topology.get('id')
GET
/api/mimir/loki/topology/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
TopologyGraph | object | Resource object |
LOKI Remove Resource Topology
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/topology/id"
from mimir import Mimir
m = Mimir()
id = m.loki.topology.delete('id')
DELETE
/api/mimir/loki/topology/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Update Topology
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/topology/id" -d@TopologyGraph.json
from mimir import Mimir
m = Mimir()
id = m.loki.topology.put('id', data=TopologyGraph)
PUT
/api/mimir/loki/topology/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
TopologyGraph | object | true | false | None | TopologyGraph - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
TopologyGraph | object | Updated resource |
LOKI Get Exceptions Topology
Get exceptions for objects in a graph
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/topology/id/exceptions"
from mimir import Mimir
m = Mimir()
exceptions = m.loki.topology.exceptions.get('id')
GET
/api/mimir/loki/topology/{id}/exceptions
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Graph id |
Response
Name | Type | Example | Definition |
---|---|---|---|
ExceptionCollection | object | List of graph node exceptions |
LOKI Create Topology Groups
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/topology/id/groups" -d@TopologyGroup.json
from mimir import Mimir
m = Mimir()
groups = m.loki.topology.groups.post('id', data=TopologyGroup)
POST
/api/mimir/loki/topology/{id}/groups
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
TopologyGroup | object | true | false | None | TopologyGroup - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
TopologyGroup | object | Created resource |
LOKI List Topology Groups
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/topology/id/groups"
from mimir import Mimir
m = Mimir()
groups = m.loki.topology.groups.get('id')
GET
/api/mimir/loki/topology/{id}/groups
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
TopologyGroupCollection | object | List of resources |
LOKI Remove Resource Topology Groups
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/topology/id/groups/groupid"
from mimir import Mimir
m = Mimir()
groupid = m.loki.topology.groups.delete('id', 'groupid')
DELETE
/api/mimir/loki/topology/{id}/groups/{groupid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
groupid | string | true | false | None | groupid | groupid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show Topology Groups
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/topology/id/groups/groupid"
from mimir import Mimir
m = Mimir()
groupid = m.loki.topology.groups.get('id', 'groupid')
GET
/api/mimir/loki/topology/{id}/groups/{groupid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
groupid | string | true | false | None | groupid | groupid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
TopologyGroup | object | Resource object |
LOKI Update Topology Groups
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/topology/id/groups/groupid" -d@TopologyGroup.json
from mimir import Mimir
m = Mimir()
groupid = m.loki.topology.groups.put('id', 'groupid', data=TopologyGroup)
PUT
/api/mimir/loki/topology/{id}/groups/{groupid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
groupid | string | true | false | None | groupid | groupid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
TopologyGroup | object | true | false | None | TopologyGroup - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
TopologyGroup | object | Updated resource |
LOKI Import Graph Topology
Import a graph from graphml/json file and merge into current graph.
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/topology/id/import"
from mimir import Mimir
m = Mimir()
import = m.loki.topology.import.post('id')
POST
/api/mimir/loki/topology/{id}/import
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Graph id |
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
format | string | false | false | json | format | format - Export format |
asfile | integer | false | false | None | 12345 | asfile - Return file as attachment vs. body |
Response
Name | Type | Example | Definition |
---|
LOKI Layout Graph Topology
Re-Layout a graph
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/topology/id/layout"
from mimir import Mimir
m = Mimir()
layout = m.loki.topology.layout.get('id')
GET
/api/mimir/loki/topology/{id}/layout
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Graph id |
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
layout | string | false | false | organic | layout | layout - Automatically layout graph nodes and edges based on chosen algorithm |
Response
Name | Type | Example | Definition |
---|---|---|---|
TopologyGraph | object | Graph object |
LOKI List Topology Nodes
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/topology/id/nodes"
from mimir import Mimir
m = Mimir()
nodes = m.loki.topology.nodes.get('id')
GET
/api/mimir/loki/topology/{id}/nodes
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
TopologyNodeCollection | object | List of resources |
LOKI Create Topology Nodes
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/topology/id/nodes" -d@TopologyNode.json
from mimir import Mimir
m = Mimir()
nodes = m.loki.topology.nodes.post('id', data=TopologyNode)
POST
/api/mimir/loki/topology/{id}/nodes
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
TopologyNode | object | true | false | None | TopologyNode - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
TopologyNode | object | Created resource |
LOKI Show Topology Nodes
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/topology/id/nodes/nodeid"
from mimir import Mimir
m = Mimir()
nodeid = m.loki.topology.nodes.get('id', 'nodeid')
GET
/api/mimir/loki/topology/{id}/nodes/{nodeid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
nodeid | string | true | false | None | nodeid | nodeid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
TopologyNode | object | Resource object |
LOKI Remove Resource Topology Nodes
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/topology/id/nodes/nodeid"
from mimir import Mimir
m = Mimir()
nodeid = m.loki.topology.nodes.delete('id', 'nodeid')
DELETE
/api/mimir/loki/topology/{id}/nodes/{nodeid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
nodeid | string | true | false | None | nodeid | nodeid - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Update Topology Nodes
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/topology/id/nodes/nodeid" -d@TopologyNode.json
from mimir import Mimir
m = Mimir()
nodeid = m.loki.topology.nodes.put('id', 'nodeid', data=TopologyNode)
PUT
/api/mimir/loki/topology/{id}/nodes/{nodeid}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
nodeid | string | true | false | None | nodeid | nodeid - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
TopologyNode | object | true | false | None | TopologyNode - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
TopologyNode | object | Updated resource |
LOKI Get Options Topology
Return supported graph options
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/topology/id/options"
from mimir import Mimir
m = Mimir()
options = m.loki.topology.options.get('id')
GET
/api/mimir/loki/topology/{id}/options
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Graph id |
Response
Name | Type | Example | Definition |
---|---|---|---|
ResponseOptions | object | Options object |
LOKI Render Graph Topology
Render a graph
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/topology/id/render"
from mimir import Mimir
m = Mimir()
render = m.loki.topology.render.post('id')
POST
/api/mimir/loki/topology/{id}/render
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
format | string | false | false | graphml | format | format - Export format |
asfile | integer | false | false | None | 12345 | asfile - Return file as attachment vs. body |
filename | string | false | false | None | filename | filename - Return filename |
layout | string | false | false | None | layout | layout - Automatically layout graph nodes and edges based on chosen algorithm |
context | boolean | false | false | false | true | context - Enable or disable context mode |
context_nodes | string | false | false | None | context_nodes | context_nodes - Comma-delimited list of nodes to include in context (context must be enabled) |
hops | integer | false | false | 1 | 12345 | hops - Number of connectivity hops to include in graph context (context must be enabled) |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
RequestOptions | object | false | false | None | RequestOptions - Number of connectivity hops to include in graph context (context must be enabled) |
Response
Name | Type | Example | Definition |
---|
LOKI Render Graph Topology
Render a graph
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/topology/id/render"
from mimir import Mimir
m = Mimir()
render = m.loki.topology.render.get('id')
GET
/api/mimir/loki/topology/{id}/render
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
format | string | false | false | graphml | format | format - Export format |
asfile | integer | false | false | None | 12345 | asfile - Return file as attachment vs. body |
filename | string | false | false | None | filename | filename - Return filename |
layout | string | false | false | None | layout | layout - Automatically layout graph nodes and edges based on chosen algorithm |
context | boolean | false | false | false | true | context - Enable or disable context mode |
context_nodes | string | false | false | None | context_nodes | context_nodes - Comma-delimited list of nodes to include in context (context must be enabled) |
hops | integer | false | false | 1 | 12345 | hops - Number of connectivity hops to include in graph context (context must be enabled) |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
RequestOptions | object | false | false | None | RequestOptions - Number of connectivity hops to include in graph context (context must be enabled) |
Response
Name | Type | Example | Definition |
---|
LOKI Update Settings Topology
Update Graph UI settings…
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/topology/id/settings" -d@String.json
from mimir import Mimir
m = Mimir()
settings = m.loki.topology.settings.put('id', data=String)
PUT
/api/mimir/loki/topology/{id}/settings
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
String | object | true | false | None | String - Settings object |
Response
Name | Type | Example | Definition |
---|---|---|---|
ResponseSettings | object | Settings object |
LOKI List Upload
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/upload"
from mimir import Mimir
m = Mimir()
upload = m.loki.upload.get()
Response
Name | Type | Example | Definition |
---|---|---|---|
UploadCollection | object | List of resources |
LOKI Create Upload
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/upload" -d@Upload.json
from mimir import Mimir
m = Mimir()
upload = m.loki.upload.post(data=Upload)
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Upload | object | true | false | None | Upload - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Upload | object | Created resource |
LOKI Remove Resource Upload
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/upload/id"
from mimir import Mimir
m = Mimir()
id = m.loki.upload.delete('id')
DELETE
/api/mimir/loki/upload/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show Upload
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/upload/id"
from mimir import Mimir
m = Mimir()
id = m.loki.upload.get('id')
GET
/api/mimir/loki/upload/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Upload | object | Resource object |
LOKI Update Upload
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/upload/id" -d@Upload.json
from mimir import Mimir
m = Mimir()
id = m.loki.upload.put('id', data=Upload)
PUT
/api/mimir/loki/upload/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Upload | object | true | false | None | Upload - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
Upload | object | Updated resource |
LOKI Render File Upload
Render a file
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/upload/id/render"
from mimir import Mimir
m = Mimir()
render = m.loki.upload.render.get('id')
GET
/api/mimir/loki/upload/{id}/render
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Upload id |
Response
Name | Type | Example | Definition |
---|
LOKI Create User
Create a resource
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/loki/user" -d@AAAUser.json
from mimir import Mimir
m = Mimir()
user = m.loki.user.post(data=AAAUser)
POST
/api/mimir/loki/user
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
AAAUser | object | true | false | None | AAAUser - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
AAAUser | object | Created resource |
LOKI List User
List resources
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/user"
from mimir import Mimir
m = Mimir()
user = m.loki.user.get()
Response
Name | Type | Example | Definition |
---|---|---|---|
AAAUserCollection | object | List of resources |
LOKI Update User
Update a resource
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/loki/user/id" -d@AAAUser.json
from mimir import Mimir
m = Mimir()
id = m.loki.user.put('id', data=AAAUser)
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
AAAUser | object | true | false | None | AAAUser - Resource object |
Response
Name | Type | Example | Definition |
---|---|---|---|
AAAUser | object | Updated resource |
LOKI Remove Resource User
Delete a resource
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/loki/user/id"
from mimir import Mimir
m = Mimir()
id = m.loki.user.delete('id')
DELETE
/api/mimir/loki/user/{id}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Deleted resource |
LOKI Show User
Get a resource
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/loki/user/id"
from mimir import Mimir
m = Mimir()
id = m.loki.user.get('id')
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
id | string | true | false | None | id | id - Resource id |
Response
Name | Type | Example | Definition |
---|---|---|---|
AAAUser | object | Resource object |
NETSIM
Netsim is a hosted VIRL service for Cisco Advanced Services
- Version: v1.0.0
- Owner: Jody Carbone jocarbon@cisco.com
- Contact: netsim-support@cisco.com
- Homepage: https://netsim.cisco.com
NETSIM Authenticate
Authenticates the user for access.
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/netsim/authenticate" -d@authenticationRequest.json
from mimir import Mimir
m = Mimir()
authenticate = m.netsim.authenticate.post(data=authenticationRequest)
POST
/api/mimir/netsim/authenticate
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
authenticationRequest | object | true | false | None | authenticationRequest - AuthenticateUserRequest Object |
Response
Name | Type | Example | Definition |
---|---|---|---|
AuthenticateUserResponse | object | User Authenticated |
NETSIM Create Catalog
Create a new catalog entry in netsim.
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/netsim/catalogs" -d@Catalog.json
from mimir import Mimir
m = Mimir()
catalogs = m.netsim.catalogs.post(data=Catalog)
POST
/api/mimir/netsim/catalogs
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
Catalog | object | true | false | None | Catalog - Catalog Request Object |
Response
Name | Type | Example | Definition |
---|---|---|---|
catalog | object | Catalog created successfully. |
NETSIM Find Catalogs
Fetch all catalogs available in netsim.
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/netsim/catalogs/search" -d@catalogsearch.json
from mimir import Mimir
m = Mimir()
search = m.netsim.catalogs.search.post(data=catalogsearch)
POST
/api/mimir/netsim/catalogs/search
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
catalogsearch | object | true | false | None | catalogsearch - CatalogSearchDto Object |
Response
Name | Type | Example | Definition |
---|---|---|---|
catalogsearch | object | List of catalog responses with meta data |
NETSIM Find My Catalogs
Fetch the logged in user’s catalogs .
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/netsim/catalogs/search/mycatalogs" -d@catalogsearch.json
from mimir import Mimir
m = Mimir()
mycatalogs = m.netsim.catalogs.search.mycatalogs.post(data=catalogsearch)
POST
/api/mimir/netsim/catalogs/search/mycatalogs
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
catalogsearch | object | true | false | None | catalogsearch - CatalogSearchDto Object |
Response
Name | Type | Example | Definition |
---|---|---|---|
catalogsearch | object | List of catalog responses with meta data |
NETSIM Sync Catalog
Sync catalog details with GIT.
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/netsim/catalogs/sync"
from mimir import Mimir
m = Mimir()
sync = m.netsim.catalogs.sync.post()
POST
/api/mimir/netsim/catalogs/sync
Response
Name | Type | Example | Definition |
---|---|---|---|
catalog | object | Catalog synced successfully. |
NETSIM Delete Catalog
Delete Catalog
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/netsim/catalogs/12345"
from mimir import Mimir
m = Mimir()
catalogid = m.netsim.catalogs.delete(12345)
DELETE
/api/mimir/netsim/catalogs/{catalogId}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
catalogId | integer | true | false | None | 12345 | catalogId - |
Response
Name | Type | Example | Definition |
---|---|---|---|
BaseResponse | object | Catalog deleted successfully. |
NETSIM Get Catalog
Get catalog details
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/netsim/catalogs/12345"
from mimir import Mimir
m = Mimir()
catalogid = m.netsim.catalogs.get(12345)
GET
/api/mimir/netsim/catalogs/{catalogId}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
catalogId | integer | true | false | None | 12345 | catalogId - |
Response
Name | Type | Example | Definition |
---|---|---|---|
catalog | object | Catalog response containing complete catalog data. | |
catalog | object | Only meta-data as the catalog is in Transition state. |
NETSIM Update Catalog
Update catalog details.
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/netsim/catalogs/12345" -d@catalogRequest.json
from mimir import Mimir
m = Mimir()
catalogid = m.netsim.catalogs.put(12345, data=catalogRequest)
PUT
/api/mimir/netsim/catalogs/{catalogId}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
catalogId | integer | true | false | None | 12345 | catalogId - |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
catalogRequest | object | true | false | None | catalogRequest - Catalog Request Object |
Response
Name | Type | Example | Definition |
---|---|---|---|
catalog | object | Catalog updated successfully. |
NETSIM Activate Catalog
Activate Catalog will initiate the GIT sync process and activates the catalog for it to be available in Netsim.
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/netsim/catalogs/12345/activate"
from mimir import Mimir
m = Mimir()
activate = m.netsim.catalogs.activate.put(12345)
PUT
/api/mimir/netsim/catalogs/{catalogId}/activate
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
catalogId | integer | true | false | None | 12345 | catalogId - |
Response
Name | Type | Example | Definition |
---|---|---|---|
catalog | object | Git sync has been initiated. | |
catalog | object | Catalog already Active. |
NETSIM Reset Catalog
Discard Catalog changes will reset the catalog to the previous state.
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/netsim/catalogs/12345/discard" -d@catalogRequest.json
from mimir import Mimir
m = Mimir()
discard = m.netsim.catalogs.discard.put(12345, data=catalogRequest)
PUT
/api/mimir/netsim/catalogs/{catalogId}/discard
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
catalogId | integer | true | false | None | 12345 | catalogId - |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
catalogRequest | object | true | false | None | catalogRequest - Catalog Request Object |
Response
Name | Type | Example | Definition |
---|---|---|---|
catalog | object | Catalog has been reset to the previous state. |
NETSIM Edit Catalog File
Edit file content without deleting the file
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/netsim/catalogs/12345/file" -d@catalogRequest.json
from mimir import Mimir
m = Mimir()
file = m.netsim.catalogs.file.put(12345, data=catalogRequest)
PUT
/api/mimir/netsim/catalogs/{catalogId}/file
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
catalogId | integer | true | false | None | 12345 | catalogId - |
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
fileName | string | false | false | None | fileName | fileName - |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
catalogRequest | object | true | false | None | catalogRequest - Catalog Request Object |
Response
Name | Type | Example | Definition |
---|---|---|---|
catalog | object | File added succesfully. |
NETSIM Add File
Add a new file to an existing catalog.
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/netsim/catalogs/12345/file" -d@catalogRequest.json
from mimir import Mimir
m = Mimir()
file = m.netsim.catalogs.file.post(12345, data=catalogRequest)
POST
/api/mimir/netsim/catalogs/{catalogId}/file
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
catalogId | integer | true | false | None | 12345 | catalogId - |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
catalogRequest | object | true | false | None | catalogRequest - Catalog Request Object |
Response
Name | Type | Example | Definition |
---|---|---|---|
catalog | object | File added succesfully. |
NETSIM Delete File
Delete a single catalog file
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/netsim/catalogs/12345/file"
from mimir import Mimir
m = Mimir()
file = m.netsim.catalogs.file.delete(12345)
DELETE
/api/mimir/netsim/catalogs/{catalogId}/file
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
catalogId | integer | true | false | None | 12345 | catalogId - |
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
fileName | string | false | false | None | fileName | fileName - |
Response
Name | Type | Example | Definition |
---|---|---|---|
BaseResponse | object | Catalog file deleted successfully. |
NETSIM Get Catalog File
Get the VIRL file content associated with catalog.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/netsim/catalogs/12345/file"
from mimir import Mimir
m = Mimir()
file = m.netsim.catalogs.file.get(12345)
GET
/api/mimir/netsim/catalogs/{catalogId}/file
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
catalogId | integer | true | false | None | 12345 | catalogId - |
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
fileName | string | false | false | None | fileName | fileName - |
Response
Name | Type | Example | Definition |
---|---|---|---|
catalog | object | File fetched succesfully. |
NETSIM Create Feedback
Creates a feedback entry for a module.
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/netsim/feedbacks/appName/12345" -d@feedbackData.json
from mimir import Mimir
m = Mimir()
appid = m.netsim.feedbacks.post('appName', 12345, data=feedbackData)
POST
/api/mimir/netsim/feedbacks/{appName}/{appId}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
appName | string | true | false | None | appName | appName - |
appId | integer | true | false | None | 12345 | appId - |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
feedbackData | object | true | false | None | feedbackData - Feedback Data Request Dto |
Response
Name | Type | Example | Definition |
---|---|---|---|
feedbackWrapper | object | Feedback created successfully. |
NETSIM Get Feedbacks
Get the feedbacks associated with an appName and appId.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/netsim/feedbacks/appName/12345"
from mimir import Mimir
m = Mimir()
appid = m.netsim.feedbacks.get('appName', 12345)
GET
/api/mimir/netsim/feedbacks/{appName}/{appId}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
appName | string | true | false | None | appName | appName - |
appId | integer | true | false | None | 12345 | appId - |
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
start | integer | false | false | None | 12345 | start - |
records | integer | false | false | 100 | 12345 | records - |
Response
Name | Type | Example | Definition |
---|---|---|---|
feedbackWrapper | object | Feedback fetched succesfully. |
NETSIM Calculate Flavor
Calculate the ideal flavor for the given VIRL file.
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/netsim/flavorcalculator" -d@virlFileContent.json
from mimir import Mimir
m = Mimir()
flavorcalculator = m.netsim.flavorcalculator.post(data=virlFileContent)
POST
/api/mimir/netsim/flavorcalculator
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
virlFileContent | string | true | false | None | virlFileContent | virlFileContent - Virl file content in text format |
Response
Name | Type | Example | Definition |
---|
NETSIM Get Flavors
Get a list of all the available flavors in VIRL.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/netsim/flavorcalculator/flavors"
from mimir import Mimir
m = Mimir()
flavors = m.netsim.flavorcalculator.flavors.get()
GET
/api/mimir/netsim/flavorcalculator/flavors
Response
Name | Type | Example | Definition |
---|
NETSIM Add Image
Add Image
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/netsim/images"
from mimir import Mimir
m = Mimir()
images = m.netsim.images.post()
Response
Name | Type | Example | Definition |
---|---|---|---|
image | object | Image successfully added |
NETSIM Get Images
Get all images
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/netsim/images"
from mimir import Mimir
m = Mimir()
images = m.netsim.images.get()
Response
Name | Type | Example | Definition |
---|---|---|---|
ImageResponse | object | No images available |
NETSIM Me
Checks for the user in the context and validates authorization.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/netsim/me"
from mimir import Mimir
m = Mimir()
me = m.netsim.me.get()
Response
Name | Type | Example | Definition |
---|---|---|---|
user | object | Current User |
NETSIM Get All Active News
Get all global news
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/netsim/news"
from mimir import Mimir
m = Mimir()
news = m.netsim.news.get()
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | List of notifications for the user |
NETSIM Get All Active Notifications Of User
Get all global notifications and user specific notifications
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/netsim/notifications"
from mimir import Mimir
m = Mimir()
notifications = m.netsim.notifications.get()
GET
/api/mimir/netsim/notifications
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | List of notifications for the user |
NETSIM Create Notification
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/netsim/notifications"
from mimir import Mimir
m = Mimir()
notifications = m.netsim.notifications.post()
POST
/api/mimir/netsim/notifications
Response
Name | Type | Example | Definition |
---|
NETSIM Create Project
Create project with the name appended to the user id. PID details is optional
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/netsim/projects" -d@projectRequest.json
from mimir import Mimir
m = Mimir()
projects = m.netsim.projects.post(data=projectRequest)
POST
/api/mimir/netsim/projects
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectRequest | object | true | false | None | projectRequest - Project Dto Object |
Response
Name | Type | Example | Definition |
---|---|---|---|
ProjectDto | object | Project Created | |
ProjectDto | object | successful operation |
NETSIM Get All Projects
Fetch all the projects associated with the user and not in deleted state
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/netsim/projects"
from mimir import Mimir
m = Mimir()
projects = m.netsim.projects.get()
GET
/api/mimir/netsim/projects
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
userId | string | false | false | None | userId | userId - |
Response
Name | Type | Example | Definition |
---|---|---|---|
ProjectDtos | object | List of projects |
NETSIM Create Project From Virl
Create project with virl file, we can also override the project attributes with a proper json. PID details is optional
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/netsim/projects/create"
from mimir import Mimir
m = Mimir()
create = m.netsim.projects.create.post()
POST
/api/mimir/netsim/projects/create
Response
Name | Type | Example | Definition |
---|---|---|---|
ProjectResponse | object | Project Created | |
ProjectResponse | object | successful operation |
NETSIM Get Virl Host Details
Get the virl instance for the specified project name, simulation name and user
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/netsim/projects/hosts"
from mimir import Mimir
m = Mimir()
hosts = m.netsim.projects.hosts.get()
GET
/api/mimir/netsim/projects/hosts
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | false | false | None | projectName | projectName - |
userId | string | false | false | None | userId | userId - |
simulationName | string | false | false | None | simulationName | simulationName - |
Response
Name | Type | Example | Definition |
---|---|---|---|
VIRLHostResponse | object | If no simulation name is passed, derived details from project details | |
VIRLHostResponse | object | Virl Instance Details Retrieved |
NETSIM Modify Project
Updates the project with details for the specified project id
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/netsim/projects/projectId"
from mimir import Mimir
m = Mimir()
projectid = m.netsim.projects.put('projectId')
PUT
/api/mimir/netsim/projects/{projectId}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | string | true | false | None | projectId | projectId - |
Response
Name | Type | Example | Definition |
---|---|---|---|
ProjectDto | object | Project Updated |
NETSIM Delete Project
No Notes please
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/netsim/projects/projectId"
from mimir import Mimir
m = Mimir()
projectid = m.netsim.projects.delete('projectId')
DELETE
/api/mimir/netsim/projects/{projectId}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | string | true | false | None | projectId | projectId - |
Response
Name | Type | Example | Definition |
---|---|---|---|
ProjectResponse | object | Project Deleted Successfully | |
ProjectResponse | object | successful operation |
NETSIM Get Project
Get the project details for the specified project id
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/netsim/projects/projectId"
from mimir import Mimir
m = Mimir()
projectid = m.netsim.projects.get('projectId')
GET
/api/mimir/netsim/projects/{projectId}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | string | true | false | None | projectId | projectId - |
Response
Name | Type | Example | Definition |
---|---|---|---|
GetProjectDetailsResponse | object | Project Retreived |
NETSIM Launch Project Virl Simulation
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/netsim/projects/projectId/launch"
from mimir import Mimir
m = Mimir()
launch = m.netsim.projects.launch.post('projectId')
POST
/api/mimir/netsim/projects/{projectId}/launch
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | string | true | false | None | projectId | projectId - |
Response
Name | Type | Example | Definition |
---|
NETSIM Get Project Messages
Get the project history messages for the specified project id
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/netsim/projects/projectId/messages"
from mimir import Mimir
m = Mimir()
messages = m.netsim.projects.messages.get('projectId')
GET
/api/mimir/netsim/projects/{projectId}/messages
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | string | true | false | None | projectId | projectId - |
Response
Name | Type | Example | Definition |
---|---|---|---|
ProjectActivityHistory | object | successful operation |
NETSIM Auto Refresh Simulation
Refresh simulation status with actual virl status, Project id is mandatory
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/netsim/projects/projectId/refreshproject"
from mimir import Mimir
m = Mimir()
refreshproject = m.netsim.projects.refreshproject.get('projectId')
GET
/api/mimir/netsim/projects/{projectId}/refreshProject
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | string | true | false | None | projectId | projectId - |
Response
Name | Type | Example | Definition |
---|---|---|---|
ProjectDto | object | successful operation | |
ProjectDto | object | Simulation status updated |
NETSIM Get Project Virl Roster
Get the virl project roster for the specified project id
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/netsim/projects/projectId/roster"
from mimir import Mimir
m = Mimir()
roster = m.netsim.projects.roster.get('projectId')
GET
/api/mimir/netsim/projects/{projectId}/roster
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | string | true | false | None | projectId | projectId - |
Response
Name | Type | Example | Definition |
---|
NETSIM Get Project Virl Simulations
Get the virl simulations for the specified project id
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/netsim/projects/projectId/simulations"
from mimir import Mimir
m = Mimir()
simulations = m.netsim.projects.simulations.get('projectId')
GET
/api/mimir/netsim/projects/{projectId}/simulations
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | string | true | false | None | projectId | projectId - |
Response
Name | Type | Example | Definition |
---|---|---|---|
ProjectSimulationDtos | object | List of Simulations |
NETSIM Delete Project Virl Simulations
Delete the virl simulations for the specified project id
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/netsim/projects/projectId/simulations"
from mimir import Mimir
m = Mimir()
simulations = m.netsim.projects.simulations.delete('projectId')
DELETE
/api/mimir/netsim/projects/{projectId}/simulations
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | string | true | false | None | projectId | projectId - |
Response
Name | Type | Example | Definition |
---|---|---|---|
ProjectResponse | object | successful operation |
NETSIM Export Project Virl Simulations
Export the virl simulations for the specified project id.
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/netsim/projects/12345/simulations/export"
from mimir import Mimir
m = Mimir()
export = m.netsim.projects.simulations.export.post(12345)
POST
/api/mimir/netsim/projects/{projectId}/simulations/export
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | integer | true | false | None | 12345 | projectId - |
Response
Name | Type | Example | Definition |
---|
NETSIM Auto Net Kit
Create project in virl with virl file, Project name is mandatory. NOTE: This does not actually launch the simulation in VIRL
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/netsim/projects/projectName/autonetkit" -d@simulationRequest.json
from mimir import Mimir
m = Mimir()
autonetkit = m.netsim.projects.autonetkit.post('projectName', data=simulationRequest)
POST
/api/mimir/netsim/projects/{projectName}/autoNetKit
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | projectName | projectName - |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
simulationRequest | object | true | false | None | simulationRequest - Virl instance dto Object |
Response
Name | Type | Example | Definition |
---|---|---|---|
ProjectSimulationDto | object | Autonetkid created | |
ProjectSimulationDto | object | successful operation |
NETSIM Create Simulation
Create netsim project simulation with virl file
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/netsim/projects/projectName/createsimulation" -d@simulationRequest.json
from mimir import Mimir
m = Mimir()
createsimulation = m.netsim.projects.createsimulation.post('projectName', data=simulationRequest)
POST
/api/mimir/netsim/projects/{projectName}/createSimulation
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | projectName | projectName - |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
simulationRequest | object | true | false | None | simulationRequest - Virl instance dto Object |
Response
Name | Type | Example | Definition |
---|---|---|---|
ProjectSimulationDto | object | Simulation created | |
ProjectSimulationDto | object | successful operation |
NETSIM Delete Single Virl Simulation
Delete specified virl simulation for the specified project id
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/netsim/projects/projectName/simulationName"
from mimir import Mimir
m = Mimir()
simulationname = m.netsim.projects.delete('projectName', 'simulationName')
DELETE
/api/mimir/netsim/projects/{projectName}/{simulationName}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectName | string | true | false | None | projectName | projectName - |
simulationName | string | true | false | None | simulationName | simulationName - |
Response
Name | Type | Example | Definition |
---|---|---|---|
ProjectResponse | object | Simulations stopped successfully |
NETSIM Create Sub Type
create subtype with the details
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/netsim/virl/createsubtype" -d@subtypeRequest.json
from mimir import Mimir
m = Mimir()
createsubtype = m.netsim.virl.createsubtype.post(data=subtypeRequest)
POST
/api/mimir/netsim/virl/createSubType
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
subtypeRequest | object | true | false | None | subtypeRequest - SubType Dto Object |
Response
Name | Type | Example | Definition |
---|---|---|---|
SubTypeDto | object | SubType created | |
SubTypeDto | object | successful operation |
NETSIM Get All Sub Types
get all subtype with the details
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/netsim/virl/getallsubtypes"
from mimir import Mimir
m = Mimir()
getallsubtypes = m.netsim.virl.getallsubtypes.get()
GET
/api/mimir/netsim/virl/getAllSubTypes
Response
Name | Type | Example | Definition |
---|---|---|---|
SubTypeGetAllDtos | object | List of SubTypes |
NETSIM Get All User Sub Types
update subtype with the details
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/netsim/virl/getallusersubtypes"
from mimir import Mimir
m = Mimir()
getallusersubtypes = m.netsim.virl.getallusersubtypes.get()
GET
/api/mimir/netsim/virl/getAllUserSubTypes
Response
Name | Type | Example | Definition |
---|
NETSIM Get Sub Types
Get the list of all subtypes
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/netsim/virl/subtypes"
from mimir import Mimir
m = Mimir()
subtypes = m.netsim.virl.subtypes.get()
GET
/api/mimir/netsim/virl/subtypes
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | List of subtypes |
NETSIM Get Sub Types Details
Get details of all subtypes
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/netsim/virl/subtypes/details"
from mimir import Mimir
m = Mimir()
details = m.netsim.virl.subtypes.details.get()
GET
/api/mimir/netsim/virl/subtypes/details
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Details of all subtypes |
NETSIM Sync Virl Subtype With D B
sync virl subtype with db
HTTP Request
curl -XPOST "https://mimir-prod.cisco.com/api/mimir/netsim/virl/syncsubtype"
from mimir import Mimir
m = Mimir()
syncsubtype = m.netsim.virl.syncsubtype.post()
POST
/api/mimir/netsim/virl/syncSubType
Response
Name | Type | Example | Definition |
---|
NETSIM Update Sub Type
update subtype with the details
HTTP Request
curl -XPUT "https://mimir-prod.cisco.com/api/mimir/netsim/virl/subTypeName" -d@subtypeRequest.json
from mimir import Mimir
m = Mimir()
subtypename = m.netsim.virl.put('subTypeName', data=subtypeRequest)
PUT
/api/mimir/netsim/virl/{subTypeName}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
subTypeName | string | true | false | None | subTypeName | subTypeName - |
Body Parameters
Body parameters must be sent in the HTTP request body (e.g. as a JSON object, file, etc.).
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
subtypeRequest | object | true | false | None | subtypeRequest - SubType Dto Object |
Response
Name | Type | Example | Definition |
---|---|---|---|
SubTypeDto | object | Subtype updated |
NETSIM Get Sub Type Details
Get the subtype details for the specified subtype id
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/netsim/virl/subTypeName"
from mimir import Mimir
m = Mimir()
subtypename = m.netsim.virl.get('subTypeName')
GET
/api/mimir/netsim/virl/{subTypeName}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
subTypeName | string | true | false | None | subTypeName | subTypeName - |
Response
Name | Type | Example | Definition |
---|---|---|---|
Response | object | Subtype Retreived |
NETSIM Delete Sub Type
update subtype with the details
HTTP Request
curl -XDELETE "https://mimir-prod.cisco.com/api/mimir/netsim/virl/subTypeName"
from mimir import Mimir
m = Mimir()
subtypename = m.netsim.virl.delete('subTypeName')
DELETE
/api/mimir/netsim/virl/{subTypeName}
Path Parameters
Path parameters must be set in the HTTP URL request path itself.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
subTypeName | string | true | false | None | subTypeName | subTypeName - |
Response
Name | Type | Example | Definition |
---|
NP
Network Profile (NP) is a tool to provide analytics for key NOS deliverables.
- Version: v1.0.0
- Owner: Paul Roberts paurober@cisco.com
- Contact: ccamplej@cisco.com
- Homepage: http://netprofile-us/netprofile/
NP Application Packages
Software application details sourced from SYSAPPL-MIB.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/application_packages?cpyKey=81714"
from mimir import Mimir
m = Mimir()
application_packages = m.np.application_packages.get(cpyKey=81714)
GET
/api/mimir/np/application_packages
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
applicationPkgName | string | false | false | None | Cisco CallManager | Application Package Name - The name of an installed application software package as reported in SYSAPPL-MIB. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
applicationPkgName | string | Cisco CallManager | The name of an installed application software package as reported in SYSAPPL-MIB. |
applicationPkgVersion | string | 9.1.2.15900-7 | The version of an installed application software package as reported in SYSAPPL-MIB. |
applicationPkgManufacturer | string | Cisco Systems, Inc. | The manufacturer of an installed application software package as reported in SYSAPPL-MIB. |
NP Auth
Authentication by user and company
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/auth?cpyKey=81714&userId=mycecid"
from mimir import Mimir
m = Mimir()
auth = m.np.auth.get(cpyKey=81714, userId='mycecid')
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
userId | string | true | false | None | mycecid | User ID - A Cisco userid. |
Response
Name | Type | Example | Definition |
---|---|---|---|
requestStatus | string | If the requested userid has permission to access the provided cpyKey, requestStatus will be “Authorized”. Unauthorized userids will cause the API to return a HTTP 401 Unauthorized code. |
NP Authv2
Authorization by userid and cpykey.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/authv2?cpyKey=81714&userId=mycecid"
from mimir import Mimir
m = Mimir()
authv2 = m.np.authv2.get(cpyKey=81714, userId='mycecid')
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
userId | string | true | false | None | mycecid | User ID - A Cisco userid. |
Response
Name | Type | Example | Definition |
---|---|---|---|
requestStatus | string | If the requested userid has permission to access the provided cpyKey, requestStatus will be “Authorized”. |
NP Bp Details
Configuration Best Practice Device Level Exceptions. Combine this output with bp_summary.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/bp_details?cpyKey=81714"
from mimir import Mimir
m = Mimir()
bp_details = m.np.bp_details.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
bpRuleId | integer | false | false | None | 12345 | BP Rule ID - The internal Config BP Rule ID from the AI-X system. Used to cross-reference with other API results. |
bpRisk | string | false | false | None | bpRisk | BP Risk - The Risk associated with a Config BP Rule. Valid values include: High, Medium, Low. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
bpRuleId | integer | The internal Config BP Rule ID from the AI-X system. Used to cross-reference with other API results. | |
bpNuggetId | string | The internal Config BP Nugget ID from the AI-X system. Used to cross-reference with other API results. | |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
configSource | string | STANDARD | The source of a Configuration file. The primary source will be “STANDARD”. But in some devices, it might be “CONTEXT” or “ADMIN”. |
NP Bp Details Fedex
Configuration Best Practice Device Level Exceptions. Combine this output with bp_summary.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/bp_details_fedex?cpyKey=81714"
from mimir import Mimir
m = Mimir()
bp_details_fedex = m.np.bp_details_fedex.get(cpyKey=81714)
GET
/api/mimir/np/bp_details_fedex
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
bpRuleId | integer | false | false | None | 12345 | BP Rule ID - The internal Config BP Rule ID from the AI-X system. Used to cross-reference with other API results. |
bpRisk | string | false | false | None | bpRisk | BP Risk - The Risk associated with a Config BP Rule. Valid values include: High, Medium, Low. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
bpRuleId | integer | The internal Config BP Rule ID from the AI-X system. Used to cross-reference with other API results. | |
bpNuggetId | string | The internal Config BP Nugget ID from the AI-X system. Used to cross-reference with other API results. | |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
configSource | string | STANDARD | The source of a Configuration file. The primary source will be “STANDARD”. But in some devices, it might be “CONTEXT” or “ADMIN”. |
NP Bp Rule Comments
Internal comments entered per BP rule. These comments are usually entered in NP when rules are disabled.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/bp_rule_comments?cpyKey=81714"
from mimir import Mimir
m = Mimir()
bp_rule_comments = m.np.bp_rule_comments.get(cpyKey=81714)
GET
/api/mimir/np/bp_rule_comments
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
bpRuleId | integer | false | false | None | 12345 | BP Rule ID - The internal Config BP Rule ID from the AI-X system. Used to cross-reference with other API results. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
bpRuleId | integer | The internal Config BP Rule ID from the AI-X system. Used to cross-reference with other API results. | |
nceComments | string | Any comments entered by the NCE for the particular data type. | |
userId | string | mycecid | A Cisco userid. |
updateDate | datetime | The timestamp when the data or rule was last updated. |
NP Bp Rule Disabled
Disabled NP BP rules for a cpyKey.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/bp_rule_disabled?cpyKey=81714"
from mimir import Mimir
m = Mimir()
bp_rule_disabled = m.np.bp_rule_disabled.get(cpyKey=81714)
GET
/api/mimir/np/bp_rule_disabled
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
bpRuleId | integer | false | false | None | 12345 | BP Rule ID - The internal Config BP Rule ID from the AI-X system. Used to cross-reference with other API results. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
collector | string | no16 | The unique 4 character id for a Cisco collector. |
bpRuleId | integer | The internal Config BP Rule ID from the AI-X system. Used to cross-reference with other API results. |
NP Bp Rules
AS Config Best Practice rule intellectual capital. This IC should not be distributed to customers in bulk since it is a core part of AS Service.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/bp_rules"
from mimir import Mimir
m = Mimir()
bp_rules = m.np.bp_rules.get()
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
bpRuleId | integer | false | false | None | 12345 | BP Rule ID - The internal Config BP Rule ID from the AI-X system. Used to cross-reference with other API results. |
bpNuggetId | string | false | false | None | bpNuggetId | BP Nugget ID - The internal Config BP Nugget ID from the AI-X system. Used to cross-reference with other API results. |
bpTitle | string | false | false | None | bpTitle | BP Title - The Config BP exception headline / title. |
bpRisk | string | false | false | None | bpRisk | BP Risk - The Risk associated with a Config BP Rule. Valid values include: High, Medium, Low. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
startCreateDate | date | false | false | None | 2016-12-02 | Start Create Date - The starting date for a range search in a createDate field. |
endCreateDate | date | false | false | None | 2016-12-02 | End Create Date - The ending date for a range search in a createDate field. |
startUpdateDate | date | false | false | None | 2016-12-02 | Start Update Date - The starting date for a range search in an updateDate field. |
endUpdateDate | date | false | false | None | 2016-12-02 | End Update Date - The ending date for a range search in an updateDate field. |
clusterId | integer | false | false | None | 1 | Cluster ID - NP DB cluster identifier. 1=US1, 2=EMEA, 3=US2, 4=US3, 5=US4 |
Response
Name | Type | Example | Definition |
---|---|---|---|
bpRuleId | integer | The internal Config BP Rule ID from the AI-X system. Used to cross-reference with other API results. | |
bpNuggetId | string | The internal Config BP Nugget ID from the AI-X system. Used to cross-reference with other API results. | |
bpTitle | string | The Config BP exception headline / title. | |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
bpRisk | string | The Risk associated with a Config BP Rule. Valid values include: High, Medium, Low. | |
bpPrimaryTechnology | string | *LAN Switching | The Primary Technology associated with a Config BP Rule. |
bpSecondaryTechnology | string | *Security and VPN | The Secondary Technologies associated with a Config BP Rule. Can be multiple values separated with commas. |
bpDescription | string | The Description associated with a Config BP Rule. | |
bpRecommendation | string | The Recommendation associated with a Config BP Rule. | |
bpCorrectiveAction | string | The Corrective Action associated with a Config BP Rule. | |
bpCaveat | string | The Caveat associated with a Config BP Rule. | |
createDate | datetime | The date the record or rule was created in NP database. For devices, a new record is created whenever a unique name+sysobjectid combination is seen in the collector. | |
updateDate | datetime | The timestamp when the data or rule was last updated. |
NP Bp Rules References
AS Config Best Practice rule reference URLs.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/bp_rules_references"
from mimir import Mimir
m = Mimir()
bp_rules_references = m.np.bp_rules_references.get()
GET
/api/mimir/np/bp_rules_references
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
bpRuleId | integer | false | false | None | 12345 | BP Rule ID - The internal Config BP Rule ID from the AI-X system. Used to cross-reference with other API results. |
Response
Name | Type | Example | Definition |
---|---|---|---|
bpRuleId | integer | The internal Config BP Rule ID from the AI-X system. Used to cross-reference with other API results. | |
bpUrlTitle | string | The Config BP reference URL Title associated with bpUrl. | |
bpUrl | string | The Config BP reference URL. Any rule can have 1 or more reference URLs. |
NP Bp Summary
Configuration Best Practice Summary by Rule.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/bp_summary?cpyKey=81714"
from mimir import Mimir
m = Mimir()
bp_summary = m.np.bp_summary.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
bpRisk | string | false | false | None | bpRisk | BP Risk - The Risk associated with a Config BP Rule. Valid values include: High, Medium, Low. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
bpRuleId | integer | The internal Config BP Rule ID from the AI-X system. Used to cross-reference with other API results. | |
bpNuggetId | string | The internal Config BP Nugget ID from the AI-X system. Used to cross-reference with other API results. | |
bpTitle | string | The Config BP exception headline / title. | |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
bpRisk | string | The Risk associated with a Config BP Rule. Valid values include: High, Medium, Low. | |
bpPrimaryTechnology | string | *LAN Switching | The Primary Technology associated with a Config BP Rule. |
bpSecondaryTechnology | string | *Security and VPN | The Secondary Technologies associated with a Config BP Rule. Can be multiple values separated with commas. |
totalDevices | integer | The number of unique matching devices in summary APIs. For Custom Config and BP, this is the number of devices with exceptions. For Feature, this is the number of devices with the feature match. For tracks, this is the total number of devices in the track. |
NP Cc Groups
NP Custom Configuration Templates and their associated NP Groups
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/cc_groups?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cc_groups = m.np.cc_groups.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
ccTemplateName | string | false | false | None | ccTemplateName | Custom Configuration Template Name - The name of the NP Custom Configuration template. |
Response
Name | Type | Example | Definition |
---|---|---|---|
ccTemplateId | integer | The internal NP identifier for a Custom Configuration template. This is useful when joining together results from multiple APIs. | |
ccTemplateName | string | The name of the NP Custom Configuration template. | |
groupName | string | Name of the NP Group | |
groupId | integer | 321213 | The unique ID of the NP Group |
NP Cc Rule Details
NP Custom Configuration Rule Details.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/cc_rule_details?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cc_rule_details = m.np.cc_rule_details.get(cpyKey=81714)
GET
/api/mimir/np/cc_rule_details
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
ccTemplateName | string | false | false | None | ccTemplateName | Custom Configuration Template Name - The name of the NP Custom Configuration template. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
ccTemplateId | integer | The internal NP identifier for a Custom Configuration template. This is useful when joining together results from multiple APIs. | |
ccTemplateName | string | The name of the NP Custom Configuration template. | |
ccRuleId | integer | The internal NP identifier for a Custom Configuration rule. This is useful when joining together results from multiple APIs. | |
ccRuleName | string | The name of the NP Custom Configuration rule. | |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
ccRuleExceptionType | string | Add Cfg | The exception type of the NP Custom Configuration rule. Valid values include: “Add Cfg”, “Remove Cfg” |
ccRuleConfigLineNumber | string | 432-456 | For NP Advanced Custom Configuration rules, the running config line number of the block where the exception occurs. |
ccRuleExceptionBlock | string | router ospf 1 | For NP Advanced Custom Configuration rules, the name of the block where the exception occurs. |
ccRuleConfigLines | string | The config that are the expected standard config in an NP Custom Configuration rule. Limited to first 4000 characters. |
NP Cc Rule Rbml
RBML Fields for NP Custom Configuration Simple Rules only (does not include multiline or advanced).
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/cc_rule_rbml?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cc_rule_rbml = m.np.cc_rule_rbml.get(cpyKey=81714)
GET
/api/mimir/np/cc_rule_rbml
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
ccTemplateName | string | false | false | None | ccTemplateName | Custom Configuration Template Name - The name of the NP Custom Configuration template. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
ccTemplateId | integer | The internal NP identifier for a Custom Configuration template. This is useful when joining together results from multiple APIs. | |
ccRuleId | integer | The internal NP identifier for a Custom Configuration rule. This is useful when joining together results from multiple APIs. | |
ccRbmlCriteria | string | required | The RBML criteria tag from simple Custom Config rules. ‘required’ means the the regex needs to be present in the config. ‘not required’ means the regex should be absent in the config. |
ccRbmlBlock | string | global | The RBML block tag from simple Custom Config rules. The block defines where in the config to check the regex. |
ccRbmlRegex | string | ^logging host | The RBML regex tag from simple Custom Config rules. |
NP Cc Rule Summary
NP Custom Configuration Rule Summary.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/cc_rule_summary?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cc_rule_summary = m.np.cc_rule_summary.get(cpyKey=81714)
GET
/api/mimir/np/cc_rule_summary
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
ccTemplateName | string | false | false | None | ccTemplateName | Custom Configuration Template Name - The name of the NP Custom Configuration template. |
Response
Name | Type | Example | Definition |
---|---|---|---|
ccTemplateId | integer | The internal NP identifier for a Custom Configuration template. This is useful when joining together results from multiple APIs. | |
ccTemplateName | string | The name of the NP Custom Configuration template. | |
ccRuleId | integer | The internal NP identifier for a Custom Configuration rule. This is useful when joining together results from multiple APIs. | |
ccRuleName | string | The name of the NP Custom Configuration rule. | |
ccRuleType | string | Advanced | The type of the NP Custom Configuration rule. Valid values include: Advanced, Multiline, Simple |
ccGroupDevices | integer | The total number of devices considered for the Custom Configuration template. To be considered for Custom Config, the device must have a valid running config. | |
totalDevices | integer | The number of unique matching devices in summary APIs. For Custom Config and BP, this is the number of devices with exceptions. For Feature, this is the number of devices with the feature match. For tracks, this is the total number of devices in the track. | |
ccPercentCompliant | number | The percent of devices compliant to the entire template or entire rule, depending on API. | |
ccTotalExceptions | integer | The total number of exceptions for a specific Custom Configuration rule. If the rule is simple or multiline, it will always be 1 per device. If it is an Advanced rule, then it can be greater than 1 per device due to multiple block occurrences. | |
ccAllGroupDevices | integer | The total number of devices in the groups for the Custom Configuration template. This may be larger than ccGroupDevices. The extras will be devices that qualified for the group but did not have a valid running config for Custom Config analysis to be performed. |
NP Cc Rule Xml
NP Custom Configuration Rule XML.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/cc_rule_xml?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cc_rule_xml = m.np.cc_rule_xml.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
ccTemplateName | string | false | false | None | ccTemplateName | Custom Configuration Template Name - The name of the NP Custom Configuration template. |
ccTemplateId | integer | false | false | None | 12345 | Custom Configuration Template ID - The internal NP identifier for a Custom Configuration template. This is useful when joining together results from multiple APIs. |
ccRuleType | string | false | false | None | Advanced | Custom Configuration Rule Type - The type of the NP Custom Configuration rule. Valid values include: Advanced, Multiline, Simple |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
ccTemplateId | integer | The internal NP identifier for a Custom Configuration template. This is useful when joining together results from multiple APIs. | |
ccRuleId | integer | The internal NP identifier for a Custom Configuration rule. This is useful when joining together results from multiple APIs. | |
ccRuleType | string | Advanced | The type of the NP Custom Configuration rule. Valid values include: Advanced, Multiline, Simple |
ccRuleXml | string | The rule XML for a Custom Config rule. |
NP Cc Rules
NP Custom Configuration Rules.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/cc_rules?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cc_rules = m.np.cc_rules.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
ccTemplateName | string | false | false | None | ccTemplateName | Custom Configuration Template Name - The name of the NP Custom Configuration template. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
ccTemplateId | integer | The internal NP identifier for a Custom Configuration template. This is useful when joining together results from multiple APIs. | |
ccTemplateName | string | The name of the NP Custom Configuration template. | |
ccRuleId | integer | The internal NP identifier for a Custom Configuration rule. This is useful when joining together results from multiple APIs. | |
ccRuleName | string | The name of the NP Custom Configuration rule. | |
ccRuleType | string | Advanced | The type of the NP Custom Configuration rule. Valid values include: Advanced, Multiline, Simple |
ccRuleExceptionType | string | Add Cfg | The exception type of the NP Custom Configuration rule. Valid values include: “Add Cfg”, “Remove Cfg” |
ccRuleDescription | string | The description of the NP Custom Configuration rule. | |
ccRuleConfigLines | string | The config that are the expected standard config in an NP Custom Configuration rule. Limited to first 4000 characters. |
NP Cc Template Audit
NP Custom Configuration Templates that won’t produce any results because they have various issues.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/cc_template_audit?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cc_template_audit = m.np.cc_template_audit.get(cpyKey=81714)
GET
/api/mimir/np/cc_template_audit
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
ccTemplateId | integer | The internal NP identifier for a Custom Configuration template. This is useful when joining together results from multiple APIs. | |
ccTemplateName | string | The name of the NP Custom Configuration template. | |
ccTemplateTitle | string | The title of the NP Custom Configuration template. | |
ccTemplateDescription | string | The description of the NP Custom Configuration template. | |
ccTemplateCreateDate | datetime | The date when the NP Custom Configuration template was created. | |
ccTemplatedModifiedDate | datetime | The date when the NP Custom Configuration template was last modified. | |
ccTemplateIssue | string | The issue that is preventing any results from a Custom Configuration template. |
NP Cc Template Summary
NP Custom Configuration Template Summary.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/cc_template_summary?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cc_template_summary = m.np.cc_template_summary.get(cpyKey=81714)
GET
/api/mimir/np/cc_template_summary
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
ccTemplateName | string | false | false | None | ccTemplateName | Custom Configuration Template Name - The name of the NP Custom Configuration template. |
Response
Name | Type | Example | Definition |
---|---|---|---|
ccTemplateId | integer | The internal NP identifier for a Custom Configuration template. This is useful when joining together results from multiple APIs. | |
ccTemplateName | string | The name of the NP Custom Configuration template. | |
ccGroupDevices | integer | The total number of devices considered for the Custom Configuration template. To be considered for Custom Config, the device must have a valid running config. | |
ccTemplateTotalRules | integer | The total number of rules defined for an NP Custom Configuration template. | |
ccTemplateRulesViolated | integer | The total number of rules with at least one violation for an NP Custom Configuration template. | |
totalDevices | integer | The number of unique matching devices in summary APIs. For Custom Config and BP, this is the number of devices with exceptions. For Feature, this is the number of devices with the feature match. For tracks, this is the total number of devices in the track. | |
ccPercentCompliant | number | The percent of devices compliant to the entire template or entire rule, depending on API. | |
ccPercentRuleCompliant | number | The percent compliant to all the rules in a template. This differs from ccPercentCompliant which is the absolute compliance to the template. For Rule Compliance you will see your overall compliance at the rule level but summarized for the template. | |
ccAllGroupDevices | integer | The total number of devices in the groups for the Custom Configuration template. This may be larger than ccGroupDevices. The extras will be devices that qualified for the group but did not have a valid running config for Custom Config analysis to be performed. |
NP Cc Templates
NP Custom Configuration Templates.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/cc_templates?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cc_templates = m.np.cc_templates.get(cpyKey=81714)
GET
/api/mimir/np/cc_templates
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
ccTemplateName | string | false | false | None | ccTemplateName | Custom Configuration Template Name - The name of the NP Custom Configuration template. |
Response
Name | Type | Example | Definition |
---|---|---|---|
ccTemplateId | integer | The internal NP identifier for a Custom Configuration template. This is useful when joining together results from multiple APIs. | |
ccTemplateName | string | The name of the NP Custom Configuration template. | |
ccTemplateTitle | string | The title of the NP Custom Configuration template. | |
ccTemplateDescription | string | The description of the NP Custom Configuration template. | |
ccTemplateRecommendation | string | The recommendation of the NP Custom Configuration template. | |
ccTemplateCreateDate | datetime | The date when the NP Custom Configuration template was created. | |
ccTemplatedModifiedDate | datetime | The date when the NP Custom Configuration template was last modified. |
NP Ccm Gateways
CUCM Gateways sourced from CCMPhoneEntry
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/ccm_gateways?cpyKey=81714"
from mimir import Mimir
m = Mimir()
ccm_gateways = m.np.ccm_gateways.get(cpyKey=81714)
GET
/api/mimir/np/ccm_gateways
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
ccmGatewayName | string | The name of the CCM gateway as reported in CISCO-CCM-MIB. | |
ccmGatewayDescription | string | The description of the CCM gateway as reported in CISCO-CCM-MIB. | |
ccmGatewayStatus | string | registered | The status of the CCM gateway as reported in CISCO-CCM-MIB. |
NP Ccm Phones
CUCM Phones sourced from CCMPhoneEntry
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/ccm_phones?cpyKey=81714"
from mimir import Mimir
m = Mimir()
ccm_phones = m.np.ccm_phones.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
ccmPhoneName | string | SEP001122334455 | The name of the phone as reported in CISCO-CCM-MIB. |
ccmPhonePhysicalAddress | string | aa11223344bb | The physcial address of the phone as reported in CISCO-CCM-MIB. |
ccmPhoneDescription | string | Chuck’s Phone | The description of the phone as reported in CISCO-CCM-MIB. |
ccmPhoneIpAddress | string | 10.1.1.1 | The IP Address of the phone as reported in CISCO-CCM-MIB. |
ccmPhoneStatus | string | registered | The status of the phone as reported in CISCO-CCM-MIB. |
ccmPhoneLoadID | string | sip9951.9-4-2SR2-2 | The Load ID of the phone as reported in CISCO-CCM-MIB. |
NP Ccm Table
CUCM Table from CCMPhoneEntry
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/ccm_table?cpyKey=81714"
from mimir import Mimir
m = Mimir()
ccm_table = m.np.ccm_table.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
ccmName | string | The name of the CCM as reported in CISCO-CCM-MIB. | |
ccmDescription | string | The description of the CCM as reported in CISCO-CCM-MIB. | |
ccmVersion | string | The version of the CCM as reported in CISCO-CCM-MIB. | |
ccmClusterId | string | The ClusterId of the CCM as reported in CISCO-CCM-MIB. | |
ipAddress | string | 172.16.1.1 | An IPv4 Address. |
ccmStatus | string | up | The status of the CCM as reported in CISCO-CCM-MIB. |
NP Cli
Master call to NP to extract CLI data for a given Company, filtered by any of the inputs below. This call will do the full request, status check, data-download and repackage into MIMIR format.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/cli?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cli = m.np.cli.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | true | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
command | string | false | true | None | show version | Command - The CLI Command name. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
productFamily | string | false | false | None | Cisco Catalyst 3560-E Series Switches | Product Family - The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
groupId | integer | false | true | None | 321213 | Group ID - The unique ID of the NP Group |
fromDate | datetime | false | false | None | 2016-12-02T20:10:32Z | From Date - Used for API inputs to limit to data changed after this date. |
extract | integer | false | false | None | 12345 | Extract Option - A flag that (if set to 1) will pass the commmand rawData through the Extract framework (see EXTRACT section for more detail) |
Response
Name | Type | Example | Definition |
---|---|---|---|
collector | string | no16 | The unique 4 character id for a Cisco collector. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
command | string | show version | The CLI Command name. |
fullPath | string | The server directory path of a CLI or Config file. This is used only for troubleshooting. | |
rawData | string | The raw data from CLI or Config. | |
extract | object | Either an object or array representing the attributes parsed by the Extract framework. Only present if extract option used |
NP Cli Available
Unique CLI commands available for a company. This can be used to know which CLI commands to extract from NP.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/cli_available?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cli_available = m.np.cli_available.get(cpyKey=81714)
GET
/api/mimir/np/cli_available
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
fromDate | datetime | false | false | None | 2016-12-02T20:10:32Z | From Date - Used for API inputs to limit to data changed after this date. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
commandName | string | show version | The CLI Command name. |
NP Cli Timestamps
Last collection timestamp for each CLI for each Device.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/cli_timestamps?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cli_timestamps = m.np.cli_timestamps.get(cpyKey=81714)
GET
/api/mimir/np/cli_timestamps
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
commandName | string | false | false | None | show version | Command Name - The CLI Command name. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
fromDate | datetime | false | false | None | 2016-12-02T20:10:32Z | From Date - Used for API inputs to limit to data changed after this date. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
commandName | string | show version | The CLI Command name. |
commandTime | datetime | For Network Profile, this will be the date the CLI is processed into NP, not the collected timestamp. |
NP Cluster
Get the NP DB server that a given Company resides on.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/cluster?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cluster = m.np.cluster.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
clusterId | integer | 1 | NP DB cluster identifier. 1=US1, 2=EMEA, 3=US2, 4=US3, 5=US4 |
cpyName | string | The company name as defined in CSTG Support Central for display in AS Tools. | |
clusterName | string | US1 | NP DB cluster name. |
NP Collection Errors
All the collection errors reported by CSPC. There can be some stale records here for things the CSPC isn’t collecting anymore.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/collection_errors?cpyKey=81714"
from mimir import Mimir
m = Mimir()
collection_errors = m.np.collection_errors.get(cpyKey=81714)
GET
/api/mimir/np/collection_errors
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
deviceIp | string | false | false | None | 172.21.1.1 | Device IP Address - The management IP address of the device. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swVersion | string | false | false | None | 15.1(4)M4 | Software Version - The Software Version of the device. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
timeStamp | datetime | 2016-09-13T03:46:59 | Generic timestamp field. |
collectorDataset | string | Name of the dataset on the collector. | |
collectorCommand | string | The command issued by the collector. | |
collectorErrorMessage | string | The Error Message returned by the collector for a specific dataset collection. |
NP Collector Details
Details for active/testing collectors for a specific company.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/collector_details?cpyKey=81714"
from mimir import Mimir
m = Mimir()
collector_details = m.np.collector_details.get(cpyKey=81714)
GET
/api/mimir/np/collector_details
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
collector | string | no16 | The unique 4 character id for a Cisco collector. |
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
cpyName | string | The company name as defined in CSTG Support Central for display in AS Tools. | |
collectorStatus | string | Active | The status of the collector as specified in CSTG Support Central. Valid values: Active, Cisco Testing |
isPrimaryCollector | string | Y | When using CSPC to scale beyond 10K devices, the CSPC can have multiple entitlements to scale to 40K. To Network Profile, this looks like separate collectors (up to 4). But physically, it is just 1 collector. If the value of this field is “N”, then it should not be considered a physical collector, but one of the logical entitlements created. Valid values: Y, N |
theater | string | AMERICAS | The theater associated with the collector, as specified in CSTG Support Central. |
lineOfBusiness | string | Enterprise | The Line of Business of the collector as defined in CSTG Support Central. Common values include: Enterprise, Service Provider, Public Sector |
serviceType | string | Subscription | The AS service type for the collector as defined in CSTG Support Central. Valid values include: Subscription, Transaction |
applianceId | string | up | The unique appliance ID for a CSPC Collector. |
collectorType | string | CSPC | The type of collector (Requires successful health upload). Valid values: CSPC, CNC, UNKNOWN |
collectorVersion | string | 2.7.1 | The version of the collector as reported in the upload. |
collectorMajorVersion | string | 2.7 | The first 3 characters of the collectorVersion field. |
rulePackageVersion | string | RP3.24 | The rule package version running on the collector (Requires successful health upload). |
expectedUploadInterval | integer | The number of days expected between full collector uploads to Cisco. | |
collectorVulnerability | string | drown,ghost,glibc,heartBleed | Comma-separated list of collector security vulnerabilities. |
collectorPotVulnerability | string | drown,ghost,glibc,heartBleed | Comma-separated list of potential collector security vulnerabilities. |
lastUploadComplete | datetime | The timestamp when the last successful upload completed. | |
lastInventoryLoadComplete | datetime | The timestamp when the last successful inventory upload completed. | |
lastSyslogLoadComplete | datetime | The timestamp when the last successful syslog upload completed. | |
lastHealthUploadComplete | datetime | The timestamp when the last successful health upload completed. |
NP Collectors
List of all the active and testing collectors in NP.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/collectors"
from mimir import Mimir
m = Mimir()
collectors = m.np.collectors.get()
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | false | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
collectorStatus | string | false | false | None | Active | Collector Status - The status of the collector as specified in CSTG Support Central. Valid values: Active, Cisco Testing |
collector | string | false | false | None | no16 | Collector - The unique 4 character id for a Cisco collector. |
applianceId | string | false | false | None | up | Appliance ID - The unique appliance ID for a CSPC Collector. |
Response
Name | Type | Example | Definition |
---|---|---|---|
collector | string | no16 | The unique 4 character id for a Cisco collector. |
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
cpyName | string | The company name as defined in CSTG Support Central for display in AS Tools. | |
collectorStatus | string | Active | The status of the collector as specified in CSTG Support Central. Valid values: Active, Cisco Testing |
isPrimaryCollector | string | Y | When using CSPC to scale beyond 10K devices, the CSPC can have multiple entitlements to scale to 40K. To Network Profile, this looks like separate collectors (up to 4). But physically, it is just 1 collector. If the value of this field is “N”, then it should not be considered a physical collector, but one of the logical entitlements created. Valid values: Y, N |
theater | string | AMERICAS | The theater associated with the collector, as specified in CSTG Support Central. |
lineOfBusiness | string | Enterprise | The Line of Business of the collector as defined in CSTG Support Central. Common values include: Enterprise, Service Provider, Public Sector |
serviceType | string | Subscription | The AS service type for the collector as defined in CSTG Support Central. Valid values include: Subscription, Transaction |
applianceId | string | up | The unique appliance ID for a CSPC Collector. |
NP Companies
List of all the Companies in NP with an active (or test) collector.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/companies"
from mimir import Mimir
m = Mimir()
companies = m.np.companies.get()
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | false | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
cpyName | string | false | false | None | cpyName | Company Name - The company name as defined in CSTG Support Central for display in AS Tools. |
clusterName | string | false | false | None | US1 | NP Cluster Name - NP DB cluster name. |
theater | string | false | false | None | AMERICAS | Theater - The theater associated with the collector, as specified in CSTG Support Central. |
lineOfBusiness | string | false | false | None | Enterprise | Line of Business - The Line of Business of the collector as defined in CSTG Support Central. Common values include: Enterprise, Service Provider, Public Sector |
managerUserId | string | false | false | None | managerUserId | Manager UserID - The userID of the HR manager or Delivery Manager. |
cpyType | string | false | false | None | cpyType | Company Type - The type of access restrictions on the company. Valid values include: Test Account, Restricted Account, Highly Restricted Account. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
cpyName | string | The company name as defined in CSTG Support Central for display in AS Tools. | |
clusterId | integer | 1 | NP DB cluster identifier. 1=US1, 2=EMEA, 3=US2, 4=US3, 5=US4 |
clusterName | string | US1 | NP DB cluster name. |
dcpPartyId | integer | The Customer Registry Party ID associated in DCP for the NP Company. This ID may be associated with multiple NP Companies. | |
dcpPartyName | string | The Company Name as defined in Customer Registry associated with the DCP Party ID. | |
crPartyId | integer | The unique Party ID from Customer Registry that can be used in OnePortal. Will be used by only one NP Company. | |
crPartyName | string | The Company Name as defined in Customer Registry associated with the CR Party ID. | |
theater | string | AMERICAS | The theater associated with the collector, as specified in CSTG Support Central. |
lineOfBusiness | string | Enterprise | The Line of Business of the collector as defined in CSTG Support Central. Common values include: Enterprise, Service Provider, Public Sector |
managerUserId | string | The userID of the HR manager or Delivery Manager. | |
cpyType | string | The type of access restrictions on the company. Valid values include: Test Account, Restricted Account, Highly Restricted Account. | |
npUrl | string | The URL to the Network Profile home page for the customer. |
NP Companies Entitled
List of Companies in NP along with the currently Authorized users.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/companies_entitled"
from mimir import Mimir
m = Mimir()
companies_entitled = m.np.companies_entitled.get()
GET
/api/mimir/np/companies_entitled
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | false | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
cpyName | string | false | false | None | cpyName | Company Name - The company name as defined in CSTG Support Central for display in AS Tools. |
userId | string | false | false | None | mycecid | User ID - A Cisco userid. |
dateAccessGranted | string | false | false | None | dateAccessGranted | Date Access Granted - The date a user was granted access to an NP Company. Since all users have access to Test accounts, the access date may not be known. Field is a string since some APIs accept a regex when this field is used as input. |
cpyType | string | false | false | None | cpyType | Company Type - The type of access restrictions on the company. Valid values include: Test Account, Restricted Account, Highly Restricted Account. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
cpyName | string | The company name as defined in CSTG Support Central for display in AS Tools. | |
cpyType | string | The type of access restrictions on the company. Valid values include: Test Account, Restricted Account, Highly Restricted Account. | |
userId | string | mycecid | A Cisco userid. |
userType | string | The Type of NP User. | |
dateAccessGranted | string | The date a user was granted access to an NP Company. Since all users have access to Test accounts, the access date may not be known. Field is a string since some APIs accept a regex when this field is used as input. | |
managerUserId | string | The userID of the HR manager or Delivery Manager. |
NP Config
Master call to NP to extract Configuration data for a given Company, filtered by any of the inputs below. This call will do the full request, status check, data-download and repackage into MIMIR format.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/config?cpyKey=81714"
from mimir import Mimir
m = Mimir()
config = m.np.config.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | true | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
productFamily | string | false | false | None | Cisco Catalyst 3560-E Series Switches | Product Family - The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
groupId | integer | false | true | None | 321213 | Group ID - The unique ID of the NP Group |
configType | string | false | true | None | ADMIN RUNNING, STANDARD RUNNING, STANDARD STARTUP | Configuration Type - The type of a Configuration file, which is a concatenation of the config source (standard, admin, context) and config type (running, startup). |
fromDate | datetime | false | false | None | 2016-12-02T20:10:32Z | From Date - Used for API inputs to limit to data changed after this date. |
extract | integer | false | false | None | 12345 | Extract Option - A flag that (if set to 1) will pass the commmand rawData through the Extract framework (see EXTRACT section for more detail) |
Response
Name | Type | Example | Definition |
---|---|---|---|
collector | string | no16 | The unique 4 character id for a Cisco collector. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
command | string | show version | The CLI Command name. |
fullPath | string | The server directory path of a CLI or Config file. This is used only for troubleshooting. | |
rawData | string | The raw data from CLI or Config. | |
extract | object | Either an object or array representing the attributes parsed by the Extract framework. Only present if extract option used |
NP Config-diffs
Configuration change differences for each device. By default the API will return only the latest diff. Optional the last 10 diffs per device can be returned.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/config-diffs?cpyKey=81714"
from mimir import Mimir
m = Mimir()
config-diffs = m.np.config-diffs.get(cpyKey=81714)
GET
/api/mimir/np/config-diffs
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
latest | boolean | false | false | true | true | Latest - Boolean to indicate whether just the latest data or all data should be returned. |
managedNeInstanceId | integer | false | true | None | 22345640 | Managed Network Element Instance IDs - The unique ID of the NetworkElement/Device. |
startConfigDiffDate | datetime | false | false | None | 2016-12-02T20:10:32Z | Start Config Diff Date - Use this input date to retrieve all config diffs diff on or after this date. |
endConfigDiffDate | datettime | false | false | None | endConfigDiffDate | End Config Diff Date - Use this input date to retrieve all config diffs diff on or before this date. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
managedNeInstanceId | integer | 22345640 | The unique ID of the NetworkElement/Device. |
configDiffDate | datetime | The timestamp for a configuration difference recognized in NP. | |
configDiffText | string | The actual config diff text that comes from NP config diff profile. The output is same as unix diff command. Rows starting with less-than symbol were present in the previous config and rows starting with greater-than symbol are present in the current config at the time of the diff. |
NP Config Available
Unique Configs Types available for a company. This can be used to know which Configs Types to extract from NP.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/config_available?cpyKey=81714"
from mimir import Mimir
m = Mimir()
config_available = m.np.config_available.get(cpyKey=81714)
GET
/api/mimir/np/config_available
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
configType | string | ADMIN RUNNING, STANDARD RUNNING, STANDARD STARTUP | The type of a Configuration file, which is a concatenation of the config source (standard, admin, context) and config type (running, startup). |
NP Config Timestamps
Last collection time stamp for each config.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/config_timestamps?cpyKey=81714"
from mimir import Mimir
m = Mimir()
config_timestamps = m.np.config_timestamps.get(cpyKey=81714)
GET
/api/mimir/np/config_timestamps
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
configName | string | false | false | None | configName | Config file - Name of the config file. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
fromDate | datetime | false | false | None | 2016-12-02T20:10:32Z | From Date - Used for API inputs to limit to data changed after this date. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
NP Connectivity Status
Status of collectors that are using connectivity for transport to Cisco. If collector is provided, it will return the last 30 records. If collector is not provided, it will only return the most recent one per collector.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/connectivity_status"
from mimir import Mimir
m = Mimir()
connectivity_status = m.np.connectivity_status.get()
GET
/api/mimir/np/connectivity_status
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
collector | string | false | false | None | no16 | Collector - The unique 4 character id for a Cisco collector. |
Response
Name | Type | Example | Definition |
---|---|---|---|
collector | string | no16 | The unique 4 character id for a Cisco collector. |
collectorId | string | CSP0009021160 | The CSPC collector appliance ID. |
profileStatus | string | Complete | The result of a profile process. |
uploadFilename | string | The filename for a collector upload. | |
createDatetime | datetime | A create date with time. | |
startDatetime | datetime | A start date with time. | |
endDatetime | datetime | An end date with time. |
NP Cucs Memory Unit Table
UCS Memory Unit Table from CISCO-UNIFIED-COMPUTING-MEMORY-MIB
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/cucs_memory_unit_table?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cucs_memory_unit_table = m.np.cucs_memory_unit_table.get(cpyKey=81714)
GET
/api/mimir/np/cucs_memory_unit_table
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
cucsMemoryUnitInstanceId | string | cucsMemoryUnitInstanceId from CISCO-UNIFIED-COMPUTING-MEMORY-MIB | |
cucsMemoryUnitDn | string | cucsMemoryUnitDn from CISCO-UNIFIED-COMPUTING-MEMORY-MIB | |
cucsMemoryUnitModel | string | cucsMemoryUnitModel from CISCO-UNIFIED-COMPUTING-MEMORY-MIB | |
cucsMemoryUnitSerial | string | cucsMemoryUnitSerial from CISCO-UNIFIED-COMPUTING-MEMORY-MIB |
NP Dav
Collector Device Access Verification (DAV) results. Useful for correcting access issues on the collector that impact data completeness.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/dav?cpyKey=81714"
from mimir import Mimir
m = Mimir()
dav = m.np.dav.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
deviceSysname | string | false | false | None | router.cisco.com | Device sysName - The hostname (SNMP sysName) of the device. It will be fully-qualified name, if domain name is set on the device. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swVersion | string | false | false | None | 15.1(4)M4 | Software Version - The Software Version of the device. |
davAccessMethod | string | false | false | None | SNMP | DAV Access Method - The method of Device Access Verifier (DAV) check. Valid values include: PING, SNMP, TELNET, SSH, etc. |
davStatus | string | false | false | None | PASS | DAV Status - The status returned from the Device Access Verifier (DAV) check. Values may include: PASS, FAIL, NOT ATTEMPTED |
Response
Name | Type | Example | Definition |
---|---|---|---|
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
deviceIp | string | 172.21.1.1 | The management IP address of the device. |
deviceSysname | string | router.cisco.com | The hostname (SNMP sysName) of the device. It will be fully-qualified name, if domain name is set on the device. |
collector | string | no16 | The unique 4 character id for a Cisco collector. |
inventoryTime | datetime | The time when the collector last successfully collected inventory from the device. | |
configTime | datetime | The time when the collector last successfully collected the configuration from the device. | |
userField1 | string | The user field1 value populated in the collector seedfile. | |
userField2 | string | The user field2 value populated in the collector seedfile. | |
userField3 | string | The user field3 value populated in the collector seedfile. | |
userField4 | string | The user field4 value populated in the collector seedfile. | |
davAccessMethod | string | SNMP | The method of Device Access Verifier (DAV) check. Valid values include: PING, SNMP, TELNET, SSH, etc. |
davStatus | string | PASS | The status returned from the Device Access Verifier (DAV) check. Values may include: PASS, FAIL, NOT ATTEMPTED |
davMessage | string | No Credentials Found | The Message returned from the Device Access Verifier (DAV) check. Values may include: Pass, No Credentials Found, Connection Failed, etc. |
davTimestamp | datetime | The timestamp of Device Access Verifier (DAV) check. |
NP Device Details
Detailed Device Information (i.e. what is found at top of NP Device Profile page)
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/device_details?cpyKey=81714"
from mimir import Mimir
m = Mimir()
device_details = m.np.device_details.get(cpyKey=81714)
GET
/api/mimir/np/device_details
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | true | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
deviceIp | string | false | false | None | 172.21.1.1 | Device IP Address - The management IP address of the device. |
ipAddress | string | false | false | None | 172.16.1.1 | IP Address - An IPv4 Address. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
deviceSysname | string | false | false | None | router.cisco.com | Device sysName - The hostname (SNMP sysName) of the device. It will be fully-qualified name, if domain name is set on the device. |
inSeedfile | boolean | false | false | None | true | In Seedfile - Indicates whether the device is in a collector seedfile (true) or has been logically created by NP (false). This is important for some KPI measurements to be accurate. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swVersion | string | false | false | None | 15.1(4)M4 | Software Version - The Software Version of the device. |
productFamily | string | false | false | None | Cisco Catalyst 3560-E Series Switches | Product Family - The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
productType | string | false | false | None | Metro Ethernet Switches | Product Type - The Cisco Product Type in COLD of the hardware. Values usually come from MDF. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
deviceIp | string | 172.21.1.1 | The management IP address of the device. |
ipAddress | string | 172.16.1.1 | An IPv4 Address. |
deviceSysname | string | router.cisco.com | The hostname (SNMP sysName) of the device. It will be fully-qualified name, if domain name is set on the device. |
deviceType | string | Managed Chassis | The type of the device. Values include Managed Chassis, Managed Multi-Chassis, SDR, Contexts, and IOS-XR Admin |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swVersion | string | 15.1(4)M4 | The Software Version of the device. |
productId | string | The Cisco Product ID (PID) of the hardware as contained in Product IC. | |
productFamily | string | Cisco Catalyst 3560-E Series Switches | The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
productType | string | Metro Ethernet Switches | The Cisco Product Type in COLD of the hardware. Values usually come from MDF. |
collector | string | no16 | The unique 4 character id for a Cisco collector. |
deviceStatus | string | The status of the device as reported by the collector. Usually will be either ACTIVE or DEVICE NOT REACHABLE. | |
createDate | datetime | The date the record or rule was created in NP database. For devices, a new record is created whenever a unique name+sysobjectid combination is seen in the collector. | |
inventoryTime | datetime | The time when the collector last successfully collected inventory from the device. | |
inventoryStatus | string | Completed | The status of Inventory collection. Completed means some SNMP inventory was successfully collected. NotAvailable means SNMP inventory was not collected. NotSupported means the device was not in CSPC to be collected. |
configTime | datetime | The time when the collector last successfully collected the configuration from the device. | |
configStatus | string | Completed | The status of Configuration collection. Completed means the config was successfully collected. NotAvailable means the config was not collected. NotSupported means the device does not support collection of an ASCii config via CLI. |
configRegister | string | 0x2102 | The Configuration register of the device. |
imageName | string | The Image Name of the software on the Network Element. | |
featureSetDesc | string | The name of the software feature set running on the device. This data is primarily available for IOS. | |
sysObjectId | string | The SNMP sysObjectID of the device. | |
sysLocation | string | The SNMP sysLocation of the device which is populated in most devices using a configuration command. | |
sysContact | string | The SNMP sysContact of the device which is populated in most devices using a configuration command. | |
sysDescription | string | The SNMP system description from the device. | |
resetReason | string | The reason for the last system reset as reported in the show version output. | |
lastReset | datetime | The date timestamp of the last reset of the device as reported by the show version command. | |
userField1 | string | The user field1 value populated in the collector seedfile. | |
userField2 | string | The user field2 value populated in the collector seedfile. | |
userField3 | string | The user field3 value populated in the collector seedfile. | |
userField4 | string | The user field4 value populated in the collector seedfile. | |
deviceUrl | string | The URL to the Network Profile device profile page for the device. | |
inSeedfile | boolean | Indicates whether the device is in a collector seedfile (true) or has been logically created by NP (false). This is important for some KPI measurements to be accurate. |
NP Devices
Summary information about logical network elements (devices). For more fields, use the device_details API.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/devices?cpyKey=81714"
from mimir import Mimir
m = Mimir()
devices = m.np.devices.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | true | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
deviceIp | string | false | false | None | 172.21.1.1 | Device IP Address - The management IP address of the device. |
ipAddress | string | false | false | None | 172.16.1.1 | IP Address - An IPv4 Address. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
deviceSysname | string | false | false | None | router.cisco.com | Device sysName - The hostname (SNMP sysName) of the device. It will be fully-qualified name, if domain name is set on the device. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swVersion | string | false | false | None | 15.1(4)M4 | Software Version - The Software Version of the device. |
productFamily | string | false | false | None | Cisco Catalyst 3560-E Series Switches | Product Family - The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
deviceIp | string | 172.21.1.1 | The management IP address of the device. |
ipAddress | string | 172.16.1.1 | An IPv4 Address. |
deviceSysname | string | router.cisco.com | The hostname (SNMP sysName) of the device. It will be fully-qualified name, if domain name is set on the device. |
deviceType | string | Managed Chassis | The type of the device. Values include Managed Chassis, Managed Multi-Chassis, SDR, Contexts, and IOS-XR Admin |
productId | string | The Cisco Product ID (PID) of the hardware as contained in Product IC. | |
productFamily | string | Cisco Catalyst 3560-E Series Switches | The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
productType | string | Metro Ethernet Switches | The Cisco Product Type in COLD of the hardware. Values usually come from MDF. |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swVersion | string | 15.1(4)M4 | The Software Version of the device. |
NP Downstream
Data for collectors being passed to IBES.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/downstream"
from mimir import Mimir
m = Mimir()
downstream = m.np.downstream.get()
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | false | true | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
collector | string | false | false | None | no16 | Collector - The unique 4 character id for a Cisco collector. |
applianceId | string | false | false | None | up | Appliance ID - The unique appliance ID for a CSPC Collector. |
cpyName | string | false | false | None | cpyName | Company Name - The company name as defined in CSTG Support Central for display in AS Tools. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
cpyName | string | The company name as defined in CSTG Support Central for display in AS Tools. | |
collector | string | no16 | The unique 4 character id for a Cisco collector. |
applianceId | string | up | The unique appliance ID for a CSPC Collector. |
lastUploadComplete | datetime | The timestamp when the last successful upload completed. |
NP Feature Details
Details of devices and their features for an NP Company. Details about each feature is found in feature_rules API.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/feature_details?cpyKey=81714"
from mimir import Mimir
m = Mimir()
feature_details = m.np.feature_details.get(cpyKey=81714)
GET
/api/mimir/np/feature_details
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
technology | string | false | false | None | Multiprotocol Label Switching (MPLS) | Technology - The technology associated with a feature rule, as defined in Cisco MDF. |
feature | string | false | false | None | Multi-VRF Support (VRF lite) | Feature - The feature title, as defined in Feature Navigator/Feature Track System. |
trackId | integer | false | false | None | 12345 | Track ID - Internal NP Software Track identifier. This is needed to join between various track API results. |
Response
Name | Type | Example | Definition |
---|---|---|---|
featureRuleName | string | INTERNAL USE ONLY. The rule name of the feature rule. This is a unique identifier for a feature. It should not be shared with customers. | |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
NP Feature Rules
Feature Identification Service (FIS) Feature rules. This IC should not be distributed to customers in bulk since it is a core part of AS Service.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/feature_rules"
from mimir import Mimir
m = Mimir()
feature_rules = m.np.feature_rules.get()
GET
/api/mimir/np/feature_rules
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
technology | string | false | false | None | Multiprotocol Label Switching (MPLS) | Technology - The technology associated with a feature rule, as defined in Cisco MDF. |
featureRuleName | string | false | false | None | featureRuleName | Feature Rule Name - INTERNAL USE ONLY. The rule name of the feature rule. This is a unique identifier for a feature. It should not be shared with customers. |
feature | string | false | false | None | Multi-VRF Support (VRF lite) | Feature - The feature title, as defined in Feature Navigator/Feature Track System. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
Response
Name | Type | Example | Definition |
---|---|---|---|
featureRuleName | string | INTERNAL USE ONLY. The rule name of the feature rule. This is a unique identifier for a feature. It should not be shared with customers. | |
feature | string | Multi-VRF Support (VRF lite) | The feature title, as defined in Feature Navigator/Feature Track System. |
technology | string | Multiprotocol Label Switching (MPLS) | The technology associated with a feature rule, as defined in Cisco MDF. |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
ftsId | string | FTS-1234 | The Feature Tracking System (FTS) Identifier. This is a unique key to reference a feature against official Cisco features found in Feature Navigator. |
NP Feature Summary
Summary of features in an NP Company and number of devices for each.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/feature_summary?cpyKey=81714"
from mimir import Mimir
m = Mimir()
feature_summary = m.np.feature_summary.get(cpyKey=81714)
GET
/api/mimir/np/feature_summary
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
technology | string | false | false | None | Multiprotocol Label Switching (MPLS) | Technology - The technology associated with a feature rule, as defined in Cisco MDF. |
feature | string | false | false | None | Multi-VRF Support (VRF lite) | Feature - The feature title, as defined in Feature Navigator/Feature Track System. |
Response
Name | Type | Example | Definition |
---|---|---|---|
featureRuleName | string | INTERNAL USE ONLY. The rule name of the feature rule. This is a unique identifier for a feature. It should not be shared with customers. | |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
technology | string | Multiprotocol Label Switching (MPLS) | The technology associated with a feature rule, as defined in Cisco MDF. |
feature | string | Multi-VRF Support (VRF lite) | The feature title, as defined in Feature Navigator/Feature Track System. |
totalDevices | integer | The number of unique matching devices in summary APIs. For Custom Config and BP, this is the number of devices with exceptions. For Feature, this is the number of devices with the feature match. For tracks, this is the total number of devices in the track. |
NP Fn Bulletins
Field Notice (FN) bulletins from PAS/COLD.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/fn_bulletins"
from mimir import Mimir
m = Mimir()
fn_bulletins = m.np.fn_bulletins.get()
GET
/api/mimir/np/fn_bulletins
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
bulletinFirstPublished | string | false | false | None | bulletinFirstPublished | Bulletin First Published - The date when the bulletin was first published to Cisco.com. Most API calls will allow Regex input for this field. |
Response
Name | Type | Example | Definition |
---|---|---|---|
fieldNoticeId | string | Field Notice ID number. | |
fnType | string | Type of Field Notice as defined from PLATO. Valid values include: hardware, software, other | |
bulletinTitle | string | Cisco IOS XR Software Release 4.0 | The Cisco.com Title/Headline for the bulletin. |
bulletinFirstPublished | string | The date when the bulletin was first published to Cisco.com. Most API calls will allow Regex input for this field. | |
bulletinLastUpdated | datetime | The date when the bulletin was last updated on Cisco.com. | |
bulletinMappingCaveat | string | The Bulletin Mapping Caveat gives any explanations why the automation may need additional review by the customer. | |
bulletinUrl | string | The Cisco.com URL for the bulletin. | |
problemDescription | string | The description of the problem on a Cisco bulletin. |
NP Fn Comments
Field Notice impact, options/workarounds, action plan, and comments as entered by the NCE in Network Profile.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/fn_comments?cpyKey=81714"
from mimir import Mimir
m = Mimir()
fn_comments = m.np.fn_comments.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
fieldNoticeId | string | false | false | None | fieldNoticeId | Field Notice ID - Field Notice ID number. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
fieldNoticeId | string | Field Notice ID number. | |
nceComments | string | Any comments entered by the NCE for the particular data type. | |
userId | string | mycecid | A Cisco userid. |
updateDate | datetime | The timestamp when the data or rule was last updated. |
NP Fn Details
Field Notice (FN) vulnerabilities details for a specific NP cpyKey.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/fn_details?cpyKey=81714"
from mimir import Mimir
m = Mimir()
fn_details = m.np.fn_details.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
matchConfidence | string | false | false | None | matchConfidence | Match Confidence - The match confidence result from PAS. Valid values include: Vulnerable, Potentially Vulnerable, Not Vulnerable. |
fieldNoticeId | string | false | false | None | fieldNoticeId | Field Notice ID - Field Notice ID number. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
fieldNoticeId | string | Field Notice ID number. | |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
physicalElementId | integer | 139163375 | The unique ID in NP for a specific piece of hardware. |
matchConfidence | string | The match confidence result from PAS. Valid values include: Vulnerable, Potentially Vulnerable, Not Vulnerable. | |
matchConfidenceReason | string | The reason behind the match confidence result from PAS. Explains why you are vulnerable or not vulnerable or what data is missing to cause a potentially vulnerable result. PAS value is enhanced in NP for readability. |
NP Fn Summary
Field Notice (FN) Summary by Field Notice ID for a specific NP cpyKey.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/fn_summary?cpyKey=81714"
from mimir import Mimir
m = Mimir()
fn_summary = m.np.fn_summary.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
bulletinFirstPublished | string | false | false | None | bulletinFirstPublished | Bulletin First Published - The date when the bulletin was first published to Cisco.com. Most API calls will allow Regex input for this field. |
fieldNoticeId | string | false | false | None | fieldNoticeId | Field Notice ID - Field Notice ID number. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
fieldNoticeId | string | Field Notice ID number. | |
bulletinTitle | string | Cisco IOS XR Software Release 4.0 | The Cisco.com Title/Headline for the bulletin. |
bulletinFirstPublished | string | The date when the bulletin was first published to Cisco.com. Most API calls will allow Regex input for this field. | |
totalVulnerable | integer | The total number of devices vulnerable to a PSIRT or Field Notice. | |
totalPotentiallyVulnerable | integer | The total number of devices potentially vulnerable to a PSIRT or Field Notice. | |
totalNotVulnerable | integer | The total number of devices not vulnerable to a PSIRT or Field Notice. |
NP Group Criteria
The criteria for membership in an NP group.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/group_criteria?cpyKey=81714"
from mimir import Mimir
m = Mimir()
group_criteria = m.np.group_criteria.get(cpyKey=81714)
GET
/api/mimir/np/group_criteria
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
groupName | string | false | false | None | groupName | Group Name - Name of the NP Group |
Response
Name | Type | Example | Definition |
---|---|---|---|
groupId | integer | 321213 | The unique ID of the NP Group |
excludeGroupListCriteria | string | A list of Group IDs that are excluded from the membership of the specific NP group or track. | |
swTypeCriteria | string | IOS | The swType criteria for an NP Group or Track. |
memoryCriteria | integer | 128 | The installedMemory criteria for an NP Group or Track. |
memoryOperatorCriteria | string | The installedMemory operator criteria for an NP Group or Track (i.e. greater than, less than, etc.) | |
flashCriteria | integer | 64 | The installedFlash criteria for an NP Group or Track. |
flashOperatorCriteria | string | The installedFlash operator criteria for an NP Group or Track (i.e. greater than, less than, etc.) | |
deviceTypeCriteria | string | Managed Chassis | The deviceType criteria for an NP Group or Track. |
deviceNameCriteria | string | The deviceName criteria for an NP Group or Track. | |
deviceNameRegexCriteria | string | The deviceName regex criteria for an NP Group or Track. | |
deviceSysnameCriteria | string | The deviceSysname criteria for an NP Group or Track. | |
deviceSysnameRegexCriteria | string | The deviceSysname regex criteria for an NP Group or Track. | |
imageNameCriteria | string | The imageName criteria for an NP Group or Track. | |
imageNameRegexCriteria | string | The imageName regex criteria for an NP Group or Track. | |
productFamilyCriteria | string | The productFamily criteria for an NP Group or Track. | |
chassisPidCriteria | string | The Chassis Product ID criteria for an NP Group or Track. | |
chassisSnmpNameCriteria | string | The Chassis SNMP Name criteria for an NP Group or Track. | |
modulePidCriteria | string | The Module Product ID criteria for an NP Group or Track. | |
modulePidOperandCriteria | string | OR | The Module Product ID operator criteria for an NP Group or Track. |
moduleSnmpNameCriteria | string | The Module SNMP Name criteria for an NP Group or Track. | |
moduleSnmpNameOperandCriteria | string | AND | The Module SNMP Name operator criteria for an NP Group or Track. |
powerSupplyPidCriteria | string | The Power Supply Product ID criteria for an NP Group or Track. | |
powerSupplyPidOperandCriteria | string | OR | The Power Supply Product ID operator criteria for an NP Group or Track. |
fanPidCriteria | string | The Fan Product ID criteria for an NP Group or Track. | |
fanPidOperandCriteria | string | OR | The Fan Product ID operator criteria for an NP Group or Track. |
technologyCriteria | string | IP Multicast | The Technology criteria for an NP Group or Track. |
technologyOperandCriteria | string | OR | The Technology operator criteria for an NP Group or Track. |
featureCriteria | string | BGP | The Feature criteria for an NP Group or Track. |
featureOperandCriteria | string | OR | The Feature operator criteria for an NP Group or Track. |
featureSetDescCriteria | string | The Feature Set Description criteria for an NP Group or Track. | |
userField1Criteria | string | The User Field1 criteria for an NP Group or Track. | |
userField2Criteria | string | The User Field2 criteria for an NP Group or Track. | |
userField3Criteria | string | The User Field3 criteria for an NP Group or Track. | |
userField4Criteria | string | The User Field4 criteria for an NP Group or Track. | |
ipAddressCriteria | string | The IP Address criteria for an NP Group or Track. | |
sysLocationCriteria | string | The sysLocation criteria for an NP Group or Track. | |
swVersionCriteria | string | The Software Version criteria for an NP Group or Track. | |
productTypeCriteria | string | The Product Type criteria for an NP Group or Track. | |
collectorCriteria | string | The Collector criteria for an NP Group or Track. |
NP Group Members
The NP groups and their device members.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/group_members?cpyKey=81714"
from mimir import Mimir
m = Mimir()
group_members = m.np.group_members.get(cpyKey=81714)
GET
/api/mimir/np/group_members
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
groupName | string | false | false | None | groupName | Group Name - Name of the NP Group |
deviceId | integer | false | true | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
Response
Name | Type | Example | Definition |
---|---|---|---|
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
groupId | integer | 321213 | The unique ID of the NP Group |
groupName | string | Name of the NP Group |
NP Groups
The list of NP groups for a company. Use this API to get groupId values to use in other API calls.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/groups?cpyKey=81714"
from mimir import Mimir
m = Mimir()
groups = m.np.groups.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
groupName | string | false | false | None | groupName | Group Name - Name of the NP Group |
Response
Name | Type | Example | Definition |
---|---|---|---|
groupName | string | Name of the NP Group | |
groupId | integer | 321213 | The unique ID of the NP Group |
groupDescription | string | Description of the group | |
viewerGroup | boolean | Group Enabled for UI/Report Filtering. | |
totalDevices | integer | The number of unique matching devices in summary APIs. For Custom Config and BP, this is the number of devices with exceptions. For Feature, this is the number of devices with the feature match. For tracks, this is the total number of devices in the track. |
NP Hardware
Hardware inventory details.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/hardware?cpyKey=81714"
from mimir import Mimir
m = Mimir()
hardware = m.np.hardware.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | true | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
physicalType | string | false | false | None | Chassis | Physical Type - The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
physicalSubType | string | false | false | None | IP-PHONE | Physical SubType - For chassis physicalType, this field will indicate which are IP-PHONE, LWAP, or UCSB. |
productType | string | false | false | None | Metro Ethernet Switches | Product Type - The Cisco Product Type in COLD of the hardware. Values usually come from MDF. |
productFamily | string | false | false | None | Cisco Catalyst 3560-E Series Switches | Product Family - The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
productId | string | false | false | None | productId | Product ID (PID) - The Cisco Product ID (PID) of the hardware as contained in Product IC. |
serialNumber | string | false | false | None | serialNumber | Serial Number - The serial number of the hardware. |
trackId | integer | false | false | None | 12345 | Track ID - Internal NP Software Track identifier. This is needed to join between various track API results. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
physicalElementId | integer | 139163375 | The unique ID in NP for a specific piece of hardware. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
chassisName | string | The name of the chassis. This is useful to reference child hardware to its parent chassis in a multi-chassis set-up. | |
physicalType | string | Chassis | The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
physicalSubType | string | IP-PHONE | For chassis physicalType, this field will indicate which are IP-PHONE, LWAP, or UCSB. |
slot | string | 1/1/0 | The slot where a hardware component is located in a chassis. |
productId | string | The Cisco Product ID (PID) of the hardware as contained in Product IC. | |
swVersion | string | 15.1(4)M4 | The Software Version of the device. |
serialNumber | string | The serial number of the hardware. | |
serialNumberStatus | string | The validation status of the serial number of the hardware. VALID means the SN was found in Cisco MFG or Contract DB. INVALID means the SN was not found in either of those DBs. UNKNOWN means the SN validation has been completed. N/A means the SN is null, so validation is not applicable. | |
productType | string | Metro Ethernet Switches | The Cisco Product Type in COLD of the hardware. Values usually come from MDF. |
productFamily | string | Cisco Catalyst 3560-E Series Switches | The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
hwRev | string | 1.3 | The hardware revision. |
tan | string | 800-25952-06 | The Top Assembly Number (TAN) of the hardware. |
tanRev | string | A0 | The Top Assembly Number (TAN) Revision of the hardware. |
pcb | string | 73-9938-05 | The printed circuit board (PCB) number of the hardware. |
pcbRev | string | B0 | The printed circuit board (PCB) number revision of the hardware. |
installedMemory | integer | The amount of installed memory in the chassis (in megabytes). | |
installedFlash | integer | The amount of installed flash in the chassis (in megabytes). | |
vid | string | V01 | Cisco hardware Version ID |
NP Hw Eox
Hardware EoX details.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/hw_eox?cpyKey=81714"
from mimir import Mimir
m = Mimir()
hw_eox = m.np.hw_eox.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
physicalType | string | false | false | None | Chassis | Physical Type - The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
currentEoxMilestone | string | false | false | None | EoSale | Current EoX Milestone - The current end-of-life milestone as calculated during last NP profile. If more than one milestone falls on the same date, the returned value will be a comma-separated list. |
nextEoxMilestone | string | false | false | None | LDoS | Next EoX Milestone - The next end-of-life milestone that is coming up as calculated during last NP profile. If more than one milestone falls on the same date, the returned value will be a comma-separated list. If the device is already LDoS it will not have an next milestone. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
physicalElementId | integer | 139163375 | The unique ID in NP for a specific piece of hardware. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
productId | string | The Cisco Product ID (PID) of the hardware as contained in Product IC. | |
physicalType | string | Chassis | The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
currentEoxMilestone | string | EoSale | The current end-of-life milestone as calculated during last NP profile. If more than one milestone falls on the same date, the returned value will be a comma-separated list. |
currentEoxMilestoneDate | datetime | The date associated with the current end-of-life milestone. | |
nextEoxMilestone | string | LDoS | The next end-of-life milestone that is coming up as calculated during last NP profile. If more than one milestone falls on the same date, the returned value will be a comma-separated list. If the device is already LDoS it will not have an next milestone. |
nextEoxMilestoneDate | datetime | The date associated with the next end-of-life milestone. | |
hwEoxId | integer | Internal hardware end-of-life identifier to allow join with master hw_eox_bulletins API. |
NP Hw Eox Bulletin Replacement Pids
Hardware EoX Bulletin replacement PIDs as defined on the bulletin at the time of bulletin release. Be aware that these replacement PIDs themselves may also already have an EOX bulletin issued for them. Not all EOX bulletin PIDs will have a replacement defined and some may have more than one replacement.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/hw_eox_bulletin_replacement_pids"
from mimir import Mimir
m = Mimir()
hw_eox_bulletin_replacement_pids = m.np.hw_eox_bulletin_replacement_pids.get()
GET
/api/mimir/np/hw_eox_bulletin_replacement_pids
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
hwEoxId | integer | false | false | None | 12345 | Hardware EoX ID - Internal hardware end-of-life identifier to allow join with master hw_eox_bulletins API. |
bulletinProductId | string | false | false | None | bulletinProductId | Bulletin Product ID (PID) - The Cisco Product ID (PID) reported on an EOL bulletin. This may not be the same as the productId reported in the customer’s inventory. |
bulletinNumber | string | false | false | None | EOL9958 | Bulletin Number - The Cisco.com bulletin number for an End-of-Life bulletin or Field Notice. |
Response
Name | Type | Example | Definition |
---|---|---|---|
hwEoxId | integer | Internal hardware end-of-life identifier to allow join with master hw_eox_bulletins API. | |
bulletinProductId | string | The Cisco Product ID (PID) reported on an EOL bulletin. This may not be the same as the productId reported in the customer’s inventory. | |
bulletinNumber | string | EOL9958 | The Cisco.com bulletin number for an End-of-Life bulletin or Field Notice. |
replacementProductId | string | The replacement Cisco Product ID (PID) reported on an EOL bulletin at the time the bulletin was published. Note: This replacement PID may not be orderable any longer. |
NP Hw Eox Bulletins
Hardware EoX Bulletin details.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/hw_eox_bulletins"
from mimir import Mimir
m = Mimir()
hw_eox_bulletins = m.np.hw_eox_bulletins.get()
GET
/api/mimir/np/hw_eox_bulletins
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
hwEoxId | integer | false | false | None | 12345 | Hardware EoX ID - Internal hardware end-of-life identifier to allow join with master hw_eox_bulletins API. |
productId | string | false | false | None | productId | Product ID (PID) - The Cisco Product ID (PID) of the hardware as contained in Product IC. |
bulletinNumber | string | false | false | None | EOL9958 | Bulletin Number - The Cisco.com bulletin number for an End-of-Life bulletin or Field Notice. |
bulletinTitle | string | false | false | None | Cisco IOS XR Software Release 4.0 | Bulletin Title - The Cisco.com Title/Headline for the bulletin. |
eoLifeAnnouncementDate | datetime | false | false | None | 2016-12-02T20:10:32Z | End-of-Life Announcement Date - The End-of-Life Announcement (Announced) Date. |
eoSaleDate | datetime | false | false | None | 2016-12-02T20:10:32Z | End-of-Sale Date - The End-of-Sale (EoSale) Date. |
lastShipDate | datetime | false | false | None | 2016-12-02T20:10:32Z | Last Ship Date - The Last Ship Date. |
eoSwMaintenanceReleasesDate | datetime | false | false | None | 2016-12-02T20:10:32Z | End of SW Maintenance Releases Date - The End of SW Maintenance Releases (EoSWM) Date. |
eoRoutineFailureAnalysisDate | datetime | false | false | None | 2016-12-02T20:10:32Z | End of Routine Failure Analysis Date - The End of Routine Failure Analysis Date (EoRFA) Date. |
eoNewServiceAttachDate | datetime | false | false | None | 2016-12-02T20:10:32Z | End of New Service Attachment Date - The End of New Service Attachment Date. |
eoSoftwareContractRenewalDate | datetime | false | false | None | 2016-12-02T20:10:32Z | End of Service Contract Renewal Date - The End of Service Contract Renewal (EoSCR) Date. |
lastDateOfSupport | datetime | false | false | None | 2016-12-02T20:10:32Z | Last Date of Support - The Last Date of Support (LDoS). |
startCreateDate | date | false | false | None | 2016-12-02 | Start Create Date - The starting date for a range search in a createDate field. |
endCreateDate | date | false | false | None | 2016-12-02 | End Create Date - The ending date for a range search in a createDate field. |
Response
Name | Type | Example | Definition |
---|---|---|---|
hwEoxId | integer | Internal hardware end-of-life identifier to allow join with master hw_eox_bulletins API. | |
productId | string | The Cisco Product ID (PID) of the hardware as contained in Product IC. | |
bulletinNumber | string | EOL9958 | The Cisco.com bulletin number for an End-of-Life bulletin or Field Notice. |
bulletinTitle | string | Cisco IOS XR Software Release 4.0 | The Cisco.com Title/Headline for the bulletin. |
bulletinUrl | string | The Cisco.com URL for the bulletin. | |
eoLifeAnnouncementDate | datetime | The End-of-Life Announcement (Announced) Date. | |
eoSaleDate | datetime | The End-of-Sale (EoSale) Date. | |
lastShipDate | datetime | The Last Ship Date. | |
eoSwMaintenanceReleasesDate | datetime | The End of SW Maintenance Releases (EoSWM) Date. | |
eoSecurityVulSupportDate | datetime | The End of Vulnerability/Security Support (EoVSS) Date. | |
eoRoutineFailureAnalysisDate | datetime | The End of Routine Failure Analysis Date (EoRFA) Date. | |
eoNewServiceAttachDate | datetime | The End of New Service Attachment Date. | |
eoSoftwareContractRenewalDate | datetime | The End of Service Contract Renewal (EoSCR) Date. | |
lastDateOfSupport | datetime | The Last Date of Support (LDoS). |
NP Idp History
History of uploads processed by IDP for a collector.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/idp_history?collector=collector"
from mimir import Mimir
m = Mimir()
idp_history = m.np.idp_history.get(collector='collector')
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
collector | string | true | true | None | collector | Collector - The collector identifier, which can be either a 4 character collectorid or the applianceid. |
Response
Name | Type | Example | Definition |
---|---|---|---|
collector | string | The collector identifier, which can be either a 4 character collectorid or the applianceid. | |
createDate | datetime | The date the record or rule was created in NP database. For devices, a new record is created whenever a unique name+sysobjectid combination is seen in the collector. | |
uploadDate | datetime | The timestamp of the upload. | |
idpNotes | string | The archive_location value from IDP History table.. | |
partial | boolean | Was the upload a partial upload? |
NP Interfaces
All device interfaces and associated IP Address information as reported in SNMP. If you want to return only interfaces with an IP Address then call the API with a wildcard as input for ipAddress. This API can return a very large number of records, so use with caution and use input filters, where appropriate.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/interfaces?cpyKey=81714"
from mimir import Mimir
m = Mimir()
interfaces = m.np.interfaces.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
interfaceName | string | false | false | None | Se3/2 | Interface Name - The short interface name. Same as SNMP IF-MIB ifName. |
interfaceDescription | string | false | false | None | Serial3/2 | Interface Description - The interface description. Same as SNMP IF-MIB ifDescr. This is not to be confused with the user description entered in the configs. That is ifAlias. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
ipAddress | string | false | false | None | 172.16.1.1 | IP Address - An IPv4 Address. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
interfaceName | string | Se3/2 | The short interface name. Same as SNMP IF-MIB ifName. |
interfaceDescription | string | Serial3/2 | The interface description. Same as SNMP IF-MIB ifDescr. This is not to be confused with the user description entered in the configs. That is ifAlias. |
interfaceAlias | string | Serial Link from RTP to SJC | The user-defined interface description. Same as SNMP IF-MIB ifAlias. |
interfaceSpeed | integer | 10000000 | The speed of the interface in bps. If it is high-speed interface, the value comes from ifHighSpeed else it comes from ifSpeed. |
interfaceMtu | integer | 1514 | The Maximum Transmission Unit (MTU) size for the interface. Same as SNMP IF-MIB ifMtu. |
macAddress | string | 001c0e9ca43f | The Media Access Control (MAC) Address in hex. |
ipAddress | string | 172.16.1.1 | An IPv4 Address. |
adminStatus | string | up | The administrative status of an interface. Valid values include up, down, testing. |
operStatus | string | down | The operational status of an interface. Valid values include up, down, testing, unknown, dormant, notPresent, lowerLayerDown. |
interfaceCategory | string | LAN | The Type of interface as categorized by Network Profile. |
interfaceType | string | ethernetCsmacd | The type of interface as defined in IF-MIB ifType. |
NP Ipaddresses
All IPv4 Addresses and Subnet masks in the network.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/ipaddresses?cpyKey=81714"
from mimir import Mimir
m = Mimir()
ipaddresses = m.np.ipaddresses.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
ipAddress | string | false | false | None | 172.16.1.1 | IP Address - An IPv4 Address. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
Response
Name | Type | Example | Definition |
---|---|---|---|
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
ipAddress | string | 172.16.1.1 | An IPv4 Address. |
subnetMask | string | 255.255.255.0 | The subnet mask associated with an IPv4 address in the network. |
NP Kpi Bp
NP Config Best Practice KPIs.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/kpi_bp?cpyKey=81714"
from mimir import Mimir
m = Mimir()
kpi_bp = m.np.kpi_bp.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
devicesAnalyzed | integer | The number of devices analyzed. This is usually used in the denominator of KPI calculations. | |
bpTotalExceptions | integer | The total number of BP exceptions for all devices analyzed and all rules applied. | |
bpExceptionsPerDevice | number | The average number of BP exceptions per device in the network. | |
bpRulesWithExceptions | integer | The unique BP rules that have at least one device violating the rule. | |
bpUniqueDevicesLow | integer | The number of devices with at least one Low Risk BP exception. | |
bpUniqueDevicesMed | integer | The number of devices with at least one Medium Risk BP exception. | |
bpUniqueDevicesHigh | integer | The number of devices with at least one High Risk BP exception. |
NP Kpi Hw Eox
NP Hardware EoX KPIs.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/kpi_hw_eox?cpyKey=81714"
from mimir import Mimir
m = Mimir()
kpi_hw_eox = m.np.kpi_hw_eox.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
physicalType | string | false | false | None | Chassis | Physical Type - The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
physicalType | string | Chassis | The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
ldos | integer | Count that is currently LDoS. | |
ldosIn3Months | integer | Count that is going LDoS within next 3 months. | |
ldosIn6Months | integer | Count that is going LDoS within next 6 months. | |
ldosIn12Months | integer | Count that is going LDoS within next 12 months. |
NP Kpi Inventory
NP Inventory KPIs.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/kpi_inventory?cpyKey=81714"
from mimir import Mimir
m = Mimir()
kpi_inventory = m.np.kpi_inventory.get(cpyKey=81714)
GET
/api/mimir/np/kpi_inventory
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
totalDevices | integer | The number of unique matching devices in summary APIs. For Custom Config and BP, this is the number of devices with exceptions. For Feature, this is the number of devices with the feature match. For tracks, this is the total number of devices in the track. | |
devicesReachable | integer | The total number of reachable devices for a company. | |
devicesReachablePercent | number | The percentage of reachable devices for a company. | |
inventoryCollected | integer | The total number of devices with some inventory for a company. | |
inventoryCollectedPercent | number | The percentage of devices with some inventory for a company. | |
configCollected | integer | The total number of devices with a running config for a company. | |
configCollectedPercent | number | The percentage of devices with a running config for a company. The denominator will not count devices not capable of producing an ascii running config. |
NP Kpi Psirt
NP PSIRT KPIs.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/kpi_psirt?cpyKey=81714"
from mimir import Mimir
m = Mimir()
kpi_psirt = m.np.kpi_psirt.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
vulnerablePsirts | integer | The total number of PSIRTs with at least one vulnerable device. | |
potVulnerablePsirts | integer | The total number of PSIRTs with at least one potentially vulnerable device. | |
devicesVulnerable | integer | The total number of devices vulnerable to at least one PSIRT. | |
devicesVulnerablePercent | number | The percentage of devices vulnerable to at least one PSIRT. | |
devicesPotVulnerable | integer | The total number of devices potentially vulnerable to at least one PSIRT. | |
devicesPotVulnerablePercent | number | The percentage of devices potentially vulnerable to at least one PSIRT. |
NP Kpi Software
NP Software KPIs.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/kpi_software?cpyKey=81714"
from mimir import Mimir
m = Mimir()
kpi_software = m.np.kpi_software.get(cpyKey=81714)
GET
/api/mimir/np/kpi_software
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
swDevicesAnalyzed | integer | The total number of devices in one or more software tracks defined in Network Profile. | |
swCompliantDevices | integer | The total number of devices compliant to the standard recommended version in a software track defined in Network Profile. | |
swCompliancePercent | number | The percentage of devices compliant to the standard recommended version in a software track defined in Network Profile. Formula: swCompliantDevices/swDevicesAnalyzed | |
swFlexibleCompliantDevices | integer | The total number of devices compliant to the standard recommended version or one of the previous two versions in a software track defined in Network Profile. | |
swFlexibleCompliancePercent | number | The percentage of devices compliant to the standard recommended version or one of the previous two versions in a software track defined in Network Profile. Formula: swFlexibleCompliantDevices/swDevicesAnalyzed | |
swUniqueVersions | integer | The number of unique software versions running on devices that are in one of more software tracks defined in Network Profile. |
NP Kpi Sw Eox
NP Software EoX KPIs.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/kpi_sw_eox?cpyKey=81714"
from mimir import Mimir
m = Mimir()
kpi_sw_eox = m.np.kpi_sw_eox.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
ldos | integer | Count that is currently LDoS. | |
ldosIn3Months | integer | Count that is going LDoS within next 3 months. | |
ldosIn6Months | integer | Count that is going LDoS within next 6 months. | |
ldosIn12Months | integer | Count that is going LDoS within next 12 months. |
NP Last Profile Details
Details of key profile completion times per company. This is used for smart polling of NP (i.e. poll and record the timestamp. Next time, if the timestamp has not changed, you don’t need to re-pull NP data again).
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/last_profile_details?cpyKey=81714"
from mimir import Mimir
m = Mimir()
last_profile_details = m.np.last_profile_details.get(cpyKey=81714)
GET
/api/mimir/np/last_profile_details
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
profileName | string | Software Strategy | The name of an NP profile process. |
lastProfileComplete | datetime | The timestamp when the last successful profile completed. |
NP Last Profile Details By Collector
Time when all NP profiling last completed after a collector upload.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/last_profile_details_by_collector?cpyKey=81714"
from mimir import Mimir
m = Mimir()
last_profile_details_by_collector = m.np.last_profile_details_by_collector.get(cpyKey=81714)
GET
/api/mimir/np/last_profile_details_by_collector
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
collector | string | no16 | The unique 4 character id for a Cisco collector. |
lastProfileComplete | datetime | The timestamp when the last successful profile completed. |
NP Last Profile Time
Timestamp for most recently completed profile for a company. This is useful for smart polling of NP (i.e. poll and record the timestamp. Next time, if the timestamp has not changed, you don’t need to re-pull NP data again).
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/last_profile_time?cpyKey=81714"
from mimir import Mimir
m = Mimir()
last_profile_time = m.np.last_profile_time.get(cpyKey=81714)
GET
/api/mimir/np/last_profile_time
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
lastProfileComplete | datetime | The timestamp when the last successful profile completed. |
NP Netapp Nodes
NetApp Node details from NETAPP-MIB.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/netapp_nodes?cpyKey=81714"
from mimir import Mimir
m = Mimir()
netapp_nodes = m.np.netapp_nodes.get(cpyKey=81714)
GET
/api/mimir/np/netapp_nodes
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
netappNodeName | string | Name of the NetApp Node as reported in NETAPP-MIB. | |
netappNodeLocation | string | nodelocation field from NETAPP-MIB. | |
netappNodeModel | string | nodemodel field from NETAPP-MIB. | |
netappNodeSerialNumber | string | nodeserialnumber field from NETAPP-MIB. | |
netappNodeFirmwareVersion | string | nodefirmwareversion field from NETAPP-MIB. |
NP Np Access Requests
Status of requests for access to NP by NonAS members or access to Highly Restricted Accounts.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/np_access_requests"
from mimir import Mimir
m = Mimir()
np_access_requests = m.np.np_access_requests.get()
GET
/api/mimir/np/np_access_requests
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
userId | string | false | false | None | mycecid | User ID - A Cisco userid. |
managerUserId | string | false | false | None | managerUserId | Manager UserID - The userID of the HR manager or Delivery Manager. |
cpyName | string | false | false | None | cpyName | Company Name - The company name as defined in CSTG Support Central for display in AS Tools. |
approvalStatus | string | false | false | None | APPROVED | Approval Status - The status of NP access request approval. Valid values include: APPROVED, PENDING, REJECTED. |
Response
Name | Type | Example | Definition |
---|---|---|---|
accessRequestType | string | Highly Restricted Account Access Request | The type of access request made to NP. |
userId | string | mycecid | A Cisco userid. |
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
cpyName | string | The company name as defined in CSTG Support Central for display in AS Tools. | |
accountType | string | Highly Restricted Account | The type of restriction of the account. Valid values are Restricted Account, Highly Restricted Account. |
dateRequested | datetime | The date an access request was made. | |
managerUserId | string | The userID of the HR manager or Delivery Manager. | |
managerApprovalStatus | string | APPROVED | The status of NP access request approval by the Manager (HR or DM). Valid values include: APPROVED, PENDING, REJECTED. |
managerLastActionDate | datetime | The date of last action taken by the Manager. | |
managerComments | string | The access request comments entered in NP by the manager. | |
pmUserId | string | The userID of the NP Product Manager. | |
pmApprovalStatus | string | APPROVED | The status of NP access request approval by the NP Product Manager. Valid values include: APPROVED, PENDING, REJECTED. |
pmLastActionDate | datetime | The date of last action taken by the NP Product Manager. | |
pmComments | string | The access request comments entered in NP by the NP Product Manager. |
NP Np Access Revoked
Users that have had access to specific companies or all of NP revoked.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/np_access_revoked"
from mimir import Mimir
m = Mimir()
np_access_revoked = m.np.np_access_revoked.get()
GET
/api/mimir/np/np_access_revoked
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyName | string | false | false | None | cpyName | Company Name - The company name as defined in CSTG Support Central for display in AS Tools. |
userId | string | false | false | None | mycecid | User ID - A Cisco userid. |
dateAccessRevoked | string | false | false | None | dateAccessRevoked | Date Access Revoked - The date a user’s access was revoked to an NP Company or to all of NP (cpyKey=-1). Regex may be allowed in some APIs when field used as input. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
cpyName | string | The company name as defined in CSTG Support Central for display in AS Tools. | |
userId | string | mycecid | A Cisco userid. |
dateAccessRevoked | datetime | The date a user’s access was revoked to an NP Company or to all of NP (cpyKey=-1). Regex may be allowed in some APIs when field used as input. |
NP Peer Devices
Peer device details.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/peer_devices?cpyKey=81714"
from mimir import Mimir
m = Mimir()
peer_devices = m.np.peer_devices.get(cpyKey=81714)
GET
/api/mimir/np/peer_devices
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
peerDeviceId | integer | 22345640 | The unique ID of the Nexus VDC peer. |
peerDeviceName | string | The Network Element Name of the Nexus 7K peer device. | |
peerDeviceType | string | Device Type of the peer device | |
physicalElementId | integer | 139163375 | The unique ID in NP for a specific piece of hardware. |
physicalType | string | Chassis | The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
serialNumber | string | The serial number of the hardware. |
NP Profile Details
Time when each NP profiling last completed for each collector.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/profile_details?cpyKey=81714"
from mimir import Mimir
m = Mimir()
profile_details = m.np.profile_details.get(cpyKey=81714)
GET
/api/mimir/np/profile_details
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
profileName | string | false | false | None | Software Strategy | Profile Name - The name of an NP profile process. |
collector | string | false | false | None | no16 | Collector - The unique 4 character id for a Cisco collector. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
profileName | string | Software Strategy | The name of an NP profile process. |
collector | string | no16 | The unique 4 character id for a Cisco collector. |
lastProfileComplete | datetime | The timestamp when the last successful profile completed. |
NP Profiles Completed Since
Profiles that have been completed since a given timestamp
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/profiles_completed_since?clusterId=1×tamp=2022-01-15-18:56:42"
from mimir import Mimir
m = Mimir()
profiles_completed_since = m.np.profiles_completed_since.get(clusterId=1, timestamp='2022-01-15-18:56:42')
GET
/api/mimir/np/profiles_completed_since
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
clusterId | integer | true | false | None | 1 | Cluster ID - NP DB cluster identifier. 1=US1, 2=EMEA, 3=US2, 4=US3, 5=US4 |
timestamp | string | true | false | None | 2022-01-15-18:56:42 | Timestamp - Timestamp in YYYY-MM-DD-HH24:MI:SS format |
profileTypeId | string | false | false | None | profileTypeId | profileTypeId - Unique ID referring to the type of the profile |
Response
Name | Type | Example | Definition |
---|---|---|---|
collector | string | no16 | The unique 4 character id for a Cisco collector. |
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
profileTaskId | integer | The Profile Task ID. | |
profileTypeId | string | Unique ID referring to the type of the profile | |
profileName | string | Software Strategy | The name of an NP profile process. |
profileRequestTime | datetime | Profile Request Time. | |
profileStartTime | datetime | Profile Start Time. | |
profileEndTime | datetime | Profile End Time. | |
requestor | string | Requestor of the Profile |
NP Psirt Bulletins
Software Security Alert (PSIRT) bulletins from PAS/COLD.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/psirt_bulletins"
from mimir import Mimir
m = Mimir()
psirt_bulletins = m.np.psirt_bulletins.get()
GET
/api/mimir/np/psirt_bulletins
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
psirtColdId | integer | false | false | None | 12345 | PSIRT COLD ID - The internal COLD ID for a PSIRT. This is useful for joining multiple data sources. |
bulletinFirstPublished | string | false | false | None | bulletinFirstPublished | Bulletin First Published - The date when the bulletin was first published to Cisco.com. Most API calls will allow Regex input for this field. |
sir | string | false | false | None | Critical | SIR - The Security Impact Rating (SIR) for Cisco PSIRTs. |
cveId | string | false | false | None | CVE-2016-6355 | CVE-ID - Common Vulnerabilities and Exposures (CVE) Identifier |
psirtAdvisoryId | string | false | false | None | cisco-sa-20150325-mdns | PSIRT Advisory ID - The Advisory ID of a PSIRT as seen on Cisco.com. |
bulletinTitle | string | false | false | None | Cisco IOS XR Software Release 4.0 | Bulletin Title - The Cisco.com Title/Headline for the bulletin. |
Response
Name | Type | Example | Definition |
---|---|---|---|
psirtColdId | integer | The internal COLD ID for a PSIRT. This is useful for joining multiple data sources. | |
psirtAdvisoryId | string | cisco-sa-20150325-mdns | The Advisory ID of a PSIRT as seen on Cisco.com. |
bulletinTitle | string | Cisco IOS XR Software Release 4.0 | The Cisco.com Title/Headline for the bulletin. |
bulletinFirstPublished | string | The date when the bulletin was first published to Cisco.com. Most API calls will allow Regex input for this field. | |
bulletinLastUpdated | datetime | The date when the bulletin was last updated on Cisco.com. | |
bulletinVersion | string | 1.1 | The version # of the Cisco.com bulletin. |
sir | string | Critical | The Security Impact Rating (SIR) for Cisco PSIRTs. |
cveId | string | CVE-2016-6355 | Common Vulnerabilities and Exposures (CVE) Identifier |
cvssBase | string | 7.8 | Common Vulnerability Scoring System (CVSS) Base Score |
cvssTemporal | string | 5.0 | Common Vulnerability Scoring System (CVSS) Temporal Score |
bulletinSummary | string | The Summary of a Cisco.com bulletin. | |
bulletinMappingCaveat | string | The Bulletin Mapping Caveat gives any explanations why the automation may need additional review by the customer. | |
bulletinUrl | string | The Cisco.com URL for the bulletin. | |
ciscoBugIds | string | Comma-separated list of Cisco Bug IDs. |
NP Psirt Comments
PSIRT impact, options/workarounds, action plan, and comments as entered by the NCE in Network Profile.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/psirt_comments?cpyKey=81714"
from mimir import Mimir
m = Mimir()
psirt_comments = m.np.psirt_comments.get(cpyKey=81714)
GET
/api/mimir/np/psirt_comments
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
psirtColdId | integer | false | false | None | 12345 | PSIRT COLD ID - The internal COLD ID for a PSIRT. This is useful for joining multiple data sources. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
psirtColdId | integer | The internal COLD ID for a PSIRT. This is useful for joining multiple data sources. | |
nceComments | string | Any comments entered by the NCE for the particular data type. | |
userId | string | mycecid | A Cisco userid. |
updateDate | datetime | The timestamp when the data or rule was last updated. | |
applicableGroupIds | string | Groups applicable to the PSIRT NCE comments as selected by NCEs in the NP Portal while entering the NCE comments | |
groupName | string | Groups Name applicable to the PSIRT NCE comments as selected by NCEs in the NP Portal while entering the NCE comments |
NP Psirt Details
Software Security Alert (PSIRT) result details. Join with psirt_bulletins API for bulletin data and devices or device_details API for devices data.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/psirt_details?cpyKey=81714"
from mimir import Mimir
m = Mimir()
psirt_details = m.np.psirt_details.get(cpyKey=81714)
GET
/api/mimir/np/psirt_details
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
psirtColdId | integer | false | true | None | 12345 | PSIRT COLD ID - The internal COLD ID for a PSIRT. This is useful for joining multiple data sources. |
matchConfidence | string | false | true | None | matchConfidence | Match Confidence - The match confidence result from PAS. Valid values include: Vulnerable, Potentially Vulnerable, Not Vulnerable. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
psirtColdId | integer | The internal COLD ID for a PSIRT. This is useful for joining multiple data sources. | |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
matchConfidence | string | The match confidence result from PAS. Valid values include: Vulnerable, Potentially Vulnerable, Not Vulnerable. | |
matchConfidenceReason | string | The reason behind the match confidence result from PAS. Explains why you are vulnerable or not vulnerable or what data is missing to cause a potentially vulnerable result. PAS value is enhanced in NP for readability. |
NP Psirt Status
PSIRT status, as defined by the NCE in Network Profile.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/psirt_status?cpyKey=81714"
from mimir import Mimir
m = Mimir()
psirt_status = m.np.psirt_status.get(cpyKey=81714)
GET
/api/mimir/np/psirt_status
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
psirtColdId | integer | false | false | None | 12345 | PSIRT COLD ID - The internal COLD ID for a PSIRT. This is useful for joining multiple data sources. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
psirtColdId | integer | The internal COLD ID for a PSIRT. This is useful for joining multiple data sources. | |
updateDate | datetime | The timestamp when the data or rule was last updated. |
NP Psirt Summary
Software Security Alert (PSIRT) Summary by COLD PSIRT ID.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/psirt_summary?cpyKey=81714"
from mimir import Mimir
m = Mimir()
psirt_summary = m.np.psirt_summary.get(cpyKey=81714)
GET
/api/mimir/np/psirt_summary
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
psirtColdId | integer | false | false | None | 12345 | PSIRT COLD ID - The internal COLD ID for a PSIRT. This is useful for joining multiple data sources. |
bulletinFirstPublished | string | false | false | None | bulletinFirstPublished | Bulletin First Published - The date when the bulletin was first published to Cisco.com. Most API calls will allow Regex input for this field. |
sir | string | false | false | None | Critical | SIR - The Security Impact Rating (SIR) for Cisco PSIRTs. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
psirtColdId | integer | The internal COLD ID for a PSIRT. This is useful for joining multiple data sources. | |
bulletinTitle | string | Cisco IOS XR Software Release 4.0 | The Cisco.com Title/Headline for the bulletin. |
bulletinFirstPublished | string | The date when the bulletin was first published to Cisco.com. Most API calls will allow Regex input for this field. | |
bulletinLastUpdated | datetime | The date when the bulletin was last updated on Cisco.com. | |
sir | string | Critical | The Security Impact Rating (SIR) for Cisco PSIRTs. |
totalVulnerable | integer | The total number of devices vulnerable to a PSIRT or Field Notice. | |
totalPotentiallyVulnerable | integer | The total number of devices potentially vulnerable to a PSIRT or Field Notice. | |
totalNotVulnerable | integer | The total number of devices not vulnerable to a PSIRT or Field Notice. |
NP Reports
Report generation history for a customer.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/reports?cpyKey=81714"
from mimir import Mimir
m = Mimir()
reports = m.np.reports.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
reportName | string | The type of report that was generated. | |
userId | string | mycecid | A Cisco userid. |
reportDate | datetime | The date the report was requested. | |
customerDelivered | boolean | Was the report marked by the requestor as intended for customer delivery? |
NP Secureboot
Devices matching Hardware criteria for secureboot PSIRT (cisco-sa-20190513-secureboot)
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/secureboot?cpyKey=81714"
from mimir import Mimir
m = Mimir()
secureboot = m.np.secureboot.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swVersion | string | 15.1(4)M4 | The Software Version of the device. |
NP Sntc Extra Collectors
Data for collectors that are in IBES but not active in NP.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/sntc_extra_collectors"
from mimir import Mimir
m = Mimir()
sntc_extra_collectors = m.np.sntc_extra_collectors.get()
GET
/api/mimir/np/sntc_extra_collectors
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
applianceId | string | false | false | None | up | Appliance ID - The unique appliance ID for a CSPC Collector. |
Response
Name | Type | Example | Definition |
---|---|---|---|
applianceId | string | up | The unique appliance ID for a CSPC Collector. |
createDate | datetime | A create date with time. | |
collectionDate | datetime | Timestamp when upload last received in IBES. | |
collector | string | no16 | The unique 4 character id for a Cisco collector. |
collectorStatus | string | Active | The status of the collector as specified in CSTG Support Central. Valid values: Active, Cisco Testing |
NP Software
Software inventory details include System software and IOS XR PIEs and SMUs.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/software?cpyKey=81714"
from mimir import Mimir
m = Mimir()
software = m.np.software.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
swRole | string | false | false | None | SMU | Software Role - The Role of the Software running on the NP Network Element. Values include SYSTEM, PKG, SMU |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swVersion | string | false | false | None | 15.1(4)M4 | Software Version - The Software Version of the device. |
swMajorVersion | string | false | false | None | 15.2 | Software Major Version - The major version portion of the software version. |
swStatus | string | false | false | None | ACTIVE | Software Status - The Status of the Software running on the NP Network Element. Default value is ACTIVE. For PIE and SMU it can also be COMMITTED. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swVersion | string | 15.1(4)M4 | The Software Version of the device. |
swMajorVersion | string | 15.2 | The major version portion of the software version. |
swRole | string | SMU | The Role of the Software running on the NP Network Element. Values include SYSTEM, PKG, SMU |
swStatus | string | ACTIVE | The Status of the Software running on the NP Network Element. Default value is ACTIVE. For PIE and SMU it can also be COMMITTED. |
swName | string | asr9k-p-4.2.3.CSCtz41749-1.0.0 | The Name of the Software running on the NP Network Element. For System SW, the value is the Image Name. For PIE it is the package name and for SMU the SMU name. |
NP Sw Alerts
Software Deferral and Advisory details.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/sw_alerts?cpyKey=81714"
from mimir import Mimir
m = Mimir()
sw_alerts = m.np.sw_alerts.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
swAlertType | string | false | false | None | DF | Software Alert Type - The type of Software Alert on the device. Valid values include SA for Software Advisory and DF for Deferral. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
Response
Name | Type | Example | Definition |
---|---|---|---|
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
swAlertType | string | DF | The type of Software Alert on the device. Valid values include SA for Software Advisory and DF for Deferral. |
swAlertUrl | string | http://www.cisco.com/web/software/DefTracker/280805679/DT/ac102516.html | The Cisco.com URL with details for a specific software advisory or deferral. |
swVersion | string | 15.1(4)M4 | The Software Version of the device. |
imageName | string | The Image Name of the software on the Network Element. |
NP Sw Eox
Software EoX details.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/sw_eox?cpyKey=81714"
from mimir import Mimir
m = Mimir()
sw_eox = m.np.sw_eox.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
currentEoxMilestone | string | false | false | None | EoSale | Current EoX Milestone - The current end-of-life milestone as calculated during last NP profile. If more than one milestone falls on the same date, the returned value will be a comma-separated list. |
nextEoxMilestone | string | false | false | None | LDoS | Next EoX Milestone - The next end-of-life milestone that is coming up as calculated during last NP profile. If more than one milestone falls on the same date, the returned value will be a comma-separated list. If the device is already LDoS it will not have an next milestone. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swVersion | string | 15.1(4)M4 | The Software Version of the device. |
currentEoxMilestone | string | EoSale | The current end-of-life milestone as calculated during last NP profile. If more than one milestone falls on the same date, the returned value will be a comma-separated list. |
currentEoxMilestoneDate | datetime | The date associated with the current end-of-life milestone. | |
nextEoxMilestone | string | LDoS | The next end-of-life milestone that is coming up as calculated during last NP profile. If more than one milestone falls on the same date, the returned value will be a comma-separated list. If the device is already LDoS it will not have an next milestone. |
nextEoxMilestoneDate | datetime | The date associated with the next end-of-life milestone. | |
swEoxId | integer | Internal software end-of-life identifier to allow join with master sw_eox_bulletins API. |
NP Sw Eox Bulletins
Software EoX Bulletin details.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/sw_eox_bulletins"
from mimir import Mimir
m = Mimir()
sw_eox_bulletins = m.np.sw_eox_bulletins.get()
GET
/api/mimir/np/sw_eox_bulletins
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
swEoxId | integer | false | false | None | 12345 | Software EoX ID - Internal software end-of-life identifier to allow join with master sw_eox_bulletins API. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swMajorVersion | string | false | false | None | 15.2 | Software Major Version - The major version portion of the software version. |
swTrain | string | false | false | None | SXF | Software Train - The Software Train, typically only applies to IOS. |
bulletinNumber | string | false | false | None | EOL9958 | Bulletin Number - The Cisco.com bulletin number for an End-of-Life bulletin or Field Notice. |
bulletinTitle | string | false | false | None | Cisco IOS XR Software Release 4.0 | Bulletin Title - The Cisco.com Title/Headline for the bulletin. |
eoLifeAnnouncementDate | datetime | false | false | None | 2016-12-02T20:10:32Z | End-of-Life Announcement Date - The End-of-Life Announcement (Announced) Date. |
eoSaleDate | datetime | false | false | None | 2016-12-02T20:10:32Z | End-of-Sale Date - The End-of-Sale (EoSale) Date. |
eoSwMaintenanceReleasesDate | datetime | false | false | None | 2016-12-02T20:10:32Z | End of SW Maintenance Releases Date - The End of SW Maintenance Releases (EoSWM) Date. |
eoSecurityVulSupportDate | datetime | false | false | None | 2016-12-02T20:10:32Z | End of Vulnerability/Security Support Date - The End of Vulnerability/Security Support (EoVSS) Date. |
lastDateOfSupport | datetime | false | false | None | 2016-12-02T20:10:32Z | Last Date of Support - The Last Date of Support (LDoS). |
startCreateDate | date | false | false | None | 2016-12-02 | Start Create Date - The starting date for a range search in a createDate field. |
endCreateDate | date | false | false | None | 2016-12-02 | End Create Date - The ending date for a range search in a createDate field. |
Response
Name | Type | Example | Definition |
---|---|---|---|
swEoxId | integer | Internal software end-of-life identifier to allow join with master sw_eox_bulletins API. | |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swMajorVersion | string | 15.2 | The major version portion of the software version. |
swMaintenanceVersion | string | 21 | The maintenance version portion of the software version. For example, in 12.4(21), it is “21” |
swTrain | string | SXF | The Software Train, typically only applies to IOS. |
bulletinNumber | string | EOL9958 | The Cisco.com bulletin number for an End-of-Life bulletin or Field Notice. |
bulletinTitle | string | Cisco IOS XR Software Release 4.0 | The Cisco.com Title/Headline for the bulletin. |
bulletinUrl | string | The Cisco.com URL for the bulletin. | |
eoLifeAnnouncementDate | datetime | The End-of-Life Announcement (Announced) Date. | |
eoSaleDate | datetime | The End-of-Sale (EoSale) Date. | |
eoSwMaintenanceReleasesDate | datetime | The End of SW Maintenance Releases (EoSWM) Date. | |
eoSecurityVulSupportDate | datetime | The End of Vulnerability/Security Support (EoVSS) Date. | |
lastDateOfSupport | datetime | The Last Date of Support (LDoS). |
NP Track Members
Software Track (SIAR) Members and their Conformance result.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/track_members?cpyKey=81714"
from mimir import Mimir
m = Mimir()
track_members = m.np.track_members.get(cpyKey=81714)
GET
/api/mimir/np/track_members
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
trackId | integer | false | false | None | 12345 | Track ID - Internal NP Software Track identifier. This is needed to join between various track API results. |
trackName | string | false | false | None | trackName | Track Name - NP Software Track Name. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
trackId | integer | Internal NP Software Track identifier. This is needed to join between various track API results. | |
trackName | string | NP Software Track Name. | |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
trackCompliant | boolean | true | Returns whether the device is compliant to the track standard recommended version. |
trackPreviousCompliant | boolean | false | Returns whether the device is compliant to one of the track’s previous two recommended versions. |
trackFlexibleCompliant | boolean | false | Returns whether the device is compliant to the standard version or one of the track’s previous two recommended versions. |
trackPieCompliance | string | Conforming | The status of PIE conformance for the device. Valid values include: Conforming, Conforming With Extras, Non Conforming, Ignored for Conformance, N/A - OS Version Non Conforming |
trackSmuCompliance | string | Conforming | The status of SMU conformance for the device. Valid values include: Conforming, Conforming With Extras, Non Conforming, Ignored for Conformance, N/A - OS Version Non Conforming |
trackStandardSmuCount | integer | The number of SMUs in the Standard Recommendation for the track. | |
trackSmuCompliant | integer | The number of SMUs on the device that are compliant to the standard recommended SMU list in the track. | |
trackSmuMissing | integer | The number of SMUs on the device that are missing and need to be added to match the standard recommended SMU list in the track. | |
trackSmuExtra | integer | The number of SMUs on the device that are extra. i.e. these SMUs are in addition to the standard recommended SMU list in the track. |
NP Track Smupie Compliance
Software Track (SIAR) SMU and PIE Compliance per device.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/track_smupie_compliance?cpyKey=81714"
from mimir import Mimir
m = Mimir()
track_smupie_compliance = m.np.track_smupie_compliance.get(cpyKey=81714)
GET
/api/mimir/np/track_smupie_compliance
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
trackId | integer | false | false | None | 12345 | Track ID - Internal NP Software Track identifier. This is needed to join between various track API results. |
trackName | string | false | false | None | trackName | Track Name - NP Software Track Name. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
smuPieType | string | false | false | None | Active | SMU / PIE Type - The status of the SMU or PIE, which is either Active or Committed |
swRole | string | false | false | None | SMU | Software Role - The Role of the Software running on the NP Network Element. Values include SYSTEM, PKG, SMU |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
trackId | integer | Internal NP Software Track identifier. This is needed to join between various track API results. | |
trackName | string | NP Software Track Name. | |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
swRole | string | SMU | The Role of the Software running on the NP Network Element. Values include SYSTEM, PKG, SMU |
swName | string | asr9k-p-4.2.3.CSCtz41749-1.0.0 | The Name of the Software running on the NP Network Element. For System SW, the value is the Image Name. For PIE it is the package name and for SMU the SMU name. |
trackDeviceSmuPieCompliant | string | Compliant | Compliance status for a specific SMU/PIE for a device. “Compliant” means the SMU/PIE matches the recommendation. “Non-Compliant” means the SMU/PIE does not match the recommended list. See the action field for steps to take. “Extra” means the SMU/PIE isn’t part of the recommended list, but that is okay because exact match isn’t being used. |
trackDeviceSmuPieAction | string | Add | Action to take for a specific SMU/PIE for a device. “Add” means the SMU/PIE needs to be installed on the device to make it compliant. “Delete” means the SMU/PIE needs to be removed from the device to make it compliant. “None” means no action needs to be taken. |
smuPieType | string | Active | The status of the SMU or PIE, which is either Active or Committed |
NP Track Smupie Recommendation
Software Track (SIAR) Recommended SMUs and PIEs.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/track_smupie_recommendation?cpyKey=81714"
from mimir import Mimir
m = Mimir()
track_smupie_recommendation = m.np.track_smupie_recommendation.get(cpyKey=81714)
GET
/api/mimir/np/track_smupie_recommendation
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
trackId | integer | false | false | None | 12345 | Track ID - Internal NP Software Track identifier. This is needed to join between various track API results. |
trackName | string | false | false | None | trackName | Track Name - NP Software Track Name. |
trackRecHistory | string | false | false | None | Current | Track Recommendation History - This field indicates recommendation history value of the track SMUs/PIEs. “Current” is for the standard recommendation and should be used in most cases. “Previous1” is for the previous recommendation. “Previous2” is for the 2nd previous recommendation. “Candidate” is for the future candidate recommendation. |
swRole | string | false | false | None | SMU | Software Role - The Role of the Software running on the NP Network Element. Values include SYSTEM, PKG, SMU |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
trackId | integer | Internal NP Software Track identifier. This is needed to join between various track API results. | |
trackName | string | NP Software Track Name. | |
swName | string | asr9k-p-4.2.3.CSCtz41749-1.0.0 | The Name of the Software running on the NP Network Element. For System SW, the value is the Image Name. For PIE it is the package name and for SMU the SMU name. |
swRole | string | SMU | The Role of the Software running on the NP Network Element. Values include SYSTEM, PKG, SMU |
trackRecHistory | string | Current | This field indicates recommendation history value of the track SMUs/PIEs. “Current” is for the standard recommendation and should be used in most cases. “Previous1” is for the previous recommendation. “Previous2” is for the 2nd previous recommendation. “Candidate” is for the future candidate recommendation. |
NP Track Summary
Software Track (SIAR) Summary.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/track_summary?cpyKey=81714"
from mimir import Mimir
m = Mimir()
track_summary = m.np.track_summary.get(cpyKey=81714)
GET
/api/mimir/np/track_summary
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
trackId | integer | Internal NP Software Track identifier. This is needed to join between various track API results. | |
trackName | string | NP Software Track Name. | |
trackDescription | string | NP Software Track Description. | |
trackComments | string | NP Software Track Recommendation and Planning Comments. | |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
trackTotalDevices | integer | Total number of devices in the NP Software Track. | |
trackCompliantDevices | integer | Total number of devices in the NP Software Track that are running the Standard Recommended Version. | |
trackNonCompliantDevices | integer | Total number of devices in the NP Software Track that are not running the Standard Recommended Version. | |
trackPercentCompliant | number | The percent of devices running the standard recommended version. Formula is trackCompliantDevices/trackTotalDevices. | |
trackPrevCompliantDevices | integer | Total number of devices in the NP Software Track that are running one of the two Previous Recommended Versions. | |
trackPercentFlexibleCompliant | number | The percent of devices running the standard recommended version or one of the two previous recommended versions. Formula is (trackCompliantDevices+trackPrevCompliantDevices)/trackTotalDevices. | |
trackRating | string | The AS rating of the track compliance. Results depend on whether account is using Absolute Compliance (default) or Flexible Compliance. For Absolute, %Compliant 90 and above is Good, 60-90 is Fair, and below 60 is Poor. For Flexible, it is the same thresholds, but %FlexibleCompliant is used. | |
trackTotalSwVersions | integer | Total number of unique software versions in the NP Software Track. | |
trackStandardSwVersion | string | The current recommended standard version for the NP Software Track. | |
trackPrevSwVersion1 | string | The previous recommended standard version for the NP Software Track. | |
trackPrevSwVersion2 | string | The 2nd previous recommended standard version for the NP Software Track. | |
trackCandidateSwVersion | string | The candidate/future recommended standard version for the NP Software Track. | |
trackStandardSmuCount | integer | The number of SMUs in the Standard Recommendation for the track. | |
trackStandardSmuCriteria | string | Require Exact Match | The SMU matching criteria for the recommended standard version for the NP Software Track. Valid values include: Require Exact Match, Ignore For Conformance, Match but ignore extras |
trackStandardPieCriteria | string | Require Exact Match | The PIE matching criteria for the recommended standard version for the NP Software Track. Valid values include: Require Exact Match, Ignore For Conformance, Match but ignore extras |
trackPrev1SmuCriteria | string | Require Exact Match | The SMU matching criteria for the previous standard version for the NP Software Track. Valid values include: Require Exact Match, Ignore For Conformance, Match but ignore extras |
trackPrev1PieCriteria | string | Require Exact Match | The PIE matching criteria for the previous standard version for the NP Software Track. Valid values include: Require Exact Match, Ignore For Conformance, Match but ignore extras |
trackPrev2SmuCriteria | string | Require Exact Match | The SMU matching criteria for the 2nd previous standard version for the NP Software Track. Valid values include: Require Exact Match, Ignore For Conformance, Match but ignore extras |
trackPrev2PieCriteria | string | Require Exact Match | The PIE matching criteria for the 2nd previous standard version for the NP Software Track. Valid values include: Require Exact Match, Ignore For Conformance, Match but ignore extras |
trackStatus | string | Fully Deployed | The status of the code deployment, as defined in the NP Software Track. Values include Fully Deployed, In Migration, etc. |
trackUpgradeReason | string | New Software Implementation | The reason for the last change in software recommendation, as defined in the NP Software Track. Values include New Software Implementation, Planned Maintenance, etc. |
trackRecommendationDate | date | The date when the last software recommendation was made. This is manually set by the user in the NP Software Track. This is used to measure the age of the recommendation. | |
trackSmuCompliancePercent | number | The overall compliance percentage of the devices to the recommended SMU list. Extra SMUs are ignored for the calculation. | |
trackLastModifiedDate | date | The date when the software track was last edited or modified in Network Profile. |
NP Uir Details
Unidentified Device Details for a Company.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/uir_details?cpyKey=81714"
from mimir import Mimir
m = Mimir()
uir_details = m.np.uir_details.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
uirMissingDeviceName | string | false | false | None | uirMissingDeviceName | UIR Missing Device Name - The name of the missing device as reported by CDP/Syslog or the IP Address as reported by the Configuration/Syslog. |
uirSource | string | false | false | None | uirSource | UIR Source - The source of the UIR device. Valid values include CDP, Config-Subnet, Config-Protocol, and SYSLOG. If the device is seen by more than one source, the source string will include a comma-separated list. A wildcard can be used to find all occurrences (for exmaple, %CDP% to get all CDP sourced UIR devices). |
uirStatus | string | false | false | None | uirStatus | UIR Status - The status of the UIR device. Valid values include New (seen for first time), Recurring (seen for second or more times), Newly Managed (no longer seen because now in a collector), Deleted (no longer seen). |
uirPlatform | string | false | false | None | uirPlatform | UIR Platform - The hardware platform of a UIR Device as reported by CDP. |
uirFilter | boolean | false | false | None | true | UIR Filter - Whether the UIR device has been filtered by the NCE in NP. |
Response
Name | Type | Example | Definition |
---|---|---|---|
uirMissingDeviceName | string | The name of the missing device as reported by CDP/Syslog or the IP Address as reported by the Configuration/Syslog. | |
uirMissingDeviceIpAddress | string | The IP Address of the missing device as reported by CDP/Configuration. | |
uirSource | string | The source of the UIR device. Valid values include CDP, Config-Subnet, Config-Protocol, and SYSLOG. If the device is seen by more than one source, the source string will include a comma-separated list. A wildcard can be used to find all occurrences (for exmaple, %CDP% to get all CDP sourced UIR devices). | |
uirSeenByDeviceName | string | The managed device names in NP that reported the missing device. Limited to first 4000 characters. | |
collector | string | no16 | The unique 4 character id for a Cisco collector. |
uirStatus | string | The status of the UIR device. Valid values include New (seen for first time), Recurring (seen for second or more times), Newly Managed (no longer seen because now in a collector), Deleted (no longer seen). | |
uirPlatform | string | The hardware platform of a UIR Device as reported by CDP. | |
uirScore | integer | The UIR score calculated by NP. A highly score represents a device seen by more NP managed devices and is more likely to be a critical/core device. Score can be one way to prioritize which UIR devices are most important to get into a collector seedfile. | |
uirFilter | boolean | Whether the UIR device has been filtered by the NCE in NP. | |
uirNceComments | string | Any comments entered in NP for the UIR device. Typically, these are entered when a device is being filtered. | |
updateDate | datetime | The timestamp when the data or rule was last updated. |
NP Uir Summary
Unidentified Device Summary for a Company.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/uir_summary?cpyKey=81714"
from mimir import Mimir
m = Mimir()
uir_summary = m.np.uir_summary.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
uirUnfiltered | integer | The total number of UIR devices that have NOT been filtered by NCE in NP (i.e. these are the current UIR devices) | |
uirFiltered | integer | The total number of UIR devices that have been filtered by NCE in NP for any reason. As a result, they would not be in the current UIR report. | |
uirNew | integer | The total number of UIR devices found for the first time during the last UIR profile. | |
uirRecurring | integer | The total number of UIR devices found in the last UIR profile that were also seen in a previous profile. | |
uirNewlyManaged | integer | The total number of devices that previously were UIR devices but are no longer seen in the latest profile because they are now in one of the collectors. | |
uirDeleted | integer | The total number of devices that previously were UIR devices but are no longer seen in the latest profile and are not in any collectors (i.e. these UIR devices are gone from the customer network). | |
uirSourceCdp | integer | The total number of unfiltered UIR devices that were found from CDP. | |
uirSourceSyslog | integer | The total number of unfiltered UIR devices that were found from Syslog. | |
uirSourceConfigSubnet | integer | The total number of unfiltered UIR devices that were found from looking at configuration subnets. | |
uirSourceConfigProtocol | integer | The total number of unfiltered UIR devices that were found from looking at configuration protocol neighbors. | |
updateDate | datetime | The timestamp when the data or rule was last updated. |
NP Upload Details
Details of the last 5 NP uploads for VSEM2CNC, Inventory, and Syslog.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/upload_details?cpyKey=81714"
from mimir import Mimir
m = Mimir()
upload_details = m.np.upload_details.get(cpyKey=81714)
GET
/api/mimir/np/upload_details
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
collector | string | false | false | None | no16 | Collector - The unique 4 character id for a Cisco collector. |
transactionId | integer | false | false | None | 12345 | Transaction ID - Profile Transaction ID. |
applianceId | string | false | false | None | up | Appliance ID - The unique appliance ID for a CSPC Collector. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
collector | string | no16 | The unique 4 character id for a Cisco collector. |
applianceId | string | up | The unique appliance ID for a CSPC Collector. |
profileName | string | Software Strategy | The name of an NP profile process. |
profileTaskId | integer | The Profile Task ID. | |
profileStatus | string | Complete | The result of a profile process. |
transactionId | integer | Profile Transaction ID. | |
profileRequestTime | datetime | Profile Request Time. | |
profileStartTime | datetime | Profile Start Time. | |
profileEndTime | datetime | Profile End Time. |
NP Vdc Peers
Nexus 7K VDC Peers
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np/vdc_peers?cpyKey=81714"
from mimir import Mimir
m = Mimir()
vdc_peers = m.np.vdc_peers.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
peerDeviceId | integer | 22345640 | The unique ID of the Nexus VDC peer. |
peerDeviceName | string | The Network Element Name of the Nexus 7K peer device. | |
peerType | string | The Nexus 7K peer type in NP. “VDC in CSPC” is when the peer is directly managed in the collector. “NP VDC” is when NP creates a Network Element based on seeing a peer running configuration. |
NP_STAGE
Network Profile (NP) is a tool to provide analytics for key NOS deliverables .
- Version: v1.0.0
- Owner: Ahmed Bahaudeen abahaude@cisco.com
- Contact: abahaude@cisco.com
- Homepage: https://npr-qa-11.cisco.com/netprofile/
NP_STAGE Aaa Party Lookup
AAA Cache check for EF Entitlement for NP7 Migrations.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/aaa_party_lookup"
from mimir import Mimir
m = Mimir()
aaa_party_lookup = m.np_stage.aaa_party_lookup.get()
GET
/api/mimir/np_stage/aaa_party_lookup
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
crPartyId | integer | false | true | None | 12345 | Customer Registry (CR) Party ID - The unique Party ID from Customer Registry that can be used in OnePortal. Will be used by only one NP Company. |
crPartyName | string | false | false | None | crPartyName | Customer Registry (CR) Party Name - The Company Name as defined in Customer Registry associated with the CR Party ID. |
Response
Name | Type | Example | Definition |
---|---|---|---|
crPartyId | integer | The unique Party ID from Customer Registry that can be used in OnePortal. Will be used by only one NP Company. | |
crPartyName | string | The Company Name as defined in Customer Registry associated with the CR Party ID. | |
createDate | datetime | A create date with time. |
NP_STAGE Application Packages
Software application details sourced from SYSAPPL-MIB.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/application_packages?cpyKey=81714"
from mimir import Mimir
m = Mimir()
application_packages = m.np_stage.application_packages.get(cpyKey=81714)
GET
/api/mimir/np_stage/application_packages
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
applicationPkgName | string | false | false | None | Cisco CallManager | Application Package Name - The name of an installed application software package as reported in SYSAPPL-MIB. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
applicationPkgName | string | Cisco CallManager | The name of an installed application software package as reported in SYSAPPL-MIB. |
applicationPkgVersion | string | 9.1.2.15900-7 | The version of an installed application software package as reported in SYSAPPL-MIB. |
applicationPkgManufacturer | string | Cisco Systems, Inc. | The manufacturer of an installed application software package as reported in SYSAPPL-MIB. |
NP_STAGE Auth
Authentication by user and company
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/auth?cpyKey=81714&userId=mycecid"
from mimir import Mimir
m = Mimir()
auth = m.np_stage.auth.get(cpyKey=81714, userId='mycecid')
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
userId | string | true | false | None | mycecid | User ID - A Cisco userid. |
Response
Name | Type | Example | Definition |
---|---|---|---|
requestStatus | string | If the requested userid has permission to access the provided cpyKey, requestStatus will be “Authorized”. Unauthorized userids will cause the API to return a HTTP 401 Unauthorized code. |
NP_STAGE Authv2
Authorization by userid and cpykey.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/authv2?cpyKey=81714&userId=mycecid"
from mimir import Mimir
m = Mimir()
authv2 = m.np_stage.authv2.get(cpyKey=81714, userId='mycecid')
GET
/api/mimir/np_stage/authv2
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
userId | string | true | false | None | mycecid | User ID - A Cisco userid. |
Response
Name | Type | Example | Definition |
---|---|---|---|
requestStatus | string | If the requested userid has permission to access the provided cpyKey, requestStatus will be “Authorized”. |
NP_STAGE Bp Details
Configuration Best Practice Device Level Exceptions. Combine this output with bp_summary.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/bp_details?cpyKey=81714"
from mimir import Mimir
m = Mimir()
bp_details = m.np_stage.bp_details.get(cpyKey=81714)
GET
/api/mimir/np_stage/bp_details
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
bpRuleId | integer | false | false | None | 12345 | BP Rule ID - The internal Config BP Rule ID from the AI-X system. Used to cross-reference with other API results. |
bpRisk | string | false | false | None | bpRisk | BP Risk - The Risk associated with a Config BP Rule. Valid values include: High, Medium, Low. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
bpRuleId | integer | The internal Config BP Rule ID from the AI-X system. Used to cross-reference with other API results. | |
bpNuggetId | integer | The internal Config BP Nugget ID from the AI-X system. Used to cross-reference with other API results. | |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
configSource | string | STANDARD | The source of a Configuration file. The primary source will be “STANDARD”. But in some devices, it might be “CONTEXT” or “ADMIN”. |
NP_STAGE Bp Details Fedex
Configuration Best Practice Device Level Exceptions. Combine this output with bp_summary.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/bp_details_fedex?cpyKey=81714"
from mimir import Mimir
m = Mimir()
bp_details_fedex = m.np_stage.bp_details_fedex.get(cpyKey=81714)
GET
/api/mimir/np_stage/bp_details_fedex
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
bpRuleId | integer | false | false | None | 12345 | BP Rule ID - The internal Config BP Rule ID from the AI-X system. Used to cross-reference with other API results. |
bpRisk | string | false | false | None | bpRisk | BP Risk - The Risk associated with a Config BP Rule. Valid values include: High, Medium, Low. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
bpRuleId | integer | The internal Config BP Rule ID from the AI-X system. Used to cross-reference with other API results. | |
bpNuggetId | integer | The internal Config BP Nugget ID from the AI-X system. Used to cross-reference with other API results. | |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
configSource | string | STANDARD | The source of a Configuration file. The primary source will be “STANDARD”. But in some devices, it might be “CONTEXT” or “ADMIN”. |
NP_STAGE Bp Rule Comments
Internal comments entered per BP rule. These comments are usually entered in NP when rules are disabled.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/bp_rule_comments?cpyKey=81714"
from mimir import Mimir
m = Mimir()
bp_rule_comments = m.np_stage.bp_rule_comments.get(cpyKey=81714)
GET
/api/mimir/np_stage/bp_rule_comments
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
bpRuleId | integer | false | false | None | 12345 | BP Rule ID - The internal Config BP Rule ID from the AI-X system. Used to cross-reference with other API results. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
bpRuleId | integer | The internal Config BP Rule ID from the AI-X system. Used to cross-reference with other API results. | |
nceComments | string | Any comments entered by the NCE for the particular data type. | |
userId | string | mycecid | A Cisco userid. |
updateDate | datetime | The timestamp when the data or rule was last updated. |
NP_STAGE Bp Rule Disabled
Disabled NP BP rules for a cpyKey.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/bp_rule_disabled?cpyKey=81714"
from mimir import Mimir
m = Mimir()
bp_rule_disabled = m.np_stage.bp_rule_disabled.get(cpyKey=81714)
GET
/api/mimir/np_stage/bp_rule_disabled
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
bpRuleId | integer | false | false | None | 12345 | BP Rule ID - The internal Config BP Rule ID from the AI-X system. Used to cross-reference with other API results. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
collector | string | no16 | The unique 4 character id for a Cisco collector. |
bpRuleId | integer | The internal Config BP Rule ID from the AI-X system. Used to cross-reference with other API results. |
NP_STAGE Bp Rules
AS Config Best Practice rule intellectual capital. This IC should not be distributed to customers in bulk since it is a core part of AS Service.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/bp_rules"
from mimir import Mimir
m = Mimir()
bp_rules = m.np_stage.bp_rules.get()
GET
/api/mimir/np_stage/bp_rules
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
bpRuleId | integer | false | false | None | 12345 | BP Rule ID - The internal Config BP Rule ID from the AI-X system. Used to cross-reference with other API results. |
bpNuggetId | integer | false | false | None | 12345 | BP Nugget ID - The internal Config BP Nugget ID from the AI-X system. Used to cross-reference with other API results. |
bpTitle | string | false | false | None | bpTitle | BP Title - The Config BP exception headline / title. |
bpRisk | string | false | false | None | bpRisk | BP Risk - The Risk associated with a Config BP Rule. Valid values include: High, Medium, Low. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
startCreateDate | date | false | false | None | 2016-12-02 | Start Create Date - The starting date for a range search in a createDate field. |
endCreateDate | date | false | false | None | 2016-12-02 | End Create Date - The ending date for a range search in a createDate field. |
startUpdateDate | date | false | false | None | 2016-12-02 | Start Update Date - The starting date for a range search in an updateDate field. |
endUpdateDate | date | false | false | None | 2016-12-02 | End Update Date - The ending date for a range search in an updateDate field. |
clusterId | integer | false | false | None | 1 | Cluster ID - NP DB cluster identifier. 1=US1, 2=EMEA, 3=US2, 4=US3, 5=US4 |
Response
Name | Type | Example | Definition |
---|---|---|---|
bpRuleId | integer | The internal Config BP Rule ID from the AI-X system. Used to cross-reference with other API results. | |
bpNuggetId | integer | The internal Config BP Nugget ID from the AI-X system. Used to cross-reference with other API results. | |
bpTitle | string | The Config BP exception headline / title. | |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
bpRisk | string | The Risk associated with a Config BP Rule. Valid values include: High, Medium, Low. | |
bpPrimaryTechnology | string | *LAN Switching | The Primary Technology associated with a Config BP Rule. |
bpSecondaryTechnology | string | *Security and VPN | The Secondary Technologies associated with a Config BP Rule. Can be multiple values separated with commas. |
bpDescription | string | The Description associated with a Config BP Rule. | |
bpRecommendation | string | The Recommendation associated with a Config BP Rule. | |
bpCorrectiveAction | string | The Corrective Action associated with a Config BP Rule. | |
bpCaveat | string | The Caveat associated with a Config BP Rule. | |
createDate | datetime | The date the record or rule was created in NP database. For devices, a new record is created whenever a unique name+sysobjectid combination is seen in the collector. | |
updateDate | datetime | The timestamp when the data or rule was last updated. |
NP_STAGE Bp Rules References
AS Config Best Practice rule reference URLs.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/bp_rules_references"
from mimir import Mimir
m = Mimir()
bp_rules_references = m.np_stage.bp_rules_references.get()
GET
/api/mimir/np_stage/bp_rules_references
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
bpRuleId | integer | false | false | None | 12345 | BP Rule ID - The internal Config BP Rule ID from the AI-X system. Used to cross-reference with other API results. |
Response
Name | Type | Example | Definition |
---|---|---|---|
bpRuleId | integer | The internal Config BP Rule ID from the AI-X system. Used to cross-reference with other API results. | |
bpUrlTitle | string | The Config BP reference URL Title associated with bpUrl. | |
bpUrl | string | The Config BP reference URL. Any rule can have 1 or more reference URLs. |
NP_STAGE Bp Summary
Configuration Best Practice Summary by Rule.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/bp_summary?cpyKey=81714"
from mimir import Mimir
m = Mimir()
bp_summary = m.np_stage.bp_summary.get(cpyKey=81714)
GET
/api/mimir/np_stage/bp_summary
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
bpRisk | string | false | false | None | bpRisk | BP Risk - The Risk associated with a Config BP Rule. Valid values include: High, Medium, Low. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
bpRuleId | integer | The internal Config BP Rule ID from the AI-X system. Used to cross-reference with other API results. | |
bpNuggetId | integer | The internal Config BP Nugget ID from the AI-X system. Used to cross-reference with other API results. | |
bpTitle | string | The Config BP exception headline / title. | |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
bpRisk | string | The Risk associated with a Config BP Rule. Valid values include: High, Medium, Low. | |
bpPrimaryTechnology | string | *LAN Switching | The Primary Technology associated with a Config BP Rule. |
bpSecondaryTechnology | string | *Security and VPN | The Secondary Technologies associated with a Config BP Rule. Can be multiple values separated with commas. |
totalDevices | integer | The number of unique matching devices in summary APIs. For Custom Config and BP, this is the number of devices with exceptions. For Feature, this is the number of devices with the feature match. For tracks, this is the total number of devices in the track. |
NP_STAGE Cc Groups
NP Custom Configuration Templates and their associated NP Groups
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/cc_groups?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cc_groups = m.np_stage.cc_groups.get(cpyKey=81714)
GET
/api/mimir/np_stage/cc_groups
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
ccTemplateName | string | false | false | None | ccTemplateName | Custom Configuration Template Name - The name of the NP Custom Configuration template. |
Response
Name | Type | Example | Definition |
---|---|---|---|
ccTemplateId | integer | The internal NP identifier for a Custom Configuration template. This is useful when joining together results from multiple APIs. | |
ccTemplateName | string | The name of the NP Custom Configuration template. | |
groupName | string | Name of the NP Group | |
groupId | integer | 321213 | The unique ID of the NP Group |
NP_STAGE Cc Rule Details
NP Custom Configuration Rule Details.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/cc_rule_details?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cc_rule_details = m.np_stage.cc_rule_details.get(cpyKey=81714)
GET
/api/mimir/np_stage/cc_rule_details
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
ccTemplateName | string | false | false | None | ccTemplateName | Custom Configuration Template Name - The name of the NP Custom Configuration template. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
ccTemplateId | integer | The internal NP identifier for a Custom Configuration template. This is useful when joining together results from multiple APIs. | |
ccTemplateName | string | The name of the NP Custom Configuration template. | |
ccRuleId | integer | The internal NP identifier for a Custom Configuration rule. This is useful when joining together results from multiple APIs. | |
ccRuleName | string | The name of the NP Custom Configuration rule. | |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
ccRuleExceptionType | string | Add Cfg | The exception type of the NP Custom Configuration rule. Valid values include: “Add Cfg”, “Remove Cfg” |
ccRuleConfigLineNumber | string | 432-456 | For NP Advanced Custom Configuration rules, the running config line number of the block where the exception occurs. |
ccRuleExceptionBlock | string | router ospf 1 | For NP Advanced Custom Configuration rules, the name of the block where the exception occurs. |
ccRuleConfigLines | string | The config that are the expected standard config in an NP Custom Configuration rule. Limited to first 4000 characters. |
NP_STAGE Cc Rule Rbml
RBML Fields for NP Custom Configuration Simple Rules only (does not include multiline or advanced).
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/cc_rule_rbml?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cc_rule_rbml = m.np_stage.cc_rule_rbml.get(cpyKey=81714)
GET
/api/mimir/np_stage/cc_rule_rbml
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
ccTemplateName | string | false | false | None | ccTemplateName | Custom Configuration Template Name - The name of the NP Custom Configuration template. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
ccTemplateId | integer | The internal NP identifier for a Custom Configuration template. This is useful when joining together results from multiple APIs. | |
ccRuleId | integer | The internal NP identifier for a Custom Configuration rule. This is useful when joining together results from multiple APIs. | |
ccRbmlCriteria | string | required | The RBML criteria tag from simple Custom Config rules. ‘required’ means the the regex needs to be present in the config. ‘not required’ means the regex should be absent in the config. |
ccRbmlBlock | string | global | The RBML block tag from simple Custom Config rules. The block defines where in the config to check the regex. |
ccRbmlRegex | string | ^logging host | The RBML regex tag from simple Custom Config rules. |
NP_STAGE Cc Rule Summary
NP Custom Configuration Rule Summary.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/cc_rule_summary?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cc_rule_summary = m.np_stage.cc_rule_summary.get(cpyKey=81714)
GET
/api/mimir/np_stage/cc_rule_summary
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
ccTemplateName | string | false | false | None | ccTemplateName | Custom Configuration Template Name - The name of the NP Custom Configuration template. |
Response
Name | Type | Example | Definition |
---|---|---|---|
ccTemplateId | integer | The internal NP identifier for a Custom Configuration template. This is useful when joining together results from multiple APIs. | |
ccTemplateName | string | The name of the NP Custom Configuration template. | |
ccRuleId | integer | The internal NP identifier for a Custom Configuration rule. This is useful when joining together results from multiple APIs. | |
ccRuleName | string | The name of the NP Custom Configuration rule. | |
ccRuleType | string | Advanced | The type of the NP Custom Configuration rule. Valid values include: Advanced, Multiline, Simple |
ccGroupDevices | integer | The total number of devices considered for the Custom Configuration template. To be considered for Custom Config, the device must have a valid running config. | |
totalDevices | integer | The number of unique matching devices in summary APIs. For Custom Config and BP, this is the number of devices with exceptions. For Feature, this is the number of devices with the feature match. For tracks, this is the total number of devices in the track. | |
ccPercentCompliant | number | The percent of devices compliant to the entire template or entire rule, depending on API. | |
ccTotalExceptions | integer | The total number of exceptions for a specific Custom Configuration rule. If the rule is simple or multiline, it will always be 1 per device. If it is an Advanced rule, then it can be greater than 1 per device due to multiple block occurrences. | |
ccAllGroupDevices | integer | The total number of devices in the groups for the Custom Configuration template. This may be larger than ccGroupDevices. The extras will be devices that qualified for the group but did not have a valid running config for Custom Config analysis to be performed. |
NP_STAGE Cc Rule Xml
NP Custom Configuration Rule XML.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/cc_rule_xml?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cc_rule_xml = m.np_stage.cc_rule_xml.get(cpyKey=81714)
GET
/api/mimir/np_stage/cc_rule_xml
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
ccTemplateName | string | false | false | None | ccTemplateName | Custom Configuration Template Name - The name of the NP Custom Configuration template. |
ccTemplateId | integer | false | false | None | 12345 | Custom Configuration Template ID - The internal NP identifier for a Custom Configuration template. This is useful when joining together results from multiple APIs. |
ccRuleType | string | false | false | None | Advanced | Custom Configuration Rule Type - The type of the NP Custom Configuration rule. Valid values include: Advanced, Multiline, Simple |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
ccTemplateId | integer | The internal NP identifier for a Custom Configuration template. This is useful when joining together results from multiple APIs. | |
ccRuleId | integer | The internal NP identifier for a Custom Configuration rule. This is useful when joining together results from multiple APIs. | |
ccRuleType | string | Advanced | The type of the NP Custom Configuration rule. Valid values include: Advanced, Multiline, Simple |
ccRuleXml | string | The rule XML for a Custom Config rule. |
NP_STAGE Cc Rules
NP Custom Configuration Rules.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/cc_rules?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cc_rules = m.np_stage.cc_rules.get(cpyKey=81714)
GET
/api/mimir/np_stage/cc_rules
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
ccTemplateName | string | false | false | None | ccTemplateName | Custom Configuration Template Name - The name of the NP Custom Configuration template. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
ccTemplateId | integer | The internal NP identifier for a Custom Configuration template. This is useful when joining together results from multiple APIs. | |
ccTemplateName | string | The name of the NP Custom Configuration template. | |
ccRuleId | integer | The internal NP identifier for a Custom Configuration rule. This is useful when joining together results from multiple APIs. | |
ccRuleName | string | The name of the NP Custom Configuration rule. | |
ccRuleType | string | Advanced | The type of the NP Custom Configuration rule. Valid values include: Advanced, Multiline, Simple |
ccRuleExceptionType | string | Add Cfg | The exception type of the NP Custom Configuration rule. Valid values include: “Add Cfg”, “Remove Cfg” |
ccRuleDescription | string | The description of the NP Custom Configuration rule. | |
ccRuleConfigLines | string | The config that are the expected standard config in an NP Custom Configuration rule. Limited to first 4000 characters. |
NP_STAGE Cc Template Audit
NP Custom Configuration Templates that won’t produce any results because they have various issues.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/cc_template_audit?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cc_template_audit = m.np_stage.cc_template_audit.get(cpyKey=81714)
GET
/api/mimir/np_stage/cc_template_audit
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
ccTemplateId | integer | The internal NP identifier for a Custom Configuration template. This is useful when joining together results from multiple APIs. | |
ccTemplateName | string | The name of the NP Custom Configuration template. | |
ccTemplateTitle | string | The title of the NP Custom Configuration template. | |
ccTemplateDescription | string | The description of the NP Custom Configuration template. | |
ccTemplateCreateDate | datetime | The date when the NP Custom Configuration template was created. | |
ccTemplatedModifiedDate | datetime | The date when the NP Custom Configuration template was last modified. | |
ccTemplateIssue | string | The issue that is preventing any results from a Custom Configuration template. |
NP_STAGE Cc Template Summary
NP Custom Configuration Template Summary.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/cc_template_summary?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cc_template_summary = m.np_stage.cc_template_summary.get(cpyKey=81714)
GET
/api/mimir/np_stage/cc_template_summary
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
ccTemplateName | string | false | false | None | ccTemplateName | Custom Configuration Template Name - The name of the NP Custom Configuration template. |
Response
Name | Type | Example | Definition |
---|---|---|---|
ccTemplateId | integer | The internal NP identifier for a Custom Configuration template. This is useful when joining together results from multiple APIs. | |
ccTemplateName | string | The name of the NP Custom Configuration template. | |
ccGroupDevices | integer | The total number of devices considered for the Custom Configuration template. To be considered for Custom Config, the device must have a valid running config. | |
ccTemplateTotalRules | integer | The total number of rules defined for an NP Custom Configuration template. | |
ccTemplateRulesViolated | integer | The total number of rules with at least one violation for an NP Custom Configuration template. | |
totalDevices | integer | The number of unique matching devices in summary APIs. For Custom Config and BP, this is the number of devices with exceptions. For Feature, this is the number of devices with the feature match. For tracks, this is the total number of devices in the track. | |
ccPercentCompliant | number | The percent of devices compliant to the entire template or entire rule, depending on API. | |
ccPercentRuleCompliant | number | The percent compliant to all the rules in a template. This differs from ccPercentCompliant which is the absolute compliance to the template. For Rule Compliance you will see your overall compliance at the rule level but summarized for the template. | |
ccAllGroupDevices | integer | The total number of devices in the groups for the Custom Configuration template. This may be larger than ccGroupDevices. The extras will be devices that qualified for the group but did not have a valid running config for Custom Config analysis to be performed. |
NP_STAGE Cc Templates
NP Custom Configuration Templates.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/cc_templates?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cc_templates = m.np_stage.cc_templates.get(cpyKey=81714)
GET
/api/mimir/np_stage/cc_templates
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
ccTemplateName | string | false | false | None | ccTemplateName | Custom Configuration Template Name - The name of the NP Custom Configuration template. |
Response
Name | Type | Example | Definition |
---|---|---|---|
ccTemplateId | integer | The internal NP identifier for a Custom Configuration template. This is useful when joining together results from multiple APIs. | |
ccTemplateName | string | The name of the NP Custom Configuration template. | |
ccTemplateTitle | string | The title of the NP Custom Configuration template. | |
ccTemplateDescription | string | The description of the NP Custom Configuration template. | |
ccTemplateRecommendation | string | The recommendation of the NP Custom Configuration template. | |
ccTemplateCreateDate | datetime | The date when the NP Custom Configuration template was created. | |
ccTemplatedModifiedDate | datetime | The date when the NP Custom Configuration template was last modified. |
NP_STAGE Ccm Gateways
CUCM Gateways sourced from CCMPhoneEntry
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/ccm_gateways?cpyKey=81714"
from mimir import Mimir
m = Mimir()
ccm_gateways = m.np_stage.ccm_gateways.get(cpyKey=81714)
GET
/api/mimir/np_stage/ccm_gateways
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
ccmGatewayName | string | The name of the CCM gateway as reported in CISCO-CCM-MIB. | |
ccmGatewayDescription | string | The description of the CCM gateway as reported in CISCO-CCM-MIB. | |
ccmGatewayStatus | string | registered | The status of the CCM gateway as reported in CISCO-CCM-MIB. |
NP_STAGE Ccm Phones
CUCM Phones sourced from CCMPhoneEntry
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/ccm_phones?cpyKey=81714"
from mimir import Mimir
m = Mimir()
ccm_phones = m.np_stage.ccm_phones.get(cpyKey=81714)
GET
/api/mimir/np_stage/ccm_phones
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
ccmPhoneName | string | SEP001122334455 | The name of the phone as reported in CISCO-CCM-MIB. |
ccmPhonePhysicalAddress | string | aa11223344bb | The physcial address of the phone as reported in CISCO-CCM-MIB. |
ccmPhoneDescription | string | Chuck’s Phone | The description of the phone as reported in CISCO-CCM-MIB. |
ccmPhoneIpAddress | string | 10.1.1.1 | The IP Address of the phone as reported in CISCO-CCM-MIB. |
ccmPhoneStatus | string | registered | The status of the phone as reported in CISCO-CCM-MIB. |
ccmPhoneLoadID | string | sip9951.9-4-2SR2-2 | The Load ID of the phone as reported in CISCO-CCM-MIB. |
NP_STAGE Ccm Table
CUCM Table from CCMPhoneEntry
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/ccm_table?cpyKey=81714"
from mimir import Mimir
m = Mimir()
ccm_table = m.np_stage.ccm_table.get(cpyKey=81714)
GET
/api/mimir/np_stage/ccm_table
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
ccmName | string | The name of the CCM as reported in CISCO-CCM-MIB. | |
ccmDescription | string | The description of the CCM as reported in CISCO-CCM-MIB. | |
ccmVersion | string | The version of the CCM as reported in CISCO-CCM-MIB. | |
ccmClusterId | string | The ClusterId of the CCM as reported in CISCO-CCM-MIB. | |
ipAddress | string | 172.16.1.1 | An IPv4 Address. |
ccmStatus | string | up | The status of the CCM as reported in CISCO-CCM-MIB. |
NP_STAGE Cli
Master call to NP to extract CLI data for a given Company, filtered by any of the inputs below. This call will do the full request, status check, data-download and repackage into MIMIR format.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/cli?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cli = m.np_stage.cli.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | true | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
command | string | false | true | None | show version | Command - The CLI Command name. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
productFamily | string | false | false | None | Cisco Catalyst 3560-E Series Switches | Product Family - The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
groupId | integer | false | true | None | 321213 | Group ID - The unique ID of the NP Group |
fromDate | datetime | false | false | None | 2016-12-02T20:10:32Z | From Date - Used for API inputs to limit to data changed after this date. |
extract | integer | false | false | None | 12345 | Extract Option - A flag that (if set to 1) will pass the commmand rawData through the Extract framework (see EXTRACT section for more detail) |
Response
Name | Type | Example | Definition |
---|---|---|---|
collector | string | no16 | The unique 4 character id for a Cisco collector. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
command | string | show version | The CLI Command name. |
fullPath | string | The server directory path of a CLI or Config file. This is used only for troubleshooting. | |
rawData | string | The raw data from CLI or Config. | |
extract | object | Either an object or array representing the attributes parsed by the Extract framework. Only present if extract option used |
NP_STAGE Cli Available
Unique CLI commands available for a company. This can be used to know which CLI commands to extract from NP.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/cli_available?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cli_available = m.np_stage.cli_available.get(cpyKey=81714)
GET
/api/mimir/np_stage/cli_available
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
fromDate | datetime | false | false | None | 2016-12-02T20:10:32Z | From Date - Used for API inputs to limit to data changed after this date. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
commandName | string | show version | The CLI Command name. |
NP_STAGE Cli Timestamps
Last collection timestamp for each CLI for each Device.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/cli_timestamps?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cli_timestamps = m.np_stage.cli_timestamps.get(cpyKey=81714)
GET
/api/mimir/np_stage/cli_timestamps
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
commandName | string | false | false | None | show version | Command Name - The CLI Command name. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
fromDate | datetime | false | false | None | 2016-12-02T20:10:32Z | From Date - Used for API inputs to limit to data changed after this date. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
commandName | string | show version | The CLI Command name. |
commandTime | datetime | For Network Profile, this will be the date the CLI is processed into NP, not the collected timestamp. |
NP_STAGE Cluster
Get the NP DB server that a given Company resides on.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/cluster?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cluster = m.np_stage.cluster.get(cpyKey=81714)
GET
/api/mimir/np_stage/cluster
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
clusterId | integer | 1 | NP DB cluster identifier. 1=US1, 2=EMEA, 3=US2, 4=US3, 5=US4 |
cpyName | string | The company name as defined in CSTG Support Central for display in AS Tools. | |
clusterName | string | US1 | NP DB cluster name. |
NP_STAGE Collection Errors
All the collection errors reported by CSPC. There can be some stale records here for things the CSPC isn’t collecting anymore.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/collection_errors?cpyKey=81714"
from mimir import Mimir
m = Mimir()
collection_errors = m.np_stage.collection_errors.get(cpyKey=81714)
GET
/api/mimir/np_stage/collection_errors
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
deviceIp | string | false | false | None | 172.21.1.1 | Device IP Address - The management IP address of the device. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swVersion | string | false | false | None | 15.1(4)M4 | Software Version - The Software Version of the device. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
timeStamp | datetime | 2016-09-13T03:46:59 | Generic timestamp field. |
collectorDataset | string | Name of the dataset on the collector. | |
collectorCommand | string | The command issued by the collector. | |
collectorErrorMessage | string | The Error Message returned by the collector for a specific dataset collection. |
NP_STAGE Collector Details
Details for active/testing collectors for a specific company.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/collector_details?cpyKey=81714"
from mimir import Mimir
m = Mimir()
collector_details = m.np_stage.collector_details.get(cpyKey=81714)
GET
/api/mimir/np_stage/collector_details
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
collector | string | no16 | The unique 4 character id for a Cisco collector. |
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
cpyName | string | The company name as defined in CSTG Support Central for display in AS Tools. | |
collectorStatus | string | Active | The status of the collector as specified in CSTG Support Central. Valid values: Active, Cisco Testing |
isPrimaryCollector | string | Y | When using CSPC to scale beyond 10K devices, the CSPC can have multiple entitlements to scale to 40K. To Network Profile, this looks like separate collectors (up to 4). But physically, it is just 1 collector. If the value of this field is “N”, then it should not be considered a physical collector, but one of the logical entitlements created. Valid values: Y, N |
theater | string | AMERICAS | The theater associated with the collector, as specified in CSTG Support Central. |
lineOfBusiness | string | Enterprise | The Line of Business of the collector as defined in CSTG Support Central. Common values include: Enterprise, Service Provider, Public Sector |
serviceType | string | Subscription | The AS service type for the collector as defined in CSTG Support Central. Valid values include: Subscription, Transaction |
applianceId | string | up | The unique appliance ID for a CSPC Collector. |
collectorType | string | CSPC | The type of collector (Requires successful health upload). Valid values: CSPC, CNC, UNKNOWN |
collectorVersion | string | 2.7.1 | The version of the collector as reported in the upload. |
collectorMajorVersion | string | 2.7 | The first 3 characters of the collectorVersion field. |
rulePackageVersion | string | RP3.24 | The rule package version running on the collector (Requires successful health upload). |
expectedUploadInterval | integer | The number of days expected between full collector uploads to Cisco. | |
collectorVulnerability | string | drown,ghost,glibc,heartBleed | Comma-separated list of collector security vulnerabilities. |
collectorPotVulnerability | string | drown,ghost,glibc,heartBleed | Comma-separated list of potential collector security vulnerabilities. |
lastUploadComplete | datetime | The timestamp when the last successful upload completed. | |
lastInventoryLoadComplete | datetime | The timestamp when the last successful inventory upload completed. | |
lastSyslogLoadComplete | datetime | The timestamp when the last successful syslog upload completed. | |
lastHealthUploadComplete | datetime | The timestamp when the last successful health upload completed. |
NP_STAGE Collectors
List of all the active and testing collectors in NP.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/collectors"
from mimir import Mimir
m = Mimir()
collectors = m.np_stage.collectors.get()
GET
/api/mimir/np_stage/collectors
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | false | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
collectorStatus | string | false | false | None | Active | Collector Status - The status of the collector as specified in CSTG Support Central. Valid values: Active, Cisco Testing |
collector | string | false | false | None | no16 | Collector - The unique 4 character id for a Cisco collector. |
Response
Name | Type | Example | Definition |
---|---|---|---|
collector | string | no16 | The unique 4 character id for a Cisco collector. |
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
cpyName | string | The company name as defined in CSTG Support Central for display in AS Tools. | |
collectorStatus | string | Active | The status of the collector as specified in CSTG Support Central. Valid values: Active, Cisco Testing |
isPrimaryCollector | string | Y | When using CSPC to scale beyond 10K devices, the CSPC can have multiple entitlements to scale to 40K. To Network Profile, this looks like separate collectors (up to 4). But physically, it is just 1 collector. If the value of this field is “N”, then it should not be considered a physical collector, but one of the logical entitlements created. Valid values: Y, N |
theater | string | AMERICAS | The theater associated with the collector, as specified in CSTG Support Central. |
lineOfBusiness | string | Enterprise | The Line of Business of the collector as defined in CSTG Support Central. Common values include: Enterprise, Service Provider, Public Sector |
serviceType | string | Subscription | The AS service type for the collector as defined in CSTG Support Central. Valid values include: Subscription, Transaction |
applianceId | string | up | The unique appliance ID for a CSPC Collector. |
NP_STAGE Companies
List of all the Companies in NP with an active (or test) collector.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/companies"
from mimir import Mimir
m = Mimir()
companies = m.np_stage.companies.get()
GET
/api/mimir/np_stage/companies
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | false | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
cpyName | string | false | false | None | cpyName | Company Name - The company name as defined in CSTG Support Central for display in AS Tools. |
clusterName | string | false | false | None | US1 | NP Cluster Name - NP DB cluster name. |
theater | string | false | false | None | AMERICAS | Theater - The theater associated with the collector, as specified in CSTG Support Central. |
lineOfBusiness | string | false | false | None | Enterprise | Line of Business - The Line of Business of the collector as defined in CSTG Support Central. Common values include: Enterprise, Service Provider, Public Sector |
managerUserId | string | false | false | None | managerUserId | Manager UserID - The userID of the HR manager or Delivery Manager. |
cpyType | string | false | false | None | cpyType | Company Type - The type of access restrictions on the company. Valid values include: Test Account, Restricted Account, Highly Restricted Account. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
cpyName | string | The company name as defined in CSTG Support Central for display in AS Tools. | |
clusterId | integer | 1 | NP DB cluster identifier. 1=US1, 2=EMEA, 3=US2, 4=US3, 5=US4 |
clusterName | string | US1 | NP DB cluster name. |
dcpPartyId | integer | The Customer Registry Party ID associated in DCP for the NP Company. This ID may be associated with multiple NP Companies. | |
dcpPartyName | string | The Company Name as defined in Customer Registry associated with the DCP Party ID. | |
crPartyId | integer | The unique Party ID from Customer Registry that can be used in OnePortal. Will be used by only one NP Company. | |
crPartyName | string | The Company Name as defined in Customer Registry associated with the CR Party ID. | |
theater | string | AMERICAS | The theater associated with the collector, as specified in CSTG Support Central. |
lineOfBusiness | string | Enterprise | The Line of Business of the collector as defined in CSTG Support Central. Common values include: Enterprise, Service Provider, Public Sector |
managerUserId | string | The userID of the HR manager or Delivery Manager. | |
cpyType | string | The type of access restrictions on the company. Valid values include: Test Account, Restricted Account, Highly Restricted Account. | |
npUrl | string | The URL to the Network Profile home page for the customer. |
NP_STAGE Companies Entitled
List of Companies in NP along with the currently Authorized users.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/companies_entitled"
from mimir import Mimir
m = Mimir()
companies_entitled = m.np_stage.companies_entitled.get()
GET
/api/mimir/np_stage/companies_entitled
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | false | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
cpyName | string | false | false | None | cpyName | Company Name - The company name as defined in CSTG Support Central for display in AS Tools. |
userId | string | false | false | None | mycecid | User ID - A Cisco userid. |
dateAccessGranted | string | false | false | None | dateAccessGranted | Date Access Granted - The date a user was granted access to an NP Company. Since all users have access to Test accounts, the access date may not be known. Field is a string since some APIs accept a regex when this field is used as input. |
cpyType | string | false | false | None | cpyType | Company Type - The type of access restrictions on the company. Valid values include: Test Account, Restricted Account, Highly Restricted Account. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
cpyName | string | The company name as defined in CSTG Support Central for display in AS Tools. | |
cpyType | string | The type of access restrictions on the company. Valid values include: Test Account, Restricted Account, Highly Restricted Account. | |
userId | string | mycecid | A Cisco userid. |
userType | string | The Type of NP User. | |
dateAccessGranted | string | The date a user was granted access to an NP Company. Since all users have access to Test accounts, the access date may not be known. Field is a string since some APIs accept a regex when this field is used as input. | |
managerUserId | string | The userID of the HR manager or Delivery Manager. |
NP_STAGE Config
Master call to NP to extract Configuration data for a given Company, filtered by any of the inputs below. This call will do the full request, status check, data-download and repackage into MIMIR format.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/config?cpyKey=81714"
from mimir import Mimir
m = Mimir()
config = m.np_stage.config.get(cpyKey=81714)
GET
/api/mimir/np_stage/config
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | true | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
productFamily | string | false | false | None | Cisco Catalyst 3560-E Series Switches | Product Family - The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
groupId | integer | false | true | None | 321213 | Group ID - The unique ID of the NP Group |
configType | string | false | true | None | ADMIN RUNNING, STANDARD RUNNING, STANDARD STARTUP | Configuration Type - The type of a Configuration file, which is a concatenation of the config source (standard, admin, context) and config type (running, startup). |
fromDate | datetime | false | false | None | 2016-12-02T20:10:32Z | From Date - Used for API inputs to limit to data changed after this date. |
extract | integer | false | false | None | 12345 | Extract Option - A flag that (if set to 1) will pass the commmand rawData through the Extract framework (see EXTRACT section for more detail) |
Response
Name | Type | Example | Definition |
---|---|---|---|
collector | string | no16 | The unique 4 character id for a Cisco collector. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
command | string | show version | The CLI Command name. |
fullPath | string | The server directory path of a CLI or Config file. This is used only for troubleshooting. | |
rawData | string | The raw data from CLI or Config. | |
extract | object | Either an object or array representing the attributes parsed by the Extract framework. Only present if extract option used |
NP_STAGE Config-diffs
Configuration change differences for each device. By default the API will return only the latest diff. Optional the last 10 diffs per device can be returned.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/config-diffs?cpyKey=81714"
from mimir import Mimir
m = Mimir()
config-diffs = m.np_stage.config-diffs.get(cpyKey=81714)
GET
/api/mimir/np_stage/config-diffs
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
latest | boolean | false | false | true | true | Latest - Boolean to indicate whether just the latest data or all data should be returned. |
managedNeInstanceId | integer | false | true | None | 22345640 | Managed Network Element Instance IDs - The unique ID of the NetworkElement/Device. |
startConfigDiffDate | datetime | false | false | None | 2016-12-02T20:10:32Z | Start Config Diff Date - Use this input date to retrieve all config diffs diff on or after this date. |
endConfigDiffDate | datettime | false | false | None | endConfigDiffDate | End Config Diff Date - Use this input date to retrieve all config diffs diff on or before this date. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
managedNeInstanceId | integer | 22345640 | The unique ID of the NetworkElement/Device. |
configDiffDate | datetime | The timestamp for a configuration difference recognized in NP. | |
configDiffText | string | The actual config diff text that comes from NP config diff profile. The output is same as unix diff command. Rows starting with less-than symbol were present in the previous config and rows starting with greater-than symbol are present in the current config at the time of the diff. |
NP_STAGE Config Available
Unique Configs Types available for a company. This can be used to know which Configs Types to extract from NP.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/config_available?cpyKey=81714"
from mimir import Mimir
m = Mimir()
config_available = m.np_stage.config_available.get(cpyKey=81714)
GET
/api/mimir/np_stage/config_available
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
configType | string | ADMIN RUNNING, STANDARD RUNNING, STANDARD STARTUP | The type of a Configuration file, which is a concatenation of the config source (standard, admin, context) and config type (running, startup). |
NP_STAGE Config Timestamps
Last collection time stamp for each config.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/config_timestamps?cpyKey=81714"
from mimir import Mimir
m = Mimir()
config_timestamps = m.np_stage.config_timestamps.get(cpyKey=81714)
GET
/api/mimir/np_stage/config_timestamps
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
configName | string | false | false | None | configName | Config file - Name of the config file. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
fromDate | datetime | false | false | None | 2016-12-02T20:10:32Z | From Date - Used for API inputs to limit to data changed after this date. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
configType | string | ADMIN RUNNING, STANDARD RUNNING, STANDARD STARTUP | The type of a Configuration file, which is a concatenation of the config source (standard, admin, context) and config type (running, startup). |
configTime | datetime | The time when the collector last successfully collected the configuration from the device. |
NP_STAGE Connectivity Status
Status of collectors that are using connectivity for transport to Cisco. If collector is provided, it will return the last 30 records. If collector is not provided, it will only return the most recent one per collector.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/connectivity_status"
from mimir import Mimir
m = Mimir()
connectivity_status = m.np_stage.connectivity_status.get()
GET
/api/mimir/np_stage/connectivity_status
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
collector | string | false | false | None | no16 | Collector - The unique 4 character id for a Cisco collector. |
Response
Name | Type | Example | Definition |
---|---|---|---|
collector | string | no16 | The unique 4 character id for a Cisco collector. |
collectorId | string | CSP0009021160 | The CSPC collector appliance ID. |
profileStatus | string | Complete | The result of a profile process. |
uploadFilename | string | The filename for a collector upload. | |
createDatetime | datetime | A create date with time. | |
startDatetime | datetime | A start date with time. | |
endDatetime | datetime | An end date with time. |
NP_STAGE Cucs Memory Unit Table
UCS Memory Unit Table from CISCO-UNIFIED-COMPUTING-MEMORY-MIB
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/cucs_memory_unit_table?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cucs_memory_unit_table = m.np_stage.cucs_memory_unit_table.get(cpyKey=81714)
GET
/api/mimir/np_stage/cucs_memory_unit_table
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
cucsMemoryUnitInstanceId | string | cucsMemoryUnitInstanceId from CISCO-UNIFIED-COMPUTING-MEMORY-MIB | |
cucsMemoryUnitDn | string | cucsMemoryUnitDn from CISCO-UNIFIED-COMPUTING-MEMORY-MIB | |
cucsMemoryUnitModel | string | cucsMemoryUnitModel from CISCO-UNIFIED-COMPUTING-MEMORY-MIB | |
cucsMemoryUnitSerial | string | cucsMemoryUnitSerial from CISCO-UNIFIED-COMPUTING-MEMORY-MIB |
NP_STAGE Dav
Collector Device Access Verification (DAV) results. Useful for correcting access issues on the collector that impact data completeness.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/dav?cpyKey=81714"
from mimir import Mimir
m = Mimir()
dav = m.np_stage.dav.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
deviceSysname | string | false | false | None | router.cisco.com | Device sysName - The hostname (SNMP sysName) of the device. It will be fully-qualified name, if domain name is set on the device. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swVersion | string | false | false | None | 15.1(4)M4 | Software Version - The Software Version of the device. |
davAccessMethod | string | false | false | None | SNMP | DAV Access Method - The method of Device Access Verifier (DAV) check. Valid values include: PING, SNMP, TELNET, SSH, etc. |
davStatus | string | false | false | None | PASS | DAV Status - The status returned from the Device Access Verifier (DAV) check. Values may include: PASS, FAIL, NOT ATTEMPTED |
Response
Name | Type | Example | Definition |
---|---|---|---|
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
deviceIp | string | 172.21.1.1 | The management IP address of the device. |
deviceSysname | string | router.cisco.com | The hostname (SNMP sysName) of the device. It will be fully-qualified name, if domain name is set on the device. |
collector | string | no16 | The unique 4 character id for a Cisco collector. |
inventoryTime | datetime | The time when the collector last successfully collected inventory from the device. | |
configTime | datetime | The time when the collector last successfully collected the configuration from the device. | |
userField1 | string | The user field1 value populated in the collector seedfile. | |
userField2 | string | The user field2 value populated in the collector seedfile. | |
userField3 | string | The user field3 value populated in the collector seedfile. | |
userField4 | string | The user field4 value populated in the collector seedfile. | |
davAccessMethod | string | SNMP | The method of Device Access Verifier (DAV) check. Valid values include: PING, SNMP, TELNET, SSH, etc. |
davStatus | string | PASS | The status returned from the Device Access Verifier (DAV) check. Values may include: PASS, FAIL, NOT ATTEMPTED |
davMessage | string | No Credentials Found | The Message returned from the Device Access Verifier (DAV) check. Values may include: Pass, No Credentials Found, Connection Failed, etc. |
davTimestamp | datetime | The timestamp of Device Access Verifier (DAV) check. |
NP_STAGE Device Details
Detailed Device Information (i.e. what is found at top of NP Device Profile page)
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/device_details?cpyKey=81714"
from mimir import Mimir
m = Mimir()
device_details = m.np_stage.device_details.get(cpyKey=81714)
GET
/api/mimir/np_stage/device_details
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | true | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
deviceIp | string | false | false | None | 172.21.1.1 | Device IP Address - The management IP address of the device. |
ipAddress | string | false | false | None | 172.16.1.1 | IP Address - An IPv4 Address. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
deviceSysname | string | false | false | None | router.cisco.com | Device sysName - The hostname (SNMP sysName) of the device. It will be fully-qualified name, if domain name is set on the device. |
inSeedfile | boolean | false | false | None | true | In Seedfile - Indicates whether the device is in a collector seedfile (true) or has been logically created by NP (false). This is important for some KPI measurements to be accurate. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swVersion | string | false | false | None | 15.1(4)M4 | Software Version - The Software Version of the device. |
productFamily | string | false | false | None | Cisco Catalyst 3560-E Series Switches | Product Family - The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
productType | string | false | false | None | Metro Ethernet Switches | Product Type - The Cisco Product Type in COLD of the hardware. Values usually come from MDF. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
deviceIp | string | 172.21.1.1 | The management IP address of the device. |
ipAddress | string | 172.16.1.1 | An IPv4 Address. |
deviceSysname | string | router.cisco.com | The hostname (SNMP sysName) of the device. It will be fully-qualified name, if domain name is set on the device. |
deviceType | string | Managed Chassis | The type of the device. Values include Managed Chassis, Managed Multi-Chassis, SDR, Contexts, and IOS-XR Admin |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swVersion | string | 15.1(4)M4 | The Software Version of the device. |
productId | string | The Cisco Product ID (PID) of the hardware as contained in Product IC. | |
productFamily | string | Cisco Catalyst 3560-E Series Switches | The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
productType | string | Metro Ethernet Switches | The Cisco Product Type in COLD of the hardware. Values usually come from MDF. |
collector | string | no16 | The unique 4 character id for a Cisco collector. |
deviceStatus | string | The status of the device as reported by the collector. Usually will be either ACTIVE or DEVICE NOT REACHABLE. | |
createDate | datetime | The date the record or rule was created in NP database. For devices, a new record is created whenever a unique name+sysobjectid combination is seen in the collector. | |
inventoryTime | datetime | The time when the collector last successfully collected inventory from the device. | |
inventoryStatus | string | Completed | The status of Inventory collection. Completed means some SNMP inventory was successfully collected. NotAvailable means SNMP inventory was not collected. NotSupported means the device was not in CSPC to be collected. |
configTime | datetime | The time when the collector last successfully collected the configuration from the device. | |
configStatus | string | Completed | The status of Configuration collection. Completed means the config was successfully collected. NotAvailable means the config was not collected. NotSupported means the device does not support collection of an ASCii config via CLI. |
configRegister | string | 0x2102 | The Configuration register of the device. |
imageName | string | The Image Name of the software on the Network Element. | |
featureSetDesc | string | The name of the software feature set running on the device. This data is primarily available for IOS. | |
sysObjectId | string | The SNMP sysObjectID of the device. | |
sysLocation | string | The SNMP sysLocation of the device which is populated in most devices using a configuration command. | |
sysContact | string | The SNMP sysContact of the device which is populated in most devices using a configuration command. | |
sysDescription | string | The SNMP system description from the device. | |
resetReason | string | The reason for the last system reset as reported in the show version output. | |
lastReset | datetime | The date timestamp of the last reset of the device as reported by the show version command. | |
userField1 | string | The user field1 value populated in the collector seedfile. | |
userField2 | string | The user field2 value populated in the collector seedfile. | |
userField3 | string | The user field3 value populated in the collector seedfile. | |
userField4 | string | The user field4 value populated in the collector seedfile. | |
deviceUrl | string | The URL to the Network Profile device profile page for the device. | |
inSeedfile | boolean | Indicates whether the device is in a collector seedfile (true) or has been logically created by NP (false). This is important for some KPI measurements to be accurate. |
NP_STAGE Devices
Summary information about logical network elements (devices). For more fields, use the device_details API.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/devices?cpyKey=81714"
from mimir import Mimir
m = Mimir()
devices = m.np_stage.devices.get(cpyKey=81714)
GET
/api/mimir/np_stage/devices
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | true | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
deviceIp | string | false | false | None | 172.21.1.1 | Device IP Address - The management IP address of the device. |
ipAddress | string | false | false | None | 172.16.1.1 | IP Address - An IPv4 Address. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
deviceSysname | string | false | false | None | router.cisco.com | Device sysName - The hostname (SNMP sysName) of the device. It will be fully-qualified name, if domain name is set on the device. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swVersion | string | false | false | None | 15.1(4)M4 | Software Version - The Software Version of the device. |
productFamily | string | false | false | None | Cisco Catalyst 3560-E Series Switches | Product Family - The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
deviceIp | string | 172.21.1.1 | The management IP address of the device. |
ipAddress | string | 172.16.1.1 | An IPv4 Address. |
deviceSysname | string | router.cisco.com | The hostname (SNMP sysName) of the device. It will be fully-qualified name, if domain name is set on the device. |
deviceType | string | Managed Chassis | The type of the device. Values include Managed Chassis, Managed Multi-Chassis, SDR, Contexts, and IOS-XR Admin |
productId | string | The Cisco Product ID (PID) of the hardware as contained in Product IC. | |
productFamily | string | Cisco Catalyst 3560-E Series Switches | The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
productType | string | Metro Ethernet Switches | The Cisco Product Type in COLD of the hardware. Values usually come from MDF. |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swVersion | string | 15.1(4)M4 | The Software Version of the device. |
NP_STAGE Downstream
Data for collectors being passed to IBES.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/downstream"
from mimir import Mimir
m = Mimir()
downstream = m.np_stage.downstream.get()
GET
/api/mimir/np_stage/downstream
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | false | true | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
collector | string | false | false | None | no16 | Collector - The unique 4 character id for a Cisco collector. |
applianceId | string | false | false | None | up | Appliance ID - The unique appliance ID for a CSPC Collector. |
cpyName | string | false | false | None | cpyName | Company Name - The company name as defined in CSTG Support Central for display in AS Tools. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
cpyName | string | The company name as defined in CSTG Support Central for display in AS Tools. | |
collector | string | no16 | The unique 4 character id for a Cisco collector. |
applianceId | string | up | The unique appliance ID for a CSPC Collector. |
lastUploadComplete | datetime | The timestamp when the last successful upload completed. |
NP_STAGE Feature Details
Details of devices and their features for an NP Company. Details about each feature is found in feature_rules API.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/feature_details?cpyKey=81714"
from mimir import Mimir
m = Mimir()
feature_details = m.np_stage.feature_details.get(cpyKey=81714)
GET
/api/mimir/np_stage/feature_details
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
technology | string | false | false | None | Multiprotocol Label Switching (MPLS) | Technology - The technology associated with a feature rule, as defined in Cisco MDF. |
feature | string | false | false | None | Multi-VRF Support (VRF lite) | Feature - The feature title, as defined in Feature Navigator/Feature Track System. |
trackId | integer | false | false | None | 12345 | Track ID - Internal NP Software Track identifier. This is needed to join between various track API results. |
Response
Name | Type | Example | Definition |
---|---|---|---|
featureRuleName | string | INTERNAL USE ONLY. The rule name of the feature rule. This is a unique identifier for a feature. It should not be shared with customers. | |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
NP_STAGE Feature Rules
Feature Identification Service (FIS) Feature rules. This IC should not be distributed to customers in bulk since it is a core part of AS Service.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/feature_rules"
from mimir import Mimir
m = Mimir()
feature_rules = m.np_stage.feature_rules.get()
GET
/api/mimir/np_stage/feature_rules
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
technology | string | false | false | None | Multiprotocol Label Switching (MPLS) | Technology - The technology associated with a feature rule, as defined in Cisco MDF. |
featureRuleName | string | false | false | None | featureRuleName | Feature Rule Name - INTERNAL USE ONLY. The rule name of the feature rule. This is a unique identifier for a feature. It should not be shared with customers. |
feature | string | false | false | None | Multi-VRF Support (VRF lite) | Feature - The feature title, as defined in Feature Navigator/Feature Track System. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
Response
Name | Type | Example | Definition |
---|---|---|---|
featureRuleName | string | INTERNAL USE ONLY. The rule name of the feature rule. This is a unique identifier for a feature. It should not be shared with customers. | |
feature | string | Multi-VRF Support (VRF lite) | The feature title, as defined in Feature Navigator/Feature Track System. |
technology | string | Multiprotocol Label Switching (MPLS) | The technology associated with a feature rule, as defined in Cisco MDF. |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
ftsId | string | FTS-1234 | The Feature Tracking System (FTS) Identifier. This is a unique key to reference a feature against official Cisco features found in Feature Navigator. |
NP_STAGE Feature Summary
Summary of features in an NP Company and number of devices for each.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/feature_summary?cpyKey=81714"
from mimir import Mimir
m = Mimir()
feature_summary = m.np_stage.feature_summary.get(cpyKey=81714)
GET
/api/mimir/np_stage/feature_summary
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
technology | string | false | false | None | Multiprotocol Label Switching (MPLS) | Technology - The technology associated with a feature rule, as defined in Cisco MDF. |
feature | string | false | false | None | Multi-VRF Support (VRF lite) | Feature - The feature title, as defined in Feature Navigator/Feature Track System. |
Response
Name | Type | Example | Definition |
---|---|---|---|
featureRuleName | string | INTERNAL USE ONLY. The rule name of the feature rule. This is a unique identifier for a feature. It should not be shared with customers. | |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
technology | string | Multiprotocol Label Switching (MPLS) | The technology associated with a feature rule, as defined in Cisco MDF. |
feature | string | Multi-VRF Support (VRF lite) | The feature title, as defined in Feature Navigator/Feature Track System. |
totalDevices | integer | The number of unique matching devices in summary APIs. For Custom Config and BP, this is the number of devices with exceptions. For Feature, this is the number of devices with the feature match. For tracks, this is the total number of devices in the track. |
NP_STAGE Fn Bulletins
Field Notice (FN) bulletins from PAS/COLD.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/fn_bulletins"
from mimir import Mimir
m = Mimir()
fn_bulletins = m.np_stage.fn_bulletins.get()
GET
/api/mimir/np_stage/fn_bulletins
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
bulletinFirstPublished | string | false | false | None | bulletinFirstPublished | Bulletin First Published - The date when the bulletin was first published to Cisco.com. Most API calls will allow Regex input for this field. |
Response
Name | Type | Example | Definition |
---|---|---|---|
fieldNoticeId | string | Field Notice ID number. | |
fnType | string | Type of Field Notice as defined from PLATO. Valid values include: hardware, software, other | |
bulletinTitle | string | Cisco IOS XR Software Release 4.0 | The Cisco.com Title/Headline for the bulletin. |
bulletinFirstPublished | string | The date when the bulletin was first published to Cisco.com. Most API calls will allow Regex input for this field. | |
bulletinLastUpdated | datetime | The date when the bulletin was last updated on Cisco.com. | |
bulletinMappingCaveat | string | The Bulletin Mapping Caveat gives any explanations why the automation may need additional review by the customer. | |
bulletinUrl | string | The Cisco.com URL for the bulletin. | |
problemDescription | string | The description of the problem on a Cisco bulletin. |
NP_STAGE Fn Comments
Field Notice impact, options/workarounds, action plan, and comments as entered by the NCE in Network Profile.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/fn_comments?cpyKey=81714"
from mimir import Mimir
m = Mimir()
fn_comments = m.np_stage.fn_comments.get(cpyKey=81714)
GET
/api/mimir/np_stage/fn_comments
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
fieldNoticeId | string | false | false | None | fieldNoticeId | Field Notice ID - Field Notice ID number. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
fieldNoticeId | string | Field Notice ID number. | |
nceComments | string | Any comments entered by the NCE for the particular data type. | |
userId | string | mycecid | A Cisco userid. |
updateDate | datetime | The timestamp when the data or rule was last updated. |
NP_STAGE Fn Details
Field Notice (FN) vulnerabilities details for a specific NP cpyKey.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/fn_details?cpyKey=81714"
from mimir import Mimir
m = Mimir()
fn_details = m.np_stage.fn_details.get(cpyKey=81714)
GET
/api/mimir/np_stage/fn_details
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
matchConfidence | string | false | false | None | matchConfidence | Match Confidence - The match confidence result from PAS. Valid values include: Vulnerable, Potentially Vulnerable, Not Vulnerable. |
fieldNoticeId | string | false | false | None | fieldNoticeId | Field Notice ID - Field Notice ID number. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
fieldNoticeId | string | Field Notice ID number. | |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
physicalElementId | integer | 139163375 | The unique ID in NP for a specific piece of hardware. |
matchConfidence | string | The match confidence result from PAS. Valid values include: Vulnerable, Potentially Vulnerable, Not Vulnerable. | |
matchConfidenceReason | string | The reason behind the match confidence result from PAS. Explains why you are vulnerable or not vulnerable or what data is missing to cause a potentially vulnerable result. PAS value is enhanced in NP for readability. |
NP_STAGE Fn Summary
Field Notice (FN) Summary by Field Notice ID for a specific NP cpyKey.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/fn_summary?cpyKey=81714"
from mimir import Mimir
m = Mimir()
fn_summary = m.np_stage.fn_summary.get(cpyKey=81714)
GET
/api/mimir/np_stage/fn_summary
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
bulletinFirstPublished | string | false | false | None | bulletinFirstPublished | Bulletin First Published - The date when the bulletin was first published to Cisco.com. Most API calls will allow Regex input for this field. |
fieldNoticeId | string | false | false | None | fieldNoticeId | Field Notice ID - Field Notice ID number. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
fieldNoticeId | string | Field Notice ID number. | |
bulletinTitle | string | Cisco IOS XR Software Release 4.0 | The Cisco.com Title/Headline for the bulletin. |
bulletinFirstPublished | string | The date when the bulletin was first published to Cisco.com. Most API calls will allow Regex input for this field. | |
totalVulnerable | integer | The total number of devices vulnerable to a PSIRT or Field Notice. | |
totalPotentiallyVulnerable | integer | The total number of devices potentially vulnerable to a PSIRT or Field Notice. | |
totalNotVulnerable | integer | The total number of devices not vulnerable to a PSIRT or Field Notice. |
NP_STAGE Group Criteria
The criteria for membership in an NP group.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/group_criteria?cpyKey=81714"
from mimir import Mimir
m = Mimir()
group_criteria = m.np_stage.group_criteria.get(cpyKey=81714)
GET
/api/mimir/np_stage/group_criteria
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
groupName | string | false | false | None | groupName | Group Name - Name of the NP Group |
Response
Name | Type | Example | Definition |
---|---|---|---|
groupId | integer | 321213 | The unique ID of the NP Group |
excludeGroupListCriteria | string | A list of Group IDs that are excluded from the membership of the specific NP group or track. | |
swTypeCriteria | string | IOS | The swType criteria for an NP Group or Track. |
memoryCriteria | integer | 128 | The installedMemory criteria for an NP Group or Track. |
memoryOperatorCriteria | string | The installedMemory operator criteria for an NP Group or Track (i.e. greater than, less than, etc.) | |
flashCriteria | integer | 64 | The installedFlash criteria for an NP Group or Track. |
flashOperatorCriteria | string | The installedFlash operator criteria for an NP Group or Track (i.e. greater than, less than, etc.) | |
deviceTypeCriteria | string | Managed Chassis | The deviceType criteria for an NP Group or Track. |
deviceNameCriteria | string | The deviceName criteria for an NP Group or Track. | |
deviceNameRegexCriteria | string | The deviceName regex criteria for an NP Group or Track. | |
deviceSysnameCriteria | string | The deviceSysname criteria for an NP Group or Track. | |
deviceSysnameRegexCriteria | string | The deviceSysname regex criteria for an NP Group or Track. | |
imageNameCriteria | string | The imageName criteria for an NP Group or Track. | |
imageNameRegexCriteria | string | The imageName regex criteria for an NP Group or Track. | |
productFamilyCriteria | string | The productFamily criteria for an NP Group or Track. | |
chassisPidCriteria | string | The Chassis Product ID criteria for an NP Group or Track. | |
chassisSnmpNameCriteria | string | The Chassis SNMP Name criteria for an NP Group or Track. | |
modulePidCriteria | string | The Module Product ID criteria for an NP Group or Track. | |
modulePidOperandCriteria | string | OR | The Module Product ID operator criteria for an NP Group or Track. |
moduleSnmpNameCriteria | string | The Module SNMP Name criteria for an NP Group or Track. | |
moduleSnmpNameOperandCriteria | string | AND | The Module SNMP Name operator criteria for an NP Group or Track. |
powerSupplyPidCriteria | string | The Power Supply Product ID criteria for an NP Group or Track. | |
powerSupplyPidOperandCriteria | string | OR | The Power Supply Product ID operator criteria for an NP Group or Track. |
fanPidCriteria | string | The Fan Product ID criteria for an NP Group or Track. | |
fanPidOperandCriteria | string | OR | The Fan Product ID operator criteria for an NP Group or Track. |
technologyCriteria | string | IP Multicast | The Technology criteria for an NP Group or Track. |
technologyOperandCriteria | string | OR | The Technology operator criteria for an NP Group or Track. |
featureCriteria | string | BGP | The Feature criteria for an NP Group or Track. |
featureOperandCriteria | string | OR | The Feature operator criteria for an NP Group or Track. |
featureSetDescCriteria | string | The Feature Set Description criteria for an NP Group or Track. | |
userField1Criteria | string | The User Field1 criteria for an NP Group or Track. | |
userField2Criteria | string | The User Field2 criteria for an NP Group or Track. | |
userField3Criteria | string | The User Field3 criteria for an NP Group or Track. | |
userField4Criteria | string | The User Field4 criteria for an NP Group or Track. | |
ipAddressCriteria | string | The IP Address criteria for an NP Group or Track. | |
sysLocationCriteria | string | The sysLocation criteria for an NP Group or Track. | |
swVersionCriteria | string | The Software Version criteria for an NP Group or Track. | |
productTypeCriteria | string | The Product Type criteria for an NP Group or Track. | |
collectorCriteria | string | The Collector criteria for an NP Group or Track. |
NP_STAGE Group Members
The NP groups and their device members.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/group_members?cpyKey=81714"
from mimir import Mimir
m = Mimir()
group_members = m.np_stage.group_members.get(cpyKey=81714)
GET
/api/mimir/np_stage/group_members
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
groupName | string | false | false | None | groupName | Group Name - Name of the NP Group |
deviceId | integer | false | true | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
Response
Name | Type | Example | Definition |
---|---|---|---|
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
groupId | integer | 321213 | The unique ID of the NP Group |
groupName | string | Name of the NP Group |
NP_STAGE Groups
The list of NP groups for a company. Use this API to get groupId values to use in other API calls.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/groups?cpyKey=81714"
from mimir import Mimir
m = Mimir()
groups = m.np_stage.groups.get(cpyKey=81714)
GET
/api/mimir/np_stage/groups
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
groupName | string | false | false | None | groupName | Group Name - Name of the NP Group |
Response
Name | Type | Example | Definition |
---|---|---|---|
groupName | string | Name of the NP Group | |
groupId | integer | 321213 | The unique ID of the NP Group |
groupDescription | string | Description of the group | |
viewerGroup | boolean | Group Enabled for UI/Report Filtering. | |
totalDevices | integer | The number of unique matching devices in summary APIs. For Custom Config and BP, this is the number of devices with exceptions. For Feature, this is the number of devices with the feature match. For tracks, this is the total number of devices in the track. |
NP_STAGE Hardware
Hardware inventory details.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/hardware?cpyKey=81714"
from mimir import Mimir
m = Mimir()
hardware = m.np_stage.hardware.get(cpyKey=81714)
GET
/api/mimir/np_stage/hardware
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | true | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
physicalType | string | false | false | None | Chassis | Physical Type - The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
physicalSubType | string | false | false | None | IP-PHONE | Physical SubType - For chassis physicalType, this field will indicate which are IP-PHONE, LWAP, or UCSB. |
productType | string | false | false | None | Metro Ethernet Switches | Product Type - The Cisco Product Type in COLD of the hardware. Values usually come from MDF. |
productFamily | string | false | false | None | Cisco Catalyst 3560-E Series Switches | Product Family - The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
productId | string | false | false | None | productId | Product ID (PID) - The Cisco Product ID (PID) of the hardware as contained in Product IC. |
serialNumber | string | false | false | None | serialNumber | Serial Number - The serial number of the hardware. |
trackId | integer | false | false | None | 12345 | Track ID - Internal NP Software Track identifier. This is needed to join between various track API results. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
physicalElementId | integer | 139163375 | The unique ID in NP for a specific piece of hardware. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
chassisName | string | The name of the chassis. This is useful to reference child hardware to its parent chassis in a multi-chassis set-up. | |
physicalType | string | Chassis | The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
physicalSubType | string | IP-PHONE | For chassis physicalType, this field will indicate which are IP-PHONE, LWAP, or UCSB. |
slot | string | 1/1/0 | The slot where a hardware component is located in a chassis. |
productId | string | The Cisco Product ID (PID) of the hardware as contained in Product IC. | |
swVersion | string | 15.1(4)M4 | The Software Version of the device. |
serialNumber | string | The serial number of the hardware. | |
serialNumberStatus | string | The validation status of the serial number of the hardware. VALID means the SN was found in Cisco MFG or Contract DB. INVALID means the SN was not found in either of those DBs. UNKNOWN means the SN validation has been completed. N/A means the SN is null, so validation is not applicable. | |
productType | string | Metro Ethernet Switches | The Cisco Product Type in COLD of the hardware. Values usually come from MDF. |
productFamily | string | Cisco Catalyst 3560-E Series Switches | The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
hwRev | string | 1.3 | The hardware revision. |
tan | string | 800-25952-06 | The Top Assembly Number (TAN) of the hardware. |
tanRev | string | A0 | The Top Assembly Number (TAN) Revision of the hardware. |
pcb | string | 73-9938-05 | The printed circuit board (PCB) number of the hardware. |
pcbRev | string | B0 | The printed circuit board (PCB) number revision of the hardware. |
installedMemory | integer | The amount of installed memory in the chassis (in megabytes). | |
installedFlash | integer | The amount of installed flash in the chassis (in megabytes). | |
vid | string | V01 | Cisco hardware Version ID |
NP_STAGE Hw Eox
Hardware EoX details.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/hw_eox?cpyKey=81714"
from mimir import Mimir
m = Mimir()
hw_eox = m.np_stage.hw_eox.get(cpyKey=81714)
GET
/api/mimir/np_stage/hw_eox
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
physicalType | string | false | false | None | Chassis | Physical Type - The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
currentEoxMilestone | string | false | false | None | EoSale | Current EoX Milestone - The current end-of-life milestone as calculated during last NP profile. If more than one milestone falls on the same date, the returned value will be a comma-separated list. |
nextEoxMilestone | string | false | false | None | LDoS | Next EoX Milestone - The next end-of-life milestone that is coming up as calculated during last NP profile. If more than one milestone falls on the same date, the returned value will be a comma-separated list. If the device is already LDoS it will not have an next milestone. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
physicalElementId | integer | 139163375 | The unique ID in NP for a specific piece of hardware. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
productId | string | The Cisco Product ID (PID) of the hardware as contained in Product IC. | |
physicalType | string | Chassis | The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
currentEoxMilestone | string | EoSale | The current end-of-life milestone as calculated during last NP profile. If more than one milestone falls on the same date, the returned value will be a comma-separated list. |
currentEoxMilestoneDate | datetime | The date associated with the current end-of-life milestone. | |
nextEoxMilestone | string | LDoS | The next end-of-life milestone that is coming up as calculated during last NP profile. If more than one milestone falls on the same date, the returned value will be a comma-separated list. If the device is already LDoS it will not have an next milestone. |
nextEoxMilestoneDate | datetime | The date associated with the next end-of-life milestone. | |
hwEoxId | integer | Internal hardware end-of-life identifier to allow join with master hw_eox_bulletins API. |
NP_STAGE Hw Eox Bulletin Replacement Pids
Hardware EoX Bulletin replacement PIDs as defined on the bulletin at the time of bulletin release. Be aware that these replacement PIDs themselves may also already have an EOX bulletin issued for them. Not all EOX bulletin PIDs will have a replacement defined and some may have more than one replacement.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/hw_eox_bulletin_replacement_pids"
from mimir import Mimir
m = Mimir()
hw_eox_bulletin_replacement_pids = m.np_stage.hw_eox_bulletin_replacement_pids.get()
GET
/api/mimir/np_stage/hw_eox_bulletin_replacement_pids
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
hwEoxId | integer | false | false | None | 12345 | Hardware EoX ID - Internal hardware end-of-life identifier to allow join with master hw_eox_bulletins API. |
bulletinProductId | string | false | false | None | bulletinProductId | Bulletin Product ID (PID) - The Cisco Product ID (PID) reported on an EOL bulletin. This may not be the same as the productId reported in the customer’s inventory. |
bulletinNumber | string | false | false | None | EOL9958 | Bulletin Number - The Cisco.com bulletin number for an End-of-Life bulletin or Field Notice. |
Response
Name | Type | Example | Definition |
---|---|---|---|
hwEoxId | integer | Internal hardware end-of-life identifier to allow join with master hw_eox_bulletins API. | |
bulletinProductId | string | The Cisco Product ID (PID) reported on an EOL bulletin. This may not be the same as the productId reported in the customer’s inventory. | |
bulletinNumber | string | EOL9958 | The Cisco.com bulletin number for an End-of-Life bulletin or Field Notice. |
replacementProductId | string | The replacement Cisco Product ID (PID) reported on an EOL bulletin at the time the bulletin was published. Note: This replacement PID may not be orderable any longer. |
NP_STAGE Hw Eox Bulletins
Hardware EoX Bulletin details.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/hw_eox_bulletins"
from mimir import Mimir
m = Mimir()
hw_eox_bulletins = m.np_stage.hw_eox_bulletins.get()
GET
/api/mimir/np_stage/hw_eox_bulletins
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
hwEoxId | integer | false | false | None | 12345 | Hardware EoX ID - Internal hardware end-of-life identifier to allow join with master hw_eox_bulletins API. |
productId | string | false | false | None | productId | Product ID (PID) - The Cisco Product ID (PID) of the hardware as contained in Product IC. |
bulletinNumber | string | false | false | None | EOL9958 | Bulletin Number - The Cisco.com bulletin number for an End-of-Life bulletin or Field Notice. |
bulletinTitle | string | false | false | None | Cisco IOS XR Software Release 4.0 | Bulletin Title - The Cisco.com Title/Headline for the bulletin. |
eoLifeAnnouncementDate | datetime | false | false | None | 2016-12-02T20:10:32Z | End-of-Life Announcement Date - The End-of-Life Announcement (Announced) Date. |
eoSaleDate | datetime | false | false | None | 2016-12-02T20:10:32Z | End-of-Sale Date - The End-of-Sale (EoSale) Date. |
lastShipDate | datetime | false | false | None | 2016-12-02T20:10:32Z | Last Ship Date - The Last Ship Date. |
eoSwMaintenanceReleasesDate | datetime | false | false | None | 2016-12-02T20:10:32Z | End of SW Maintenance Releases Date - The End of SW Maintenance Releases (EoSWM) Date. |
eoRoutineFailureAnalysisDate | datetime | false | false | None | 2016-12-02T20:10:32Z | End of Routine Failure Analysis Date - The End of Routine Failure Analysis Date (EoRFA) Date. |
eoNewServiceAttachDate | datetime | false | false | None | 2016-12-02T20:10:32Z | End of New Service Attachment Date - The End of New Service Attachment Date. |
eoSoftwareContractRenewalDate | datetime | false | false | None | 2016-12-02T20:10:32Z | End of Service Contract Renewal Date - The End of Service Contract Renewal (EoSCR) Date. |
lastDateOfSupport | datetime | false | false | None | 2016-12-02T20:10:32Z | Last Date of Support - The Last Date of Support (LDoS). |
startCreateDate | date | false | false | None | 2016-12-02 | Start Create Date - The starting date for a range search in a createDate field. |
endCreateDate | date | false | false | None | 2016-12-02 | End Create Date - The ending date for a range search in a createDate field. |
Response
Name | Type | Example | Definition |
---|---|---|---|
hwEoxId | integer | Internal hardware end-of-life identifier to allow join with master hw_eox_bulletins API. | |
productId | string | The Cisco Product ID (PID) of the hardware as contained in Product IC. | |
bulletinNumber | string | EOL9958 | The Cisco.com bulletin number for an End-of-Life bulletin or Field Notice. |
bulletinTitle | string | Cisco IOS XR Software Release 4.0 | The Cisco.com Title/Headline for the bulletin. |
bulletinUrl | string | The Cisco.com URL for the bulletin. | |
eoLifeAnnouncementDate | datetime | The End-of-Life Announcement (Announced) Date. | |
eoSaleDate | datetime | The End-of-Sale (EoSale) Date. | |
lastShipDate | datetime | The Last Ship Date. | |
eoSwMaintenanceReleasesDate | datetime | The End of SW Maintenance Releases (EoSWM) Date. | |
eoSecurityVulSupportDate | datetime | The End of Vulnerability/Security Support (EoVSS) Date. | |
eoRoutineFailureAnalysisDate | datetime | The End of Routine Failure Analysis Date (EoRFA) Date. | |
eoNewServiceAttachDate | datetime | The End of New Service Attachment Date. | |
eoSoftwareContractRenewalDate | datetime | The End of Service Contract Renewal (EoSCR) Date. | |
lastDateOfSupport | datetime | The Last Date of Support (LDoS). |
NP_STAGE Idp History
History of uploads processed by IDP for a collector.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/idp_history?collector=collector"
from mimir import Mimir
m = Mimir()
idp_history = m.np_stage.idp_history.get(collector='collector')
GET
/api/mimir/np_stage/idp_history
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
collector | string | true | true | None | collector | Collector - The collector identifier, which can be either a 4 character collectorid or the applianceid. |
Response
Name | Type | Example | Definition |
---|---|---|---|
collector | string | The collector identifier, which can be either a 4 character collectorid or the applianceid. | |
createDate | datetime | The date the record or rule was created in NP database. For devices, a new record is created whenever a unique name+sysobjectid combination is seen in the collector. | |
uploadDate | datetime | The timestamp of the upload. | |
idpNotes | string | The archive_location value from IDP History table.. | |
partial | boolean | Was the upload a partial upload? |
NP_STAGE Interfaces
All device interfaces and associated IP Address information as reported in SNMP. If you want to return only interfaces with an IP Address then call the API with a wildcard as input for ipAddress. This API can return a very large number of records, so use with caution and use input filters, where appropriate.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/interfaces?cpyKey=81714"
from mimir import Mimir
m = Mimir()
interfaces = m.np_stage.interfaces.get(cpyKey=81714)
GET
/api/mimir/np_stage/interfaces
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
interfaceName | string | false | false | None | Se3/2 | Interface Name - The short interface name. Same as SNMP IF-MIB ifName. |
interfaceDescription | string | false | false | None | Serial3/2 | Interface Description - The interface description. Same as SNMP IF-MIB ifDescr. This is not to be confused with the user description entered in the configs. That is ifAlias. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
ipAddress | string | false | false | None | 172.16.1.1 | IP Address - An IPv4 Address. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
interfaceName | string | Se3/2 | The short interface name. Same as SNMP IF-MIB ifName. |
interfaceDescription | string | Serial3/2 | The interface description. Same as SNMP IF-MIB ifDescr. This is not to be confused with the user description entered in the configs. That is ifAlias. |
interfaceAlias | string | Serial Link from RTP to SJC | The user-defined interface description. Same as SNMP IF-MIB ifAlias. |
interfaceSpeed | integer | 10000000 | The speed of the interface in bps. If it is high-speed interface, the value comes from ifHighSpeed else it comes from ifSpeed. |
interfaceMtu | integer | 1514 | The Maximum Transmission Unit (MTU) size for the interface. Same as SNMP IF-MIB ifMtu. |
macAddress | string | 001c0e9ca43f | The Media Access Control (MAC) Address in hex. |
ipAddress | string | 172.16.1.1 | An IPv4 Address. |
adminStatus | string | up | The administrative status of an interface. Valid values include up, down, testing. |
operStatus | string | down | The operational status of an interface. Valid values include up, down, testing, unknown, dormant, notPresent, lowerLayerDown. |
interfaceCategory | string | LAN | The Type of interface as categorized by Network Profile. |
interfaceType | string | ethernetCsmacd | The type of interface as defined in IF-MIB ifType. |
NP_STAGE Ipaddresses
All IPv4 Addresses and Subnet masks in the network.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/ipaddresses?cpyKey=81714"
from mimir import Mimir
m = Mimir()
ipaddresses = m.np_stage.ipaddresses.get(cpyKey=81714)
GET
/api/mimir/np_stage/ipaddresses
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
ipAddress | string | false | false | None | 172.16.1.1 | IP Address - An IPv4 Address. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
Response
Name | Type | Example | Definition |
---|---|---|---|
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
ipAddress | string | 172.16.1.1 | An IPv4 Address. |
subnetMask | string | 255.255.255.0 | The subnet mask associated with an IPv4 address in the network. |
NP_STAGE Kpi Bp
NP Config Best Practice KPIs.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/kpi_bp?cpyKey=81714"
from mimir import Mimir
m = Mimir()
kpi_bp = m.np_stage.kpi_bp.get(cpyKey=81714)
GET
/api/mimir/np_stage/kpi_bp
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
devicesAnalyzed | integer | The number of devices analyzed. This is usually used in the denominator of KPI calculations. | |
bpTotalExceptions | integer | The total number of BP exceptions for all devices analyzed and all rules applied. | |
bpExceptionsPerDevice | number | The average number of BP exceptions per device in the network. | |
bpRulesWithExceptions | integer | The unique BP rules that have at least one device violating the rule. | |
bpUniqueDevicesLow | integer | The number of devices with at least one Low Risk BP exception. | |
bpUniqueDevicesMed | integer | The number of devices with at least one Medium Risk BP exception. | |
bpUniqueDevicesHigh | integer | The number of devices with at least one High Risk BP exception. |
NP_STAGE Kpi Hw Eox
NP Hardware EoX KPIs.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/kpi_hw_eox?cpyKey=81714"
from mimir import Mimir
m = Mimir()
kpi_hw_eox = m.np_stage.kpi_hw_eox.get(cpyKey=81714)
GET
/api/mimir/np_stage/kpi_hw_eox
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
physicalType | string | false | false | None | Chassis | Physical Type - The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
physicalType | string | Chassis | The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
ldos | integer | Count that is currently LDoS. | |
ldosIn3Months | integer | Count that is going LDoS within next 3 months. | |
ldosIn6Months | integer | Count that is going LDoS within next 6 months. | |
ldosIn12Months | integer | Count that is going LDoS within next 12 months. |
NP_STAGE Kpi Inventory
NP Inventory KPIs.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/kpi_inventory?cpyKey=81714"
from mimir import Mimir
m = Mimir()
kpi_inventory = m.np_stage.kpi_inventory.get(cpyKey=81714)
GET
/api/mimir/np_stage/kpi_inventory
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
totalDevices | integer | The number of unique matching devices in summary APIs. For Custom Config and BP, this is the number of devices with exceptions. For Feature, this is the number of devices with the feature match. For tracks, this is the total number of devices in the track. | |
devicesReachable | integer | The total number of reachable devices for a company. | |
devicesReachablePercent | number | The percentage of reachable devices for a company. | |
inventoryCollected | integer | The total number of devices with some inventory for a company. | |
inventoryCollectedPercent | number | The percentage of devices with some inventory for a company. | |
configCollected | integer | The total number of devices with a running config for a company. | |
configCollectedPercent | number | The percentage of devices with a running config for a company. The denominator will not count devices not capable of producing an ascii running config. |
NP_STAGE Kpi Psirt
NP PSIRT KPIs.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/kpi_psirt?cpyKey=81714"
from mimir import Mimir
m = Mimir()
kpi_psirt = m.np_stage.kpi_psirt.get(cpyKey=81714)
GET
/api/mimir/np_stage/kpi_psirt
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
vulnerablePsirts | integer | The total number of PSIRTs with at least one vulnerable device. | |
potVulnerablePsirts | integer | The total number of PSIRTs with at least one potentially vulnerable device. | |
devicesVulnerable | integer | The total number of devices vulnerable to at least one PSIRT. | |
devicesVulnerablePercent | number | The percentage of devices vulnerable to at least one PSIRT. | |
devicesPotVulnerable | integer | The total number of devices potentially vulnerable to at least one PSIRT. | |
devicesPotVulnerablePercent | number | The percentage of devices potentially vulnerable to at least one PSIRT. |
NP_STAGE Kpi Software
NP Software KPIs.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/kpi_software?cpyKey=81714"
from mimir import Mimir
m = Mimir()
kpi_software = m.np_stage.kpi_software.get(cpyKey=81714)
GET
/api/mimir/np_stage/kpi_software
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
swDevicesAnalyzed | integer | The total number of devices in one or more software tracks defined in Network Profile. | |
swCompliantDevices | integer | The total number of devices compliant to the standard recommended version in a software track defined in Network Profile. | |
swCompliancePercent | number | The percentage of devices compliant to the standard recommended version in a software track defined in Network Profile. Formula: swCompliantDevices/swDevicesAnalyzed | |
swFlexibleCompliantDevices | integer | The total number of devices compliant to the standard recommended version or one of the previous two versions in a software track defined in Network Profile. | |
swFlexibleCompliancePercent | number | The percentage of devices compliant to the standard recommended version or one of the previous two versions in a software track defined in Network Profile. Formula: swFlexibleCompliantDevices/swDevicesAnalyzed | |
swUniqueVersions | integer | The number of unique software versions running on devices that are in one of more software tracks defined in Network Profile. |
NP_STAGE Kpi Sw Eox
NP Software EoX KPIs.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/kpi_sw_eox?cpyKey=81714"
from mimir import Mimir
m = Mimir()
kpi_sw_eox = m.np_stage.kpi_sw_eox.get(cpyKey=81714)
GET
/api/mimir/np_stage/kpi_sw_eox
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
ldos | integer | Count that is currently LDoS. | |
ldosIn3Months | integer | Count that is going LDoS within next 3 months. | |
ldosIn6Months | integer | Count that is going LDoS within next 6 months. | |
ldosIn12Months | integer | Count that is going LDoS within next 12 months. |
NP_STAGE Last Profile Details
Details of key profile completion times per company. This is used for smart polling of NP (i.e. poll and record the timestamp. Next time, if the timestamp has not changed, you don’t need to re-pull NP data again).
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/last_profile_details?cpyKey=81714"
from mimir import Mimir
m = Mimir()
last_profile_details = m.np_stage.last_profile_details.get(cpyKey=81714)
GET
/api/mimir/np_stage/last_profile_details
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
profileName | string | Software Strategy | The name of an NP profile process. |
lastProfileComplete | datetime | The timestamp when the last successful profile completed. |
NP_STAGE Last Profile Details By Collector
Time when all NP profiling last completed after a collector upload.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/last_profile_details_by_collector?cpyKey=81714"
from mimir import Mimir
m = Mimir()
last_profile_details_by_collector = m.np_stage.last_profile_details_by_collector.get(cpyKey=81714)
GET
/api/mimir/np_stage/last_profile_details_by_collector
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
collector | string | no16 | The unique 4 character id for a Cisco collector. |
lastProfileComplete | datetime | The timestamp when the last successful profile completed. |
NP_STAGE Last Profile Time
Timestamp for most recently completed profile for a company. This is useful for smart polling of NP (i.e. poll and record the timestamp. Next time, if the timestamp has not changed, you don’t need to re-pull NP data again).
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/last_profile_time?cpyKey=81714"
from mimir import Mimir
m = Mimir()
last_profile_time = m.np_stage.last_profile_time.get(cpyKey=81714)
GET
/api/mimir/np_stage/last_profile_time
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
lastProfileComplete | datetime | The timestamp when the last successful profile completed. |
NP_STAGE Netapp Nodes
NetApp Node details from NETAPP-MIB.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/netapp_nodes?cpyKey=81714"
from mimir import Mimir
m = Mimir()
netapp_nodes = m.np_stage.netapp_nodes.get(cpyKey=81714)
GET
/api/mimir/np_stage/netapp_nodes
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
netappNodeName | string | Name of the NetApp Node as reported in NETAPP-MIB. | |
netappNodeLocation | string | nodelocation field from NETAPP-MIB. | |
netappNodeModel | string | nodemodel field from NETAPP-MIB. | |
netappNodeSerialNumber | string | nodeserialnumber field from NETAPP-MIB. | |
netappNodeFirmwareVersion | string | nodefirmwareversion field from NETAPP-MIB. |
NP_STAGE Np Access Requests
Status of requests for access to NP by NonAS members or access to Highly Restricted Accounts.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/np_access_requests"
from mimir import Mimir
m = Mimir()
np_access_requests = m.np_stage.np_access_requests.get()
GET
/api/mimir/np_stage/np_access_requests
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
userId | string | false | false | None | mycecid | User ID - A Cisco userid. |
managerUserId | string | false | false | None | managerUserId | Manager UserID - The userID of the HR manager or Delivery Manager. |
cpyName | string | false | false | None | cpyName | Company Name - The company name as defined in CSTG Support Central for display in AS Tools. |
approvalStatus | string | false | false | None | APPROVED | Approval Status - The status of NP access request approval. Valid values include: APPROVED, PENDING, REJECTED. |
Response
Name | Type | Example | Definition |
---|---|---|---|
accessRequestType | string | Highly Restricted Account Access Request | The type of access request made to NP. |
userId | string | mycecid | A Cisco userid. |
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
cpyName | string | The company name as defined in CSTG Support Central for display in AS Tools. | |
accountType | string | Highly Restricted Account | The type of restriction of the account. Valid values are Restricted Account, Highly Restricted Account. |
dateRequested | datetime | The date an access request was made. | |
managerUserId | string | The userID of the HR manager or Delivery Manager. | |
managerApprovalStatus | string | APPROVED | The status of NP access request approval by the Manager (HR or DM). Valid values include: APPROVED, PENDING, REJECTED. |
managerLastActionDate | datetime | The date of last action taken by the Manager. | |
managerComments | string | The access request comments entered in NP by the manager. | |
pmUserId | string | The userID of the NP Product Manager. | |
pmApprovalStatus | string | APPROVED | The status of NP access request approval by the NP Product Manager. Valid values include: APPROVED, PENDING, REJECTED. |
pmLastActionDate | datetime | The date of last action taken by the NP Product Manager. | |
pmComments | string | The access request comments entered in NP by the NP Product Manager. |
NP_STAGE Np Access Revoked
Users that have had access to specific companies or all of NP revoked.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/np_access_revoked"
from mimir import Mimir
m = Mimir()
np_access_revoked = m.np_stage.np_access_revoked.get()
GET
/api/mimir/np_stage/np_access_revoked
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyName | string | false | false | None | cpyName | Company Name - The company name as defined in CSTG Support Central for display in AS Tools. |
userId | string | false | false | None | mycecid | User ID - A Cisco userid. |
dateAccessRevoked | string | false | false | None | dateAccessRevoked | Date Access Revoked - The date a user’s access was revoked to an NP Company or to all of NP (cpyKey=-1). Regex may be allowed in some APIs when field used as input. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
cpyName | string | The company name as defined in CSTG Support Central for display in AS Tools. | |
userId | string | mycecid | A Cisco userid. |
dateAccessRevoked | datetime | The date a user’s access was revoked to an NP Company or to all of NP (cpyKey=-1). Regex may be allowed in some APIs when field used as input. |
NP_STAGE Peer Devices
Peer device details.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/peer_devices?cpyKey=81714"
from mimir import Mimir
m = Mimir()
peer_devices = m.np_stage.peer_devices.get(cpyKey=81714)
GET
/api/mimir/np_stage/peer_devices
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
peerDeviceId | integer | 22345640 | The unique ID of the Nexus VDC peer. |
peerDeviceName | string | The Network Element Name of the Nexus 7K peer device. | |
peerDeviceType | string | Device Type of the peer device | |
physicalElementId | integer | 139163375 | The unique ID in NP for a specific piece of hardware. |
physicalType | string | Chassis | The physical type of the hardware. Valid values are: Chassis, Module, Power Supply, Fan. |
serialNumber | string | The serial number of the hardware. |
NP_STAGE Profile Details
Time when each NP profiling last completed for each collector.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/profile_details?cpyKey=81714"
from mimir import Mimir
m = Mimir()
profile_details = m.np_stage.profile_details.get(cpyKey=81714)
GET
/api/mimir/np_stage/profile_details
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
profileName | string | false | false | None | Software Strategy | Profile Name - The name of an NP profile process. |
collector | string | false | false | None | no16 | Collector - The unique 4 character id for a Cisco collector. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
profileName | string | Software Strategy | The name of an NP profile process. |
collector | string | no16 | The unique 4 character id for a Cisco collector. |
lastProfileComplete | datetime | The timestamp when the last successful profile completed. |
NP_STAGE Psirt Bulletins
Software Security Alert (PSIRT) bulletins from PAS/COLD.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/psirt_bulletins"
from mimir import Mimir
m = Mimir()
psirt_bulletins = m.np_stage.psirt_bulletins.get()
GET
/api/mimir/np_stage/psirt_bulletins
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
psirtColdId | integer | false | false | None | 12345 | PSIRT COLD ID - The internal COLD ID for a PSIRT. This is useful for joining multiple data sources. |
bulletinFirstPublished | string | false | false | None | bulletinFirstPublished | Bulletin First Published - The date when the bulletin was first published to Cisco.com. Most API calls will allow Regex input for this field. |
sir | string | false | false | None | Critical | SIR - The Security Impact Rating (SIR) for Cisco PSIRTs. |
cveId | string | false | false | None | CVE-2016-6355 | CVE-ID - Common Vulnerabilities and Exposures (CVE) Identifier |
psirtAdvisoryId | string | false | false | None | cisco-sa-20150325-mdns | PSIRT Advisory ID - The Advisory ID of a PSIRT as seen on Cisco.com. |
bulletinTitle | string | false | false | None | Cisco IOS XR Software Release 4.0 | Bulletin Title - The Cisco.com Title/Headline for the bulletin. |
Response
Name | Type | Example | Definition |
---|---|---|---|
psirtColdId | integer | The internal COLD ID for a PSIRT. This is useful for joining multiple data sources. | |
psirtAdvisoryId | string | cisco-sa-20150325-mdns | The Advisory ID of a PSIRT as seen on Cisco.com. |
bulletinTitle | string | Cisco IOS XR Software Release 4.0 | The Cisco.com Title/Headline for the bulletin. |
bulletinFirstPublished | string | The date when the bulletin was first published to Cisco.com. Most API calls will allow Regex input for this field. | |
bulletinLastUpdated | datetime | The date when the bulletin was last updated on Cisco.com. | |
bulletinVersion | string | 1.1 | The version # of the Cisco.com bulletin. |
sir | string | Critical | The Security Impact Rating (SIR) for Cisco PSIRTs. |
cveId | string | CVE-2016-6355 | Common Vulnerabilities and Exposures (CVE) Identifier |
cvssBase | string | 7.8 | Common Vulnerability Scoring System (CVSS) Base Score |
cvssTemporal | string | 5.0 | Common Vulnerability Scoring System (CVSS) Temporal Score |
bulletinSummary | string | The Summary of a Cisco.com bulletin. | |
bulletinMappingCaveat | string | The Bulletin Mapping Caveat gives any explanations why the automation may need additional review by the customer. | |
bulletinUrl | string | The Cisco.com URL for the bulletin. | |
ciscoBugIds | string | Comma-separated list of Cisco Bug IDs. |
NP_STAGE Psirt Comments
PSIRT impact, options/workarounds, action plan, and comments as entered by the NCE in Network Profile.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/psirt_comments?cpyKey=81714"
from mimir import Mimir
m = Mimir()
psirt_comments = m.np_stage.psirt_comments.get(cpyKey=81714)
GET
/api/mimir/np_stage/psirt_comments
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
psirtColdId | integer | false | false | None | 12345 | PSIRT COLD ID - The internal COLD ID for a PSIRT. This is useful for joining multiple data sources. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
psirtColdId | integer | The internal COLD ID for a PSIRT. This is useful for joining multiple data sources. | |
nceComments | string | Any comments entered by the NCE for the particular data type. | |
userId | string | mycecid | A Cisco userid. |
updateDate | datetime | The timestamp when the data or rule was last updated. | |
applicableGroupIds | string | Groups applicable to the PSIRT NCE comments as selected by NCEs in the NP Portal while entering the NCE comments | |
groupName | string | Groups Name applicable to the PSIRT NCE comments as selected by NCEs in the NP Portal while entering the NCE comments |
NP_STAGE Psirt Details
Software Security Alert (PSIRT) result details. Join with psirt_bulletins API for bulletin data and devices or device_details API for devices data.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/psirt_details?cpyKey=81714"
from mimir import Mimir
m = Mimir()
psirt_details = m.np_stage.psirt_details.get(cpyKey=81714)
GET
/api/mimir/np_stage/psirt_details
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
psirtColdId | integer | false | true | None | 12345 | PSIRT COLD ID - The internal COLD ID for a PSIRT. This is useful for joining multiple data sources. |
matchConfidence | string | false | true | None | matchConfidence | Match Confidence - The match confidence result from PAS. Valid values include: Vulnerable, Potentially Vulnerable, Not Vulnerable. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
psirtColdId | integer | The internal COLD ID for a PSIRT. This is useful for joining multiple data sources. | |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
matchConfidence | string | The match confidence result from PAS. Valid values include: Vulnerable, Potentially Vulnerable, Not Vulnerable. | |
matchConfidenceReason | string | The reason behind the match confidence result from PAS. Explains why you are vulnerable or not vulnerable or what data is missing to cause a potentially vulnerable result. PAS value is enhanced in NP for readability. |
NP_STAGE Psirt Summary
Software Security Alert (PSIRT) Summary by COLD PSIRT ID.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/psirt_summary?cpyKey=81714"
from mimir import Mimir
m = Mimir()
psirt_summary = m.np_stage.psirt_summary.get(cpyKey=81714)
GET
/api/mimir/np_stage/psirt_summary
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
psirtColdId | integer | false | false | None | 12345 | PSIRT COLD ID - The internal COLD ID for a PSIRT. This is useful for joining multiple data sources. |
bulletinFirstPublished | string | false | false | None | bulletinFirstPublished | Bulletin First Published - The date when the bulletin was first published to Cisco.com. Most API calls will allow Regex input for this field. |
sir | string | false | false | None | Critical | SIR - The Security Impact Rating (SIR) for Cisco PSIRTs. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
psirtColdId | integer | The internal COLD ID for a PSIRT. This is useful for joining multiple data sources. | |
bulletinTitle | string | Cisco IOS XR Software Release 4.0 | The Cisco.com Title/Headline for the bulletin. |
bulletinFirstPublished | string | The date when the bulletin was first published to Cisco.com. Most API calls will allow Regex input for this field. | |
bulletinLastUpdated | datetime | The date when the bulletin was last updated on Cisco.com. | |
sir | string | Critical | The Security Impact Rating (SIR) for Cisco PSIRTs. |
totalVulnerable | integer | The total number of devices vulnerable to a PSIRT or Field Notice. | |
totalPotentiallyVulnerable | integer | The total number of devices potentially vulnerable to a PSIRT or Field Notice. | |
totalNotVulnerable | integer | The total number of devices not vulnerable to a PSIRT or Field Notice. |
NP_STAGE Reports
Report generation history for a customer.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/reports?cpyKey=81714"
from mimir import Mimir
m = Mimir()
reports = m.np_stage.reports.get(cpyKey=81714)
GET
/api/mimir/np_stage/reports
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
reportName | string | The type of report that was generated. | |
userId | string | mycecid | A Cisco userid. |
reportDate | datetime | The date the report was requested. | |
customerDelivered | boolean | Was the report marked by the requestor as intended for customer delivery? |
NP_STAGE Secureboot
Devices matching Hardware criteria for secureboot PSIRT (cisco-sa-20190513-secureboot)
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/secureboot?cpyKey=81714"
from mimir import Mimir
m = Mimir()
secureboot = m.np_stage.secureboot.get(cpyKey=81714)
GET
/api/mimir/np_stage/secureboot
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swVersion | string | 15.1(4)M4 | The Software Version of the device. |
NP_STAGE Sntc Extra Collectors
Data for collectors that are in IBES but not active in NP.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/sntc_extra_collectors"
from mimir import Mimir
m = Mimir()
sntc_extra_collectors = m.np_stage.sntc_extra_collectors.get()
GET
/api/mimir/np_stage/sntc_extra_collectors
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
applianceId | string | false | false | None | up | Appliance ID - The unique appliance ID for a CSPC Collector. |
Response
Name | Type | Example | Definition |
---|---|---|---|
applianceId | string | up | The unique appliance ID for a CSPC Collector. |
createDate | datetime | A create date with time. | |
collectionDate | datetime | Timestamp when upload last received in IBES. | |
collector | string | no16 | The unique 4 character id for a Cisco collector. |
collectorStatus | string | Active | The status of the collector as specified in CSTG Support Central. Valid values: Active, Cisco Testing |
NP_STAGE Software
Software inventory details include System software and IOS XR PIEs and SMUs.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/software?cpyKey=81714"
from mimir import Mimir
m = Mimir()
software = m.np_stage.software.get(cpyKey=81714)
GET
/api/mimir/np_stage/software
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
swRole | string | false | false | None | SMU | Software Role - The Role of the Software running on the NP Network Element. Values include SYSTEM, PKG, SMU |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swVersion | string | false | false | None | 15.1(4)M4 | Software Version - The Software Version of the device. |
swMajorVersion | string | false | false | None | 15.2 | Software Major Version - The major version portion of the software version. |
swStatus | string | false | false | None | ACTIVE | Software Status - The Status of the Software running on the NP Network Element. Default value is ACTIVE. For PIE and SMU it can also be COMMITTED. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swVersion | string | 15.1(4)M4 | The Software Version of the device. |
swMajorVersion | string | 15.2 | The major version portion of the software version. |
swRole | string | SMU | The Role of the Software running on the NP Network Element. Values include SYSTEM, PKG, SMU |
swStatus | string | ACTIVE | The Status of the Software running on the NP Network Element. Default value is ACTIVE. For PIE and SMU it can also be COMMITTED. |
swName | string | asr9k-p-4.2.3.CSCtz41749-1.0.0 | The Name of the Software running on the NP Network Element. For System SW, the value is the Image Name. For PIE it is the package name and for SMU the SMU name. |
NP_STAGE Sw Alerts
Software Deferral and Advisory details.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/sw_alerts?cpyKey=81714"
from mimir import Mimir
m = Mimir()
sw_alerts = m.np_stage.sw_alerts.get(cpyKey=81714)
GET
/api/mimir/np_stage/sw_alerts
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
swAlertType | string | false | false | None | DF | Software Alert Type - The type of Software Alert on the device. Valid values include SA for Software Advisory and DF for Deferral. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
Response
Name | Type | Example | Definition |
---|---|---|---|
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
swAlertType | string | DF | The type of Software Alert on the device. Valid values include SA for Software Advisory and DF for Deferral. |
swAlertUrl | string | http://www.cisco.com/web/software/DefTracker/280805679/DT/ac102516.html | The Cisco.com URL with details for a specific software advisory or deferral. |
swVersion | string | 15.1(4)M4 | The Software Version of the device. |
imageName | string | The Image Name of the software on the Network Element. |
NP_STAGE Sw Eox
Software EoX details.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/sw_eox?cpyKey=81714"
from mimir import Mimir
m = Mimir()
sw_eox = m.np_stage.sw_eox.get(cpyKey=81714)
GET
/api/mimir/np_stage/sw_eox
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
currentEoxMilestone | string | false | false | None | EoSale | Current EoX Milestone - The current end-of-life milestone as calculated during last NP profile. If more than one milestone falls on the same date, the returned value will be a comma-separated list. |
nextEoxMilestone | string | false | false | None | LDoS | Next EoX Milestone - The next end-of-life milestone that is coming up as calculated during last NP profile. If more than one milestone falls on the same date, the returned value will be a comma-separated list. If the device is already LDoS it will not have an next milestone. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swVersion | string | 15.1(4)M4 | The Software Version of the device. |
currentEoxMilestone | string | EoSale | The current end-of-life milestone as calculated during last NP profile. If more than one milestone falls on the same date, the returned value will be a comma-separated list. |
currentEoxMilestoneDate | datetime | The date associated with the current end-of-life milestone. | |
nextEoxMilestone | string | LDoS | The next end-of-life milestone that is coming up as calculated during last NP profile. If more than one milestone falls on the same date, the returned value will be a comma-separated list. If the device is already LDoS it will not have an next milestone. |
nextEoxMilestoneDate | datetime | The date associated with the next end-of-life milestone. | |
swEoxId | integer | Internal software end-of-life identifier to allow join with master sw_eox_bulletins API. |
NP_STAGE Sw Eox Bulletins
Software EoX Bulletin details.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/sw_eox_bulletins"
from mimir import Mimir
m = Mimir()
sw_eox_bulletins = m.np_stage.sw_eox_bulletins.get()
GET
/api/mimir/np_stage/sw_eox_bulletins
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
swEoxId | integer | false | false | None | 12345 | Software EoX ID - Internal software end-of-life identifier to allow join with master sw_eox_bulletins API. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swMajorVersion | string | false | false | None | 15.2 | Software Major Version - The major version portion of the software version. |
swTrain | string | false | false | None | SXF | Software Train - The Software Train, typically only applies to IOS. |
bulletinNumber | string | false | false | None | EOL9958 | Bulletin Number - The Cisco.com bulletin number for an End-of-Life bulletin or Field Notice. |
bulletinTitle | string | false | false | None | Cisco IOS XR Software Release 4.0 | Bulletin Title - The Cisco.com Title/Headline for the bulletin. |
eoLifeAnnouncementDate | datetime | false | false | None | 2016-12-02T20:10:32Z | End-of-Life Announcement Date - The End-of-Life Announcement (Announced) Date. |
eoSaleDate | datetime | false | false | None | 2016-12-02T20:10:32Z | End-of-Sale Date - The End-of-Sale (EoSale) Date. |
eoSwMaintenanceReleasesDate | datetime | false | false | None | 2016-12-02T20:10:32Z | End of SW Maintenance Releases Date - The End of SW Maintenance Releases (EoSWM) Date. |
eoSecurityVulSupportDate | datetime | false | false | None | 2016-12-02T20:10:32Z | End of Vulnerability/Security Support Date - The End of Vulnerability/Security Support (EoVSS) Date. |
lastDateOfSupport | datetime | false | false | None | 2016-12-02T20:10:32Z | Last Date of Support - The Last Date of Support (LDoS). |
startCreateDate | date | false | false | None | 2016-12-02 | Start Create Date - The starting date for a range search in a createDate field. |
endCreateDate | date | false | false | None | 2016-12-02 | End Create Date - The ending date for a range search in a createDate field. |
Response
Name | Type | Example | Definition |
---|---|---|---|
swEoxId | integer | Internal software end-of-life identifier to allow join with master sw_eox_bulletins API. | |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swMajorVersion | string | 15.2 | The major version portion of the software version. |
swMaintenanceVersion | string | 21 | The maintenance version portion of the software version. For example, in 12.4(21), it is “21” |
swTrain | string | SXF | The Software Train, typically only applies to IOS. |
bulletinNumber | string | EOL9958 | The Cisco.com bulletin number for an End-of-Life bulletin or Field Notice. |
bulletinTitle | string | Cisco IOS XR Software Release 4.0 | The Cisco.com Title/Headline for the bulletin. |
bulletinUrl | string | The Cisco.com URL for the bulletin. | |
eoLifeAnnouncementDate | datetime | The End-of-Life Announcement (Announced) Date. | |
eoSaleDate | datetime | The End-of-Sale (EoSale) Date. | |
eoSwMaintenanceReleasesDate | datetime | The End of SW Maintenance Releases (EoSWM) Date. | |
eoSecurityVulSupportDate | datetime | The End of Vulnerability/Security Support (EoVSS) Date. | |
lastDateOfSupport | datetime | The Last Date of Support (LDoS). |
NP_STAGE Track Members
Software Track (SIAR) Members and their Conformance result.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/track_members?cpyKey=81714"
from mimir import Mimir
m = Mimir()
track_members = m.np_stage.track_members.get(cpyKey=81714)
GET
/api/mimir/np_stage/track_members
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
trackId | integer | false | false | None | 12345 | Track ID - Internal NP Software Track identifier. This is needed to join between various track API results. |
trackName | string | false | false | None | trackName | Track Name - NP Software Track Name. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
trackId | integer | Internal NP Software Track identifier. This is needed to join between various track API results. | |
trackName | string | NP Software Track Name. | |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
trackCompliant | boolean | true | Returns whether the device is compliant to the track standard recommended version. |
trackPreviousCompliant | boolean | false | Returns whether the device is compliant to one of the track’s previous two recommended versions. |
trackFlexibleCompliant | boolean | false | Returns whether the device is compliant to the standard version or one of the track’s previous two recommended versions. |
trackPieCompliance | string | Conforming | The status of PIE conformance for the device. Valid values include: Conforming, Conforming With Extras, Non Conforming, Ignored for Conformance, N/A - OS Version Non Conforming |
trackSmuCompliance | string | Conforming | The status of SMU conformance for the device. Valid values include: Conforming, Conforming With Extras, Non Conforming, Ignored for Conformance, N/A - OS Version Non Conforming |
trackStandardSmuCount | integer | The number of SMUs in the Standard Recommendation for the track. | |
trackSmuCompliant | integer | The number of SMUs on the device that are compliant to the standard recommended SMU list in the track. | |
trackSmuMissing | integer | The number of SMUs on the device that are missing and need to be added to match the standard recommended SMU list in the track. | |
trackSmuExtra | integer | The number of SMUs on the device that are extra. i.e. these SMUs are in addition to the standard recommended SMU list in the track. |
NP_STAGE Track Smupie Compliance
Software Track (SIAR) SMU and PIE Compliance per device.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/track_smupie_compliance?cpyKey=81714"
from mimir import Mimir
m = Mimir()
track_smupie_compliance = m.np_stage.track_smupie_compliance.get(cpyKey=81714)
GET
/api/mimir/np_stage/track_smupie_compliance
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
trackId | integer | false | false | None | 12345 | Track ID - Internal NP Software Track identifier. This is needed to join between various track API results. |
trackName | string | false | false | None | trackName | Track Name - NP Software Track Name. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
smuPieType | string | false | false | None | Active | SMU / PIE Type - The status of the SMU or PIE, which is either Active or Committed |
swRole | string | false | false | None | SMU | Software Role - The Role of the Software running on the NP Network Element. Values include SYSTEM, PKG, SMU |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
trackId | integer | Internal NP Software Track identifier. This is needed to join between various track API results. | |
trackName | string | NP Software Track Name. | |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
swRole | string | SMU | The Role of the Software running on the NP Network Element. Values include SYSTEM, PKG, SMU |
swName | string | asr9k-p-4.2.3.CSCtz41749-1.0.0 | The Name of the Software running on the NP Network Element. For System SW, the value is the Image Name. For PIE it is the package name and for SMU the SMU name. |
trackDeviceSmuPieCompliant | string | Compliant | Compliance status for a specific SMU/PIE for a device. “Compliant” means the SMU/PIE matches the recommendation. “Non-Compliant” means the SMU/PIE does not match the recommended list. See the action field for steps to take. “Extra” means the SMU/PIE isn’t part of the recommended list, but that is okay because exact match isn’t being used. |
trackDeviceSmuPieAction | string | Add | Action to take for a specific SMU/PIE for a device. “Add” means the SMU/PIE needs to be installed on the device to make it compliant. “Delete” means the SMU/PIE needs to be removed from the device to make it compliant. “None” means no action needs to be taken. |
smuPieType | string | Active | The status of the SMU or PIE, which is either Active or Committed |
NP_STAGE Track Smupie Recommendation
Software Track (SIAR) Recommended SMUs and PIEs.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/track_smupie_recommendation?cpyKey=81714"
from mimir import Mimir
m = Mimir()
track_smupie_recommendation = m.np_stage.track_smupie_recommendation.get(cpyKey=81714)
GET
/api/mimir/np_stage/track_smupie_recommendation
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
trackId | integer | false | false | None | 12345 | Track ID - Internal NP Software Track identifier. This is needed to join between various track API results. |
trackName | string | false | false | None | trackName | Track Name - NP Software Track Name. |
trackRecHistory | string | false | false | None | Current | Track Recommendation History - This field indicates recommendation history value of the track SMUs/PIEs. “Current” is for the standard recommendation and should be used in most cases. “Previous1” is for the previous recommendation. “Previous2” is for the 2nd previous recommendation. “Candidate” is for the future candidate recommendation. |
swRole | string | false | false | None | SMU | Software Role - The Role of the Software running on the NP Network Element. Values include SYSTEM, PKG, SMU |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
trackId | integer | Internal NP Software Track identifier. This is needed to join between various track API results. | |
trackName | string | NP Software Track Name. | |
swName | string | asr9k-p-4.2.3.CSCtz41749-1.0.0 | The Name of the Software running on the NP Network Element. For System SW, the value is the Image Name. For PIE it is the package name and for SMU the SMU name. |
swRole | string | SMU | The Role of the Software running on the NP Network Element. Values include SYSTEM, PKG, SMU |
trackRecHistory | string | Current | This field indicates recommendation history value of the track SMUs/PIEs. “Current” is for the standard recommendation and should be used in most cases. “Previous1” is for the previous recommendation. “Previous2” is for the 2nd previous recommendation. “Candidate” is for the future candidate recommendation. |
NP_STAGE Track Summary
Software Track (SIAR) Summary.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/track_summary?cpyKey=81714"
from mimir import Mimir
m = Mimir()
track_summary = m.np_stage.track_summary.get(cpyKey=81714)
GET
/api/mimir/np_stage/track_summary
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
groupId | integer | false | false | None | 321213 | Group ID - The unique ID of the NP Group |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
trackId | integer | Internal NP Software Track identifier. This is needed to join between various track API results. | |
trackName | string | NP Software Track Name. | |
trackDescription | string | NP Software Track Description. | |
trackComments | string | NP Software Track Recommendation and Planning Comments. | |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
trackTotalDevices | integer | Total number of devices in the NP Software Track. | |
trackCompliantDevices | integer | Total number of devices in the NP Software Track that are running the Standard Recommended Version. | |
trackNonCompliantDevices | integer | Total number of devices in the NP Software Track that are not running the Standard Recommended Version. | |
trackPercentCompliant | number | The percent of devices running the standard recommended version. Formula is trackCompliantDevices/trackTotalDevices. | |
trackPrevCompliantDevices | integer | Total number of devices in the NP Software Track that are running one of the two Previous Recommended Versions. | |
trackPercentFlexibleCompliant | number | The percent of devices running the standard recommended version or one of the two previous recommended versions. Formula is (trackCompliantDevices+trackPrevCompliantDevices)/trackTotalDevices. | |
trackRating | string | The AS rating of the track compliance. Results depend on whether account is using Absolute Compliance (default) or Flexible Compliance. For Absolute, %Compliant 90 and above is Good, 60-90 is Fair, and below 60 is Poor. For Flexible, it is the same thresholds, but %FlexibleCompliant is used. | |
trackTotalSwVersions | integer | Total number of unique software versions in the NP Software Track. | |
trackStandardSwVersion | string | The current recommended standard version for the NP Software Track. | |
trackPrevSwVersion1 | string | The previous recommended standard version for the NP Software Track. | |
trackPrevSwVersion2 | string | The 2nd previous recommended standard version for the NP Software Track. | |
trackCandidateSwVersion | string | The candidate/future recommended standard version for the NP Software Track. | |
trackStandardSmuCount | integer | The number of SMUs in the Standard Recommendation for the track. | |
trackStandardSmuCriteria | string | Require Exact Match | The SMU matching criteria for the recommended standard version for the NP Software Track. Valid values include: Require Exact Match, Ignore For Conformance, Match but ignore extras |
trackStandardPieCriteria | string | Require Exact Match | The PIE matching criteria for the recommended standard version for the NP Software Track. Valid values include: Require Exact Match, Ignore For Conformance, Match but ignore extras |
trackPrev1SmuCriteria | string | Require Exact Match | The SMU matching criteria for the previous standard version for the NP Software Track. Valid values include: Require Exact Match, Ignore For Conformance, Match but ignore extras |
trackPrev1PieCriteria | string | Require Exact Match | The PIE matching criteria for the previous standard version for the NP Software Track. Valid values include: Require Exact Match, Ignore For Conformance, Match but ignore extras |
trackPrev2SmuCriteria | string | Require Exact Match | The SMU matching criteria for the 2nd previous standard version for the NP Software Track. Valid values include: Require Exact Match, Ignore For Conformance, Match but ignore extras |
trackPrev2PieCriteria | string | Require Exact Match | The PIE matching criteria for the 2nd previous standard version for the NP Software Track. Valid values include: Require Exact Match, Ignore For Conformance, Match but ignore extras |
trackStatus | string | Fully Deployed | The status of the code deployment, as defined in the NP Software Track. Values include Fully Deployed, In Migration, etc. |
trackUpgradeReason | string | New Software Implementation | The reason for the last change in software recommendation, as defined in the NP Software Track. Values include New Software Implementation, Planned Maintenance, etc. |
trackRecommendationDate | date | The date when the last software recommendation was made. This is manually set by the user in the NP Software Track. This is used to measure the age of the recommendation. | |
trackSmuCompliancePercent | number | The overall compliance percentage of the devices to the recommended SMU list. Extra SMUs are ignored for the calculation. | |
trackLastModifiedDate | date | The date when the software track was last edited or modified in Network Profile. |
NP_STAGE Uir Details
Unidentified Device Details for a Company.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/uir_details?cpyKey=81714"
from mimir import Mimir
m = Mimir()
uir_details = m.np_stage.uir_details.get(cpyKey=81714)
GET
/api/mimir/np_stage/uir_details
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
uirMissingDeviceName | string | false | false | None | uirMissingDeviceName | UIR Missing Device Name - The name of the missing device as reported by CDP/Syslog or the IP Address as reported by the Configuration/Syslog. |
uirSource | string | false | false | None | uirSource | UIR Source - The source of the UIR device. Valid values include CDP, Config-Subnet, Config-Protocol, and SYSLOG. If the device is seen by more than one source, the source string will include a comma-separated list. A wildcard can be used to find all occurrences (for exmaple, %CDP% to get all CDP sourced UIR devices). |
uirStatus | string | false | false | None | uirStatus | UIR Status - The status of the UIR device. Valid values include New (seen for first time), Recurring (seen for second or more times), Newly Managed (no longer seen because now in a collector), Deleted (no longer seen). |
uirPlatform | string | false | false | None | uirPlatform | UIR Platform - The hardware platform of a UIR Device as reported by CDP. |
uirFilter | boolean | false | false | None | true | UIR Filter - Whether the UIR device has been filtered by the NCE in NP. |
Response
Name | Type | Example | Definition |
---|---|---|---|
uirMissingDeviceName | string | The name of the missing device as reported by CDP/Syslog or the IP Address as reported by the Configuration/Syslog. | |
uirMissingDeviceIpAddress | string | The IP Address of the missing device as reported by CDP/Configuration. | |
uirSource | string | The source of the UIR device. Valid values include CDP, Config-Subnet, Config-Protocol, and SYSLOG. If the device is seen by more than one source, the source string will include a comma-separated list. A wildcard can be used to find all occurrences (for exmaple, %CDP% to get all CDP sourced UIR devices). | |
uirSeenByDeviceName | string | The managed device names in NP that reported the missing device. Limited to first 4000 characters. | |
collector | string | no16 | The unique 4 character id for a Cisco collector. |
uirStatus | string | The status of the UIR device. Valid values include New (seen for first time), Recurring (seen for second or more times), Newly Managed (no longer seen because now in a collector), Deleted (no longer seen). | |
uirPlatform | string | The hardware platform of a UIR Device as reported by CDP. | |
uirScore | integer | The UIR score calculated by NP. A highly score represents a device seen by more NP managed devices and is more likely to be a critical/core device. Score can be one way to prioritize which UIR devices are most important to get into a collector seedfile. | |
uirFilter | boolean | Whether the UIR device has been filtered by the NCE in NP. | |
uirNceComments | string | Any comments entered in NP for the UIR device. Typically, these are entered when a device is being filtered. | |
updateDate | datetime | The timestamp when the data or rule was last updated. |
NP_STAGE Uir Summary
Unidentified Device Summary for a Company.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/uir_summary?cpyKey=81714"
from mimir import Mimir
m = Mimir()
uir_summary = m.np_stage.uir_summary.get(cpyKey=81714)
GET
/api/mimir/np_stage/uir_summary
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
uirUnfiltered | integer | The total number of UIR devices that have NOT been filtered by NCE in NP (i.e. these are the current UIR devices) | |
uirFiltered | integer | The total number of UIR devices that have been filtered by NCE in NP for any reason. As a result, they would not be in the current UIR report. | |
uirNew | integer | The total number of UIR devices found for the first time during the last UIR profile. | |
uirRecurring | integer | The total number of UIR devices found in the last UIR profile that were also seen in a previous profile. | |
uirNewlyManaged | integer | The total number of devices that previously were UIR devices but are no longer seen in the latest profile because they are now in one of the collectors. | |
uirDeleted | integer | The total number of devices that previously were UIR devices but are no longer seen in the latest profile and are not in any collectors (i.e. these UIR devices are gone from the customer network). | |
uirSourceCdp | integer | The total number of unfiltered UIR devices that were found from CDP. | |
uirSourceSyslog | integer | The total number of unfiltered UIR devices that were found from Syslog. | |
uirSourceConfigSubnet | integer | The total number of unfiltered UIR devices that were found from looking at configuration subnets. | |
uirSourceConfigProtocol | integer | The total number of unfiltered UIR devices that were found from looking at configuration protocol neighbors. | |
updateDate | datetime | The timestamp when the data or rule was last updated. |
NP_STAGE Upload Details
Details of the last 5 NP uploads for VSEM2CNC, Inventory, and Syslog.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/upload_details?cpyKey=81714"
from mimir import Mimir
m = Mimir()
upload_details = m.np_stage.upload_details.get(cpyKey=81714)
GET
/api/mimir/np_stage/upload_details
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
collector | string | false | false | None | no16 | Collector - The unique 4 character id for a Cisco collector. |
transactionId | integer | false | false | None | 12345 | Transaction ID - Profile Transaction ID. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
collector | string | no16 | The unique 4 character id for a Cisco collector. |
profileName | string | Software Strategy | The name of an NP profile process. |
profileTaskId | integer | The Profile Task ID. | |
profileStatus | string | Complete | The result of a profile process. |
transactionId | integer | Profile Transaction ID. | |
profileRequestTime | datetime | Profile Request Time. | |
profileStartTime | datetime | Profile Start Time. | |
profileEndTime | datetime | Profile End Time. |
NP_STAGE Vdc Peers
Nexus 7K VDC Peers
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_stage/vdc_peers?cpyKey=81714"
from mimir import Mimir
m = Mimir()
vdc_peers = m.np_stage.vdc_peers.get(cpyKey=81714)
GET
/api/mimir/np_stage/vdc_peers
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | false | false | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
peerDeviceId | integer | 22345640 | The unique ID of the Nexus VDC peer. |
peerDeviceName | string | The Network Element Name of the Nexus 7K peer device. | |
peerType | string | The Nexus 7K peer type in NP. “VDC in CSPC” is when the peer is directly managed in the collector. “NP VDC” is when NP creates a Network Element based on seeing a peer running configuration. |
NP_SYSLOG
Network Profile (NP) is a tool to provide analytics for key NOS deliverables.
- Version: v1.0.0
- Owner: Paul Roberts paurober@cisco.com
- Contact: ccamplej@cisco.com
- Homepage: http://netprofile-us/netprofile/
NP_SYSLOG Syslog Device Correlation
Returns the calculated relationship between a syslogDeviceName and NP deviceId.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_syslog/syslog_device_correlation?cpyKey=81714"
from mimir import Mimir
m = Mimir()
syslog_device_correlation = m.np_syslog.syslog_device_correlation.get(cpyKey=81714)
GET
/api/mimir/np_syslog/syslog_device_correlation
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
collector | string | no16 | The unique 4 character id for a Cisco collector. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
syslogDeviceName | string | The name of the device as reported in syslog. This could be IP or hostname depending on the configuration of the syslog server. |
NP_SYSLOG_STAGE
Network Profile (NP) is a tool to provide analytics for key NOS deliverables.
- Version: v1.0.0
- Owner: Paul Roberts paurober@cisco.com
- Contact: ccamplej@cisco.com
- Homepage: https://npr-qa-11.cisco.com/netprofile/
NP_SYSLOG_STAGE Syslog Device Correlation
Returns the calculated relationship between a syslogDeviceName and NP deviceId.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/np_syslog_stage/syslog_device_correlation?cpyKey=81714"
from mimir import Mimir
m = Mimir()
syslog_device_correlation = m.np_syslog_stage.syslog_device_correlation.get(cpyKey=81714)
GET
/api/mimir/np_syslog_stage/syslog_device_correlation
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
collector | string | no16 | The unique 4 character id for a Cisco collector. |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
syslogDeviceName | string | The name of the device as reported in syslog. This could be IP or hostname depending on the configuration of the syslog server. |
OI
Operations Insights
- Version: v1.0.0
- Owner: BCI bci-sso-dev-team@cisco.com
- Contact: bci-sso-dev bci-sso-dev-team@cisco.com
- Homepage: https://bci-c1.cisco.com (Internal Portal for Operations Insights)
OI Bcs Contracts
BCS Contracts provides the list of active BCS Contracts by region and country
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/oi/bcs_contracts"
from mimir import Mimir
m = Mimir()
bcs_contracts = m.oi.bcs_contracts.get()
GET
/api/mimir/oi/bcs_contracts
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
earliest | string | false | false | None | earliest | earliest - |
cpyKey | integer | false | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
PRODUCT-ALERTS
Products Alert Common API Service
PRODUCT-ALERTS Auth
Authentication API
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/product-alerts/auth?customerId=12345&userId=mycecid"
from mimir import Mimir
m = Mimir()
auth = m.product-alerts.auth.get(customerId=12345, userId='mycecid')
GET
/api/mimir/product-alerts/auth
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
customerId | integer | true | false | None | 12345 | Customer ID - Unique identifier of a Cisco customer. |
userId | string | true | false | None | mycecid | User ID - A Cisco userid. |
Response
Name | Type | Example | Definition |
---|---|---|---|
requestStatus | string | If the requested userid has permission to access the provided customerId, requestStatus will be “Authorized”. Unauthorized userids will cause the API to return a HTTP 401 Unauthorized code. |
PRODUCT-ALERTS Field-notice-bulletins
Field Notice (FN) bulletins.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/product-alerts/field-notice-bulletins"
from mimir import Mimir
m = Mimir()
field-notice-bulletins = m.product-alerts.field-notice-bulletins.get()
GET
/api/mimir/product-alerts/field-notice-bulletins
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
bulletinNumber | string | false | false | None | bulletinNumber | Bulletin Number - The Cisco.com bulletin number for Field Notices or End of Life Announcements. |
bulletinFirstPublished | string | false | false | None | string | Bulletin First Published - Date when the bulletin was first published to Cisco.com. Allows regex for input. |
Response
Name | Type | Example | Definition |
---|---|---|---|
bulletinNumber | string | The Cisco.com bulletin number for Field Notices or End of Life Announcements. | |
fieldNoticeType | string | Hardware | Category of field notices |
bulletinTitle | string | The Cisco.com Title/Headline for the bulletin | |
bulletinFirstPublished | string | string | Date when the bulletin was first published to Cisco.com. Allows regex for input. |
bulletinLastUpdated | datetime | Date when the bulletin was last revised and published to Cisco.com | |
alertAutomationCaveat | string | Explanation for additional review by the customer for automation. | |
url | string | Cisco.com URL for the bulletin. | |
bulletinSummary | string | The Summary of a Cisco.com bulletin |
PRODUCT-ALERTS Field-notice-pids
Field Notice (FN) bulletin Product IDs.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/product-alerts/field-notice-pids"
from mimir import Mimir
m = Mimir()
field-notice-pids = m.product-alerts.field-notice-pids.get()
GET
/api/mimir/product-alerts/field-notice-pids
Response
Name | Type | Example | Definition |
---|---|---|---|
bulletinNumber | string | The Cisco.com bulletin number for Field Notices or End of Life Announcements. | |
bulletinProductId | string | AIR-AP1131AG-T-K9 | Cisco product published at the time of EOL announcement |
productId | string | AIR-AP1131AG-T-K9 | Cisco base Product ID |
PRODUCT-ALERTS Field-notice-swtype
Field Notice (FN) bulletin Software Types.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/product-alerts/field-notice-swtype"
from mimir import Mimir
m = Mimir()
field-notice-swtype = m.product-alerts.field-notice-swtype.get()
GET
/api/mimir/product-alerts/field-notice-swtype
Response
Name | Type | Example | Definition |
---|---|---|---|
bulletinNumber | string | The Cisco.com bulletin number for Field Notices or End of Life Announcements. | |
swType | string | IOS | Type of software that is installed on this host/system. |
PRODUCT-ALERTS Hardware-eol-bulletins
Hardware EoL Bulletin details.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/product-alerts/hardware-eol-bulletins"
from mimir import Mimir
m = Mimir()
hardware-eol-bulletins = m.product-alerts.hardware-eol-bulletins.get()
GET
/api/mimir/product-alerts/hardware-eol-bulletins
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
hwEolInstanceId | integer | false | false | None | 12345 | hwEolInstanceId - The unique identifier for an end-of-life element on a hardware bulletin. |
bulletinProductId | string | false | false | None | AIR-AP1131AG-T-K9 | Bulletin Product ID (PID) - Cisco product published at the time of EOL announcement |
bulletinNumber | string | false | false | None | bulletinNumber | Bulletin Number - The Cisco.com bulletin number for Field Notices or End of Life Announcements. |
bulletinTitle | string | false | false | None | bulletinTitle | Bulletin Title - The Cisco.com Title/Headline for the bulletin |
eoLifeAnnouncementDate | string | false | false | None | 2014-07-26T00:00:00Z | eoLifeAnnouncementDate - The date the document that announces the end-of-sale and end-of-life of a product is distributed to the general public. GMT date format YYYY-MM-DD |
eoSaleDate | string | false | false | None | 2013-10-24T00:00:00Z | eoSaleDate - The last date to order the product through Cisco point-of-sale mechanisms. The product is no longer for sale after this date. GMT date format YYYY-MM-DD |
lastShipDate | string | false | false | None | 2013-10-24T00:00:00Z | Last Ship Date - The last-possible ship date that can be requested of Cisco and/or its contract manufacturers. Actual ship date is dependent on lead time. GMT date format YYYY-MM-DD |
eoSwMaintenanceReleasesDate | string | false | false | None | 2015-01-30T00:00:00Z | eoSwMaintenanceReleasesDate - The last date that Cisco Engineering may release any final software maintenance releases or bug fixes. After this date, Cisco Engineering will no longer develop, repair, maintain, or test the product software. GMT date format YYYY-MM-DD |
eoVulnerabilitySecuritySupport | string | false | false | None | 2015-06-30T00:00:00Z | eoVulnerabilitySecuritySupport - The last date that Cisco Engineering may release a planned maintenance release or scheduled software remedy for a security vulnerability issue. GMT date format YYYY-MM-DD |
eoRoutineFailureAnalysisDate | string | false | false | None | 2013-09-29T00:00:00Z | eoRoutineFailureAnalysisDate - The last-possible date a routine failure analysis may be performed to determine the cause of hardware product failure or defect. GMT date format YYYY-MM-DD |
eoNewServiceAttachmentDate | string | false | false | None | 2013-09-29T00:00:00Z | eoNewServiceAttachmentDate - For equipment and software that is not covered by a service-and-support contract, this is the last date to order a new service-and-support contract or add the equipment and/or software to an existing service-and-support contract. GMT date format YYYY-MM-DD |
eoServiceContractRenewalDate | string | false | false | None | 2016-12-28T00:00:00Z | eoServiceContractRenewalDate - The last date to extend or renew a service contract for the product. GMT date format YYYY-MM-DD |
lastDateOfSupport | string | false | false | None | 2017-09-30T00:00:00Z | lastDateOfSupport - The last date to receive applicable service and support for the product as entitled by active service contracts or by warranty terms and conditions. After this date, all support services for the product are unavailable, and the product becomes obsolete. GMT date format YYYY-MM-DD |
Response
Name | Type | Example | Definition |
---|---|---|---|
hwEolInstanceId | integer | The unique identifier for an end-of-life element on a hardware bulletin. | |
bulletinProductId | string | AIR-AP1131AG-T-K9 | Cisco product published at the time of EOL announcement |
productId | string | AIR-AP1131AG-T-K9 | Cisco base Product ID |
bulletinNumber | string | The Cisco.com bulletin number for Field Notices or End of Life Announcements. | |
bulletinTitle | string | The Cisco.com Title/Headline for the bulletin | |
url | string | Cisco.com URL for the bulletin. | |
eoLifeAnnouncementDate | string | 2014-07-26T00:00:00Z | The date the document that announces the end-of-sale and end-of-life of a product is distributed to the general public. GMT date format YYYY-MM-DD |
eoSaleDate | string | 2013-10-24T00:00:00Z | The last date to order the product through Cisco point-of-sale mechanisms. The product is no longer for sale after this date. GMT date format YYYY-MM-DD |
lastShipDate | string | 2013-10-24T00:00:00Z | The last-possible ship date that can be requested of Cisco and/or its contract manufacturers. Actual ship date is dependent on lead time. GMT date format YYYY-MM-DD |
eoSwMaintenanceReleasesDate | string | 2015-01-30T00:00:00Z | The last date that Cisco Engineering may release any final software maintenance releases or bug fixes. After this date, Cisco Engineering will no longer develop, repair, maintain, or test the product software. GMT date format YYYY-MM-DD |
eoVulnerabilitySecuritySupport | string | 2015-06-30T00:00:00Z | The last date that Cisco Engineering may release a planned maintenance release or scheduled software remedy for a security vulnerability issue. GMT date format YYYY-MM-DD |
eoRoutineFailureAnalysisDate | string | 2013-09-29T00:00:00Z | The last-possible date a routine failure analysis may be performed to determine the cause of hardware product failure or defect. GMT date format YYYY-MM-DD |
eoNewServiceAttachmentDate | string | 2013-09-29T00:00:00Z | For equipment and software that is not covered by a service-and-support contract, this is the last date to order a new service-and-support contract or add the equipment and/or software to an existing service-and-support contract. GMT date format YYYY-MM-DD |
eoServiceContractRenewalDate | string | 2016-12-28T00:00:00Z | The last date to extend or renew a service contract for the product. GMT date format YYYY-MM-DD |
lastDateOfSupport | string | 2017-09-30T00:00:00Z | The last date to receive applicable service and support for the product as entitled by active service contracts or by warranty terms and conditions. After this date, all support services for the product are unavailable, and the product becomes obsolete. GMT date format YYYY-MM-DD |
PRODUCT-ALERTS Hardware-eol-replacement-pids
Hardware EoL Bulletin replacement PIDs as defined on the bulletin at the time of bulletin release. Not all EoL bulletin PIDs will have a replacement defined and some may have more than one replacement.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/product-alerts/hardware-eol-replacement-pids"
from mimir import Mimir
m = Mimir()
hardware-eol-replacement-pids = m.product-alerts.hardware-eol-replacement-pids.get()
GET
/api/mimir/product-alerts/hardware-eol-replacement-pids
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
hwEolInstanceId | integer | false | false | None | 12345 | hwEolInstanceId - The unique identifier for an end-of-life element on a hardware bulletin. |
bulletinProductId | string | false | false | None | AIR-AP1131AG-T-K9 | Bulletin Product ID (PID) - Cisco product published at the time of EOL announcement |
bulletinNumber | string | false | false | None | bulletinNumber | Bulletin Number - The Cisco.com bulletin number for Field Notices or End of Life Announcements. |
Response
Name | Type | Example | Definition |
---|---|---|---|
hwEolInstanceId | integer | The unique identifier for an end-of-life element on a hardware bulletin. | |
bulletinProductId | string | AIR-AP1131AG-T-K9 | Cisco product published at the time of EOL announcement |
bulletinNumber | string | The Cisco.com bulletin number for Field Notices or End of Life Announcements. | |
replacementProductId | string | The replacement Cisco Product ID (PID) reported on an EOL bulletin at the time the bulletin was published. Note: This replacement PID may not be orderable any longer. | |
replacementProductEoSaleDate | date | Replacement Product EoSale Date |
PRODUCT-ALERTS Security-advisory-bulletins
Security Advisory (PSIRT) bulletins.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/product-alerts/security-advisory-bulletins"
from mimir import Mimir
m = Mimir()
security-advisory-bulletins = m.product-alerts.security-advisory-bulletins.get()
GET
/api/mimir/product-alerts/security-advisory-bulletins
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
securityAdvisoryInstanceId | integer | false | false | None | 376 | Security Advisory InstanceId - Internally generated ID for a security advisory |
bulletinFirstPublished | string | false | false | None | string | Bulletin First Published - Date when the bulletin was first published to Cisco.com. Allows regex for input. |
securityImpactRating | string | false | false | None | High | Security Impact Rating - The Security Impact Rating (SIR) for Cisco Security Advisories |
cveId | string | false | false | None | 2007-4285 | cve Id - Common Vulnerabilities and Exposures (CVE) Identifier |
advisoryId | string | false | false | None | cisco-sa-20150325-tcpleak | Advisory Id - Published identifier of security advisory |
bulletinTitle | string | false | false | None | bulletinTitle | Bulletin Title - The Cisco.com Title/Headline for the bulletin |
bugId | string | false | false | None | CSCvo61821 | Cisco Bug ID - A Cisco Bug ID |
Response
Name | Type | Example | Definition |
---|---|---|---|
securityAdvisoryInstanceId | integer | 376 | Internally generated ID for a security advisory |
advisoryId | string | cisco-sa-20150325-tcpleak | Published identifier of security advisory |
bulletinTitle | string | The Cisco.com Title/Headline for the bulletin | |
bulletinFirstPublished | string | string | Date when the bulletin was first published to Cisco.com. Allows regex for input. |
bulletinLastUpdated | datetime | Date when the bulletin was last revised and published to Cisco.com | |
bulletinVersion | string | 1.2 | The version ‘#’ of the Cisco.com bulletin. Only applicable to Security Advisories |
securityImpactRating | string | High | The Security Impact Rating (SIR) for Cisco Security Advisories |
cveId | string | 2007-4285 | Common Vulnerabilities and Exposures (CVE) Identifier |
cvssBaseScore | string | 8.0 | Common Vulnerability Scoring System (CVSS) Base Score |
cvssTemporalScore | string | 6.6 | Common Vulnerability Scoring System (CVSS) Temporal Score |
bulletinSummary | string | The Summary of a Cisco.com bulletin | |
alertAutomationCaveat | string | Explanation for additional review by the customer for automation. | |
url | string | Cisco.com URL for the bulletin. | |
ciscoBugIds | string | Comma-separated list of Cisco Bug IDs. | |
swTypeList | string | Comma-separated list of Software Types automated for this Security Advisory Bulletin. |
PRODUCT-ALERTS Security-advisory-swtype
Security Advisory (PSIRT) Software Types.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/product-alerts/security-advisory-swtype"
from mimir import Mimir
m = Mimir()
security-advisory-swtype = m.product-alerts.security-advisory-swtype.get()
GET
/api/mimir/product-alerts/security-advisory-swtype
Response
Name | Type | Example | Definition |
---|---|---|---|
securityAdvisoryInstanceId | integer | 376 | Internally generated ID for a security advisory |
advisoryId | string | cisco-sa-20150325-tcpleak | Published identifier of security advisory |
swType | string | IOS | Type of software that is installed on this host/system. |
PRODUCT-ALERTS Software-eol-bulletins
Software EoL Bulletin details.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/product-alerts/software-eol-bulletins"
from mimir import Mimir
m = Mimir()
software-eol-bulletins = m.product-alerts.software-eol-bulletins.get()
GET
/api/mimir/product-alerts/software-eol-bulletins
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
swEolInstanceId | integer | false | false | None | 626 | Software Eol InstanceId - The unique identifier for software end-of-life entry in a data store |
swType | string | false | false | None | IOS | Software Type - Type of software that is installed on this host/system. |
swMajorVersion | string | false | false | None | 15.2 | Software Major Version - The major version portion of the software version. |
swTrain | string | false | false | None | SXF | Software Train - The Software Train, typically only applies to IOS. |
bulletinNumber | string | false | false | None | bulletinNumber | Bulletin Number - The Cisco.com bulletin number for Field Notices or End of Life Announcements. |
bulletinTitle | string | false | false | None | bulletinTitle | Bulletin Title - The Cisco.com Title/Headline for the bulletin |
eoLifeAnnouncementDate | string | false | false | None | 2014-07-26T00:00:00Z | eoLifeAnnouncementDate - The date the document that announces the end-of-sale and end-of-life of a product is distributed to the general public. GMT date format YYYY-MM-DD |
eoSaleDate | string | false | false | None | 2013-10-24T00:00:00Z | eoSaleDate - The last date to order the product through Cisco point-of-sale mechanisms. The product is no longer for sale after this date. GMT date format YYYY-MM-DD |
eoSwMaintenanceReleasesDate | string | false | false | None | 2015-01-30T00:00:00Z | eoSwMaintenanceReleasesDate - The last date that Cisco Engineering may release any final software maintenance releases or bug fixes. After this date, Cisco Engineering will no longer develop, repair, maintain, or test the product software. GMT date format YYYY-MM-DD |
eoVulnerabilitySecuritySupport | string | false | false | None | 2015-06-30T00:00:00Z | eoVulnerabilitySecuritySupport - The last date that Cisco Engineering may release a planned maintenance release or scheduled software remedy for a security vulnerability issue. GMT date format YYYY-MM-DD |
lastDateOfSupport | string | false | false | None | 2017-09-30T00:00:00Z | lastDateOfSupport - The last date to receive applicable service and support for the product as entitled by active service contracts or by warranty terms and conditions. After this date, all support services for the product are unavailable, and the product becomes obsolete. GMT date format YYYY-MM-DD |
Response
Name | Type | Example | Definition |
---|---|---|---|
swEolInstanceId | integer | 626 | The unique identifier for software end-of-life entry in a data store |
swType | string | IOS | Type of software that is installed on this host/system. |
swMajorVersion | string | 15.2 | The major version portion of the software version. |
swMaintenanceVersion | string | 21 | The maintenance version portion of the software version. For example, in 12.4(21), it is “21” |
swTrain | string | SXF | The Software Train, typically only applies to IOS. |
bulletinNumber | string | The Cisco.com bulletin number for Field Notices or End of Life Announcements. | |
bulletinTitle | string | The Cisco.com Title/Headline for the bulletin | |
url | string | Cisco.com URL for the bulletin. | |
eoLifeAnnouncementDate | string | 2014-07-26T00:00:00Z | The date the document that announces the end-of-sale and end-of-life of a product is distributed to the general public. GMT date format YYYY-MM-DD |
eoSaleDate | string | 2013-10-24T00:00:00Z | The last date to order the product through Cisco point-of-sale mechanisms. The product is no longer for sale after this date. GMT date format YYYY-MM-DD |
eoSwMaintenanceReleasesDate | string | 2015-01-30T00:00:00Z | The last date that Cisco Engineering may release any final software maintenance releases or bug fixes. After this date, Cisco Engineering will no longer develop, repair, maintain, or test the product software. GMT date format YYYY-MM-DD |
eoVulnerabilitySecuritySupport | string | 2015-06-30T00:00:00Z | The last date that Cisco Engineering may release a planned maintenance release or scheduled software remedy for a security vulnerability issue. GMT date format YYYY-MM-DD |
lastDateOfSupport | string | 2017-09-30T00:00:00Z | The last date to receive applicable service and support for the product as entitled by active service contracts or by warranty terms and conditions. After this date, all support services for the product are unavailable, and the product becomes obsolete. GMT date format YYYY-MM-DD |
productFamilyList | string | Comma-separated list of Product Families. |
PSS
PSS API Service for Loki
- Version: v1.0.0
- Owner: Swapnil Pathrikar (spathrik@cisco.com)
- Contact: pss-us-scrum@cisco.com
- Homepage:
PSS Auth
Authorization API
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/pss/auth?partnerId=12345"
from mimir import Mimir
m = Mimir()
auth = m.pss.auth.get(partnerId=12345)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
partnerId | integer | true | false | None | 12345 | Partner ID - The unique identifier for a partner. |
Response
Name | Type | Example | Definition |
---|---|---|---|
requestStatus | string | If the requested userid has permission to access the provided cpyKey, requestStatus will be “Authorized”. Unauthorized userids will cause the API to return a HTTP 401 Unauthorized code. |
PSS Cli
Return list of PSS device CLIs (show commands) for a partner and customer the current user is allowed to access (and optional filter).
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/pss/cli?partnerId=12345"
from mimir import Mimir
m = Mimir()
cli = m.pss.cli.get(partnerId=12345)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
partnerId | integer | true | false | None | 12345 | Partner ID - The unique identifier for a partner. |
inventoryId | integer | false | true | None | 12345 | Inventory ID - The unique identifier for a PSS customer inventory. |
deviceId | integer | false | true | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
command | string | false | true | None | show version | Command - The CLI Command name. |
Response
Name | Type | Example | Definition |
---|---|---|---|
partnerId | integer | The unique identifier for a partner. | |
inventoryId | integer | The unique identifier for a PSS customer inventory. | |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
command | string | show version | The CLI Command name. |
rawData | string | The raw data from CLI or Config. |
PSS Config
Return list of PSS device configurations for a partner and customer (and optional filter).
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/pss/config?partnerId=12345"
from mimir import Mimir
m = Mimir()
config = m.pss.config.get(partnerId=12345)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
partnerId | integer | true | false | None | 12345 | Partner ID - The unique identifier for a partner. |
inventoryId | integer | false | true | None | 12345 | Inventory ID - The unique identifier for a PSS customer inventory. |
deviceId | integer | false | true | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
command | string | false | true | None | show version | Command - The CLI Command name. |
Response
Name | Type | Example | Definition |
---|---|---|---|
partnerId | integer | The unique identifier for a partner. | |
inventoryId | integer | The unique identifier for a PSS customer inventory. | |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
command | string | show version | The CLI Command name. |
rawData | string | The raw data from CLI or Config. |
PSS Customers
Return list of PSS customers the current user is allowed to access
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/pss/customers"
from mimir import Mimir
m = Mimir()
customers = m.pss.customers.get()
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
partnerId | integer | false | false | None | 12345 | Partner ID - The unique identifier for a partner. |
Response
Name | Type | Example | Definition |
---|---|---|---|
partnerId | integer | The unique identifier for a partner. | |
partnerName | string | The Partner Name associated with a partner ID. | |
customerName | string | The Customer Name associated with a customer ID. |
PSS Devices
Return list of PSS devices for a partner and customer the current user is allowed to access (and optional filter).
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/pss/devices?partnerId=12345"
from mimir import Mimir
m = Mimir()
devices = m.pss.devices.get(partnerId=12345)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
partnerId | integer | true | false | None | 12345 | Partner ID - The unique identifier for a partner. |
inventoryId | integer | false | true | None | 12345 | Inventory ID - The unique identifier for a PSS customer inventory. |
deviceId | integer | false | true | None | 22345640 | Device Identifier - The unique ID of the NP NetworkElement/Device. |
deviceName | string | false | false | None | router% | Device Name - The Network Element Name of the device. When used as input, it can include % as wildcard. |
deviceIp | string | false | false | None | 172.21.1.1 | Device IP Address - The management IP address of the device. |
ipAddress | string | false | false | None | 172.16.1.1 | IP Address - An IPv4 Address. |
deviceSysname | string | false | false | None | router.cisco.com | Device sysName - The hostname (SNMP sysName) of the device. It will be fully-qualified name, if domain name is set on the device. |
swType | string | false | false | None | IOS-XE | Software Type - The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swVersion | string | false | false | None | 15.1(4)M4 | Software Version - The Software Version of the device. |
productFamily | string | false | false | None | Cisco Catalyst 3560-E Series Switches | Product Family - The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
Response
Name | Type | Example | Definition |
---|---|---|---|
partnerId | integer | The unique identifier for a partner. | |
inventoryId | integer | The unique identifier for a PSS customer inventory. | |
deviceId | integer | 22345640 | The unique ID of the NP NetworkElement/Device. |
deviceName | string | router% | The Network Element Name of the device. When used as input, it can include % as wildcard. |
deviceIp | string | 172.21.1.1 | The management IP address of the device. |
ipAddress | string | 172.16.1.1 | An IPv4 Address. |
deviceSysname | string | router.cisco.com | The hostname (SNMP sysName) of the device. It will be fully-qualified name, if domain name is set on the device. |
deviceType | string | Managed Chassis | The type of the device. Values include Managed Chassis, Managed Multi-Chassis, SDR, Contexts, and IOS-XR Admin |
productId | string | The Cisco Product ID (PID) of the hardware as contained in Product IC. | |
productFamily | string | Cisco Catalyst 3560-E Series Switches | The Cisco Product Family of the hardware. Values come from MDF for Chassis. |
productType | string | Metro Ethernet Switches | The Cisco Product Type in COLD of the hardware. Values usually come from MDF. |
swType | string | IOS-XE | The Type of Software running on the NP Network Element. Common values include IOS, IOS XR, IOS-XE, NX-OS, etc. |
swVersion | string | 15.1(4)M4 | The Software Version of the device. |
PSS Inventories
Return list of PSS customer inventories the current user is allowed to access
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/pss/inventories?partnerId=12345"
from mimir import Mimir
m = Mimir()
inventories = m.pss.inventories.get(partnerId=12345)
GET
/api/mimir/pss/inventories
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
partnerId | integer | true | false | None | 12345 | Partner ID - The unique identifier for a partner. |
Response
Name | Type | Example | Definition |
---|---|---|---|
partnerId | integer | The unique identifier for a partner. | |
partnerName | string | The Partner Name associated with a partner ID. | |
customerName | string | The Customer Name associated with a customer ID. | |
inventoryId | integer | The unique identifier for a PSS customer inventory. | |
inventoryName | string | The Inventory Name associated with a PSS inventory ID. |
PSS Partners
Return list of PSS partners the current user is allowed to access
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/pss/partners"
from mimir import Mimir
m = Mimir()
partners = m.pss.partners.get()
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
partnerId | integer | false | false | None | 12345 | Partner ID - The unique identifier for a partner. |
Response
Name | Type | Example | Definition |
---|---|---|---|
partnerId | integer | The unique identifier for a partner. | |
partnerName | string | The Partner Name associated with a partner ID. |
PSS Users
Return list of PSS users the current user is allowed to see based on partner and customer
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/pss/users?partnerId=12345"
from mimir import Mimir
m = Mimir()
users = m.pss.users.get(partnerId=12345)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
partnerId | integer | true | false | None | 12345 | Partner ID - The unique identifier for a partner. |
Response
Name | Type | Example | Definition |
---|---|---|---|
partnerId | integer | The unique identifier for a partner. | |
userId | string | mycecid | A Cisco userid. |
QBR
Quarterly Bisiness Review OI
- Version: v1.0.0
- Owner: BCI bci-sso-dev-team@cisco.com
- Contact: bci-sso-dev bci-sso-dev-team@cisco.com
- Homepage: https://qbr.cisco.com
QBR Cbp
Number of devices conforming to security Config Best Practices.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/qbr/cbp?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cbp = m.qbr.cbp.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
QBR Cbprole
Number of devices conforming to security Config Best Practices with role.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/qbr/cbprole?cpyKey=81714"
from mimir import Mimir
m = Mimir()
cbprole = m.qbr.cbprole.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
QBR Compositebusinesscapabilities
Percentage of devices enabling capabilities that are allied to software conformance.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/qbr/compositebusinesscapabilities?cpyKey=81714"
from mimir import Mimir
m = Mimir()
compositebusinesscapabilities = m.qbr.compositebusinesscapabilities.get(cpyKey=81714)
GET
/api/mimir/qbr/compositebusinesscapabilities
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
QBR Compositecustomerexperience
The number of devices improving the Customer Experience of devices that are not at high crash risk and not vulnerable to high psirt.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/qbr/compositecustomerexperience?cpyKey=81714"
from mimir import Mimir
m = Mimir()
compositecustomerexperience = m.qbr.compositecustomerexperience.get(cpyKey=81714)
GET
/api/mimir/qbr/compositecustomerexperience
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
QBR Compositedigitaltransform
Percentage of devices digitally transformed based on devices not Vulnerable to high psirt.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/qbr/compositedigitaltransform?cpyKey=81714"
from mimir import Mimir
m = Mimir()
compositedigitaltransform = m.qbr.compositedigitaltransform.get(cpyKey=81714)
GET
/api/mimir/qbr/compositedigitaltransform
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
QBR Compositeenhancerole
Number of devices with at least one security risk based on the role.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/qbr/compositeenhancerole?cpyKey=81714"
from mimir import Mimir
m = Mimir()
compositeenhancerole = m.qbr.compositeenhancerole.get(cpyKey=81714)
GET
/api/mimir/qbr/compositeenhancerole
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
QBR Compositeenhancesecurity
The number of devices with at least one security risk based on the categories LDOs, field notice, psirt, software conformance, and config best practices.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/qbr/compositeenhancesecurity?cpyKey=81714"
from mimir import Mimir
m = Mimir()
compositeenhancesecurity = m.qbr.compositeenhancesecurity.get(cpyKey=81714)
GET
/api/mimir/qbr/compositeenhancesecurity
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
QBR Compositegrowrevenue
The number of devices enabling revenue growth that are not at high crash and devices are in software conformance.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/qbr/compositegrowrevenue?cpyKey=81714"
from mimir import Mimir
m = Mimir()
compositegrowrevenue = m.qbr.compositegrowrevenue.get(cpyKey=81714)
GET
/api/mimir/qbr/compositegrowrevenue
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
QBR Compositereputation
The number of devices increases the brand value of devices that are in software conformance and not in LDOs, which are not at the high crash and not vulnerable to high psirt.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/qbr/compositereputation?cpyKey=81714"
from mimir import Mimir
m = Mimir()
compositereputation = m.qbr.compositereputation.get(cpyKey=81714)
GET
/api/mimir/qbr/compositereputation
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
QBR Compositestandardscompliance
The number of devices fully compliant with company standards based on config best practices and software compliance of devices.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/qbr/compositestandardscompliance?cpyKey=81714"
from mimir import Mimir
m = Mimir()
compositestandardscompliance = m.qbr.compositestandardscompliance.get(cpyKey=81714)
GET
/api/mimir/qbr/compositestandardscompliance
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
QBR Compositeuserexperience
Percentage of devices improving UX that are not high priority config exceptions and software conformance.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/qbr/compositeuserexperience?cpyKey=81714"
from mimir import Mimir
m = Mimir()
compositeuserexperience = m.qbr.compositeuserexperience.get(cpyKey=81714)
GET
/api/mimir/qbr/compositeuserexperience
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
QBR Field Notice
Number of devices impacted by Field Notices.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/qbr/field_notice?cpyKey=81714"
from mimir import Mimir
m = Mimir()
field_notice = m.qbr.field_notice.get(cpyKey=81714)
GET
/api/mimir/qbr/field_notice
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
QBR Field Noticerole
Number of devices impacted by Field Notices with role.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/qbr/field_noticerole?cpyKey=81714"
from mimir import Mimir
m = Mimir()
field_noticerole = m.qbr.field_noticerole.get(cpyKey=81714)
GET
/api/mimir/qbr/field_noticerole
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
QBR Lifecycle Hardware
The number of devices having distinct Hardware Lifecycle devices exposure count.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/qbr/lifecycle_hardware?cpyKey=81714"
from mimir import Mimir
m = Mimir()
lifecycle_hardware = m.qbr.lifecycle_hardware.get(cpyKey=81714)
GET
/api/mimir/qbr/lifecycle_hardware
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
QBR Lifecycle Hardwarerole
The number of devices having distinct Hardware Lifecycle devices exposure counts with the role.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/qbr/lifecycle_hardwarerole?cpyKey=81714"
from mimir import Mimir
m = Mimir()
lifecycle_hardwarerole = m.qbr.lifecycle_hardwarerole.get(cpyKey=81714)
GET
/api/mimir/qbr/lifecycle_hardwarerole
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
QBR Lifecycle Software
The number of devices with distinct Software Lifecycle data count.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/qbr/lifecycle_software?cpyKey=81714"
from mimir import Mimir
m = Mimir()
lifecycle_software = m.qbr.lifecycle_software.get(cpyKey=81714)
GET
/api/mimir/qbr/lifecycle_software
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
QBR Lifecycle Softwarerole
The number of devices having distinct software Lifecycle devices counts with the role.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/qbr/lifecycle_softwarerole?cpyKey=81714"
from mimir import Mimir
m = Mimir()
lifecycle_softwarerole = m.qbr.lifecycle_softwarerole.get(cpyKey=81714)
GET
/api/mimir/qbr/lifecycle_softwarerole
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
QBR Psirt
Devices vulnerable to security advisories.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/qbr/psirt?cpyKey=81714"
from mimir import Mimir
m = Mimir()
psirt = m.qbr.psirt.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
QBR Psirtrole
Devices vulnerable to security advisories with role.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/qbr/psirtrole?cpyKey=81714"
from mimir import Mimir
m = Mimir()
psirtrole = m.qbr.psirtrole.get(cpyKey=81714)
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
QBR Risk Composite
Number of the devices under risk.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/qbr/risk_composite?cpyKey=81714"
from mimir import Mimir
m = Mimir()
risk_composite = m.qbr.risk_composite.get(cpyKey=81714)
GET
/api/mimir/qbr/risk_composite
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
QBR Software Conformance
Number of devices vulnerable to security advisories.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/qbr/software_conformance?cpyKey=81714"
from mimir import Mimir
m = Mimir()
software_conformance = m.qbr.software_conformance.get(cpyKey=81714)
GET
/api/mimir/qbr/software_conformance
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
QBR Syslog Severity
Number of syslog Severity 0 and 1 messages.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/qbr/syslog_severity?cpyKey=81714"
from mimir import Mimir
m = Mimir()
syslog_severity = m.qbr.syslog_severity.get(cpyKey=81714)
GET
/api/mimir/qbr/syslog_severity
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | true | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
Response
Name | Type | Example | Definition |
---|
SC
SSO Support Central
- Version: v3.0.0
- Owner: Umesha Naik umnaik@cisco.com
- Contact: bodc-support-central-dev bodc-support-central-dev@cisco.com
- Homepage: https://stsapp-prd-16.cisco.com:8443/supportcentral
SC Account Details
List of all the Accounts in Support Central with all active collectors.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sc/account_details"
from mimir import Mimir
m = Mimir()
account_details = m.sc.account_details.get()
GET
/api/mimir/sc/account_details
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyName | string | false | false | None | cpyName | Company Name - The company name as defined in CSTG Support Central for display in AS Tools. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
cpyName | string | The company name as defined in CSTG Support Central for display in AS Tools. | |
theater | string | AMERICAS | The theater associated with the collector, as specified in CSTG Support Central. |
subTheater | string | US Public Sector | The subTheater associated with the collector, as specified in Support Central. |
area | string | North East | The area associated with the collector, as specified in Support Central. |
region | string | The region associated with the collector, as specified in Support Central. | |
country | string | The country associated with the collector, as specified in Support Central. | |
caseHandlingOption | string | Case handling option, as specified in Support Central. | |
tse | string | TSE, as specified in Support Central. | |
backupTse | string | Backup TSE, as specified in Support Central. | |
backupTseEmail | string | Backup TSE Email, as specified in Support Central. | |
programManager | string | Program Manager, as specified in Support Central. | |
customerId | string | Customer ID, as specified in Support Central. | |
activeCollectors | string | Active Collector IDs, as specified in Support Central. | |
nce | string | AS NCE, as specified in Support Central. | |
asProjectManager | string | AS Project Manager, as specified in Support Central. | |
sde | string | SDE or SDL, as specified in Support Central. | |
cmcsNce | string | CMCS NCE, as specified in Support Central. | |
cmcsSupportEngineeer | string | CMCS Support Engineer, as specified in Support Central. | |
cmcsProgramManager | string | CMCS Program Manager, as specified in Support Central. | |
asCmcsProgramManager | string | AS CMCS Program Manager, as specified in Support Central. |
SC Collectors
Details for all collectors except Inactive for a specific company from Support Central.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sc/collectors"
from mimir import Mimir
m = Mimir()
collectors = m.sc.collectors.get()
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | false | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
collectorStatus | string | false | false | None | Active | Collector Status - The status of the collector as specified in CSTG Support Central. Valid values: Active, Cisco Testing |
collector | string | false | false | None | no16 | Collector - The unique 4 character id for a Cisco collector. |
collectorId | string | false | false | None | CSP0009021160 | Collector ID - The CSPC collector appliance ID. |
isNos | boolean | false | false | None | true | SC Collector Is NOS - Is NOS collector as defined in Support Central. |
isSntc | boolean | false | false | None | true | SC Collector Is SNTC - Is SNTC collector as defined in Support Central. |
isCmcs | boolean | false | false | None | true | SC Collector Is CMCS - Is CMCS collector as defined in Support Central. |
Response
Name | Type | Example | Definition |
---|---|---|---|
collector | string | no16 | The unique 4 character id for a Cisco collector. |
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
cpyName | string | The company name as defined in CSTG Support Central for display in AS Tools. | |
collectorStatus | string | Active | The status of the collector as specified in CSTG Support Central. Valid values: Active, Cisco Testing |
scCollectorStatus | string | Active | Collector Status as defined in Support Central. The offline status is being converted to active when passed to NP. |
isPrimaryCollector | string | Y | When using CSPC to scale beyond 10K devices, the CSPC can have multiple entitlements to scale to 40K. To Network Profile, this looks like separate collectors (up to 4). But physically, it is just 1 collector. If the value of this field is “N”, then it should not be considered a physical collector, but one of the logical entitlements created. Valid values: Y, N |
theater | string | AMERICAS | The theater associated with the collector, as specified in CSTG Support Central. |
lineOfBusiness | string | Enterprise | The Line of Business of the collector as defined in CSTG Support Central. Common values include: Enterprise, Service Provider, Public Sector |
serviceType | string | Subscription | The AS service type for the collector as defined in CSTG Support Central. Valid values include: Subscription, Transaction |
isNos | boolean | true | Is NOS collector as defined in Support Central. |
isSntc | boolean | true | Is SNTC collector as defined in Support Central. |
isCmcs | boolean | true | Is CMCS collector as defined in Support Central. |
isAws | boolean | true | Is AWS collector as defined in Support Central. |
collectorId | string | CSP0009021160 | The CSPC collector appliance ID. |
entitlementOwner | string | Entitlement Owner | |
txnDate | date | 31-12-17 | Collector’s latest transaction date from NP download tracking. |
entStartDate | date | 31-12-17 | Entitlement Start Date |
validityPeriod | string | Entitlement Validity Period |
SC Companies
List of all the NOS Companies in Support Central with an active (or test) collector.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sc/companies"
from mimir import Mimir
m = Mimir()
companies = m.sc.companies.get()
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | false | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
cpyName | string | false | false | None | cpyName | Company Name - The company name as defined in CSTG Support Central for display in AS Tools. |
theater | string | false | false | None | AMERICAS | Theater - The theater associated with the collector, as specified in CSTG Support Central. |
lineOfBusiness | string | false | false | None | Enterprise | Line of Business - The Line of Business of the collector as defined in CSTG Support Central. Common values include: Enterprise, Service Provider, Public Sector |
managerUserId | string | false | false | None | managerUserId | Manager UserID - The userID of the HR manager or Delivery Manager. |
crPartyId | integer | false | false | None | 12345 | Customer Registry (CR) Party ID - The unique Party ID from Customer Registry that can be used in OnePortal. Will be used by only one NP Company. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
cpyName | string | The company name as defined in CSTG Support Central for display in AS Tools. | |
dcpPartyId | integer | The Customer Registry Party ID associated in DCP for the NP Company. This ID may be associated with multiple NP Companies. | |
dcpPartyName | string | The Company Name as defined in Customer Registry associated with the DCP Party ID. | |
crPartyId | integer | The unique Party ID from Customer Registry that can be used in OnePortal. Will be used by only one NP Company. | |
crPartyName | string | The Company Name as defined in Customer Registry associated with the CR Party ID. | |
theater | string | AMERICAS | The theater associated with the collector, as specified in CSTG Support Central. |
lineOfBusiness | string | Enterprise | The Line of Business of the collector as defined in CSTG Support Central. Common values include: Enterprise, Service Provider, Public Sector |
managerUserId | string | The userID of the HR manager or Delivery Manager. |
SC Contacts
Account contacts based on search parameters in Support Central.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sc/contacts"
from mimir import Mimir
m = Mimir()
contacts = m.sc.contacts.get()
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | false | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
cpyName | string | false | false | None | cpyName | Company Name - The company name as defined in CSTG Support Central for display in AS Tools. |
pid | integer | false | false | None | 12345 | PID - PID, as specified in Support Central. |
engagementStartDate | string | false | false | None | engagementStartDate | Engagement Start Date - Engagement Start Date, as specified in Support Central. |
engagementEndDate | string | false | false | None | engagementEndDate | Engagement End Date - Engagement End Date, as specified in Support Central. |
engageStartDateFrom | string | false | false | None | engageStartDateFrom | From-Engagement Start Date - Engagement Start Date, from date the details to be fetched. |
engageStartDateTo | string | false | false | None | engageStartDateTo | To-Engagement Start Date - Engagement Start Date, to date the details to be fetched. |
Response
Name | Type | Example | Definition |
---|---|---|---|
pid | integer | PID, as specified in Support Central. | |
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
cpyName | string | The company name as defined in CSTG Support Central for display in AS Tools. | |
asPm | string | AS Project Manager, as specified in Support Central. | |
engagementStartDate | string | Engagement Start Date, as specified in Support Central. | |
engagementEndDate | string | Engagement End Date, as specified in Support Central. |
SC Engagements
Customer engagement details in Support Central.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sc/engagements"
from mimir import Mimir
m = Mimir()
engagements = m.sc.engagements.get()
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
cpyKey | integer | false | false | None | 81714 | Company Key - The unique company key value in NP. Users can find this value in any NP URL for a company. |
cpyName | string | false | false | None | cpyName | Company Name - The company name as defined in CSTG Support Central for display in AS Tools. |
theater | string | false | false | None | AMERICAS | Theater - The theater associated with the collector, as specified in CSTG Support Central. |
surveyService | string | false | false | None | surveyService | Survey Service - surveyService, as specified in Support Central. |
engagementStartDate | string | false | false | None | engagementStartDate | Engagement Start Date - Engagement Start Date, as specified in Support Central. |
engagementEndDate | string | false | false | None | engagementEndDate | Engagement End Date - Engagement End Date, as specified in Support Central. |
engageStartDateFrom | string | false | false | None | engageStartDateFrom | From-Engagement Start Date - Engagement Start Date, from date the details to be fetched. |
engageStartDateTo | string | false | false | None | engageStartDateTo | To-Engagement Start Date - Engagement Start Date, to date the details to be fetched. |
Response
Name | Type | Example | Definition |
---|---|---|---|
cpyKey | integer | 81714 | The unique company key value in NP. Users can find this value in any NP URL for a company. |
cpyName | string | The company name as defined in CSTG Support Central for display in AS Tools. | |
theater | string | AMERICAS | The theater associated with the collector, as specified in CSTG Support Central. |
surveyService | string | surveyService, as specified in Support Central. | |
capabilities | string | Capabilities, as specified in Support Central. | |
otherCapabilities | string | Other Capabilities, as specified in Support Central. | |
bciCsone | string | BCI CSONE Cases, as specified in Support Central. | |
slmCsone | string | SLM CSONE Cases, as specified in Support Central. | |
afmCsone | string | AFM CSONE Cases, as specified in Support Central. | |
nccmCsone | string | NCCM CSONE Cases, as specified in Support Central. | |
cspcCsone | string | CSPC CSONE Cases, as specified in Support Central. | |
onboardingDate | string | Onboarding Date, as specified in Support Central. | |
engagementStartDate | string | Engagement Start Date, as specified in Support Central. | |
engagementEndDate | string | Engagement End Date, as specified in Support Central. |
SORA
SORA is a tool for performing bug analysis and generating AS bug reports.
- Version: v1.0.0
- Owner: Aravind K S arks@cisco.com
- Contact: sora-team@cisco.com
- Homepage: https://sora.cisco.com
SORA Account Specific Comments Project
Api to get the Account Specific comments for the given projectId Examples to get data from the Api: 1.Want to get the particular bugid account comments for the project - https://mimir-prod.cisco.com/api/mimir/sora/account_specific_comments_project?projectId=649959&bugId=CSCdi32296 2.Want to get the all bugids account comments for the project - https://mimir-prod.cisco.com/api/mimir/sora/account_specific_comments_project?projectId=649959&bugId=%
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/account_specific_comments_project?projectId=12345&bugId=bugId"
from mimir import Mimir
m = Mimir()
account_specific_comments_project = m.sora.account_specific_comments_project.get(projectId=12345, bugId='bugId')
GET
/api/mimir/sora/account_specific_comments_project
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | integer | true | false | None | 12345 | Project ID - Project ID used in SORA - unique per project |
bugId | string | true | false | None | bugId | Bug Id - Bug Id |
Response
Name | Type | Example | Definition |
---|---|---|---|
bugId | string | Bug Id | |
accountSpecificComments | string | accountSpecificComments used in SORA for the Bug |
SORA All Projects With Engineer Details
List of ‘all’ projects in SORA.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/all_projects_with_engineer_details"
from mimir import Mimir
m = Mimir()
all_projects_with_engineer_details = m.sora.all_projects_with_engineer_details.get()
GET
/api/mimir/sora/all_projects_with_engineer_details
Response
Name | Type | Example | Definition |
---|---|---|---|
projectId | integer | Project ID used in SORA - unique per project | |
projectName | string | Project Name | |
primaryEngineer | string | Primary Engineer | |
deliveryEngineer | string | Delivery Engineer | |
projectDescription | string | Project Description | |
creationDate | string | Creation Date of project. | |
reportDate | string | Report Date | |
projectType | string | Project Type | |
customerName | string | Customer Name | |
release | string | release is the version filed in SORA. | |
projectUsage | string | Internal/Customer Delivered | |
productFamily | string | Its a cisco Product Family type. |
SORA All Release For Ostype
List of all versions for the given os type.
Examples to get data from the Api :
- https://mimir-prod.cisco.com/api/mimir/sora/all_release_for_ostype?osType=N&platform=6K
- https://mimir-prod.cisco.com/api/mimir/sora/all_release_for_ostype?osType=I&platform=
Input value should be passed as shown in the example. platform input is required for nexus. Reference for different alias name for ostypes.
I-IOS, X-IOSXR, C-CAT OS, CSR1Kv-CSR1Kv, N-NEXSUS, UCS-UCS, ACI-ACI, M-Call Manager,IVR-IP IVR, CCX-CCX, J-Jabber, AC-AnyConnect, CUCT-Unity Connection, CUIP-IP Phone firmware, A-ASA, F-FWSM, P-IPS,E-ISE, ASAv-ASAv, WSAv-WSAv, vIPS-vIPS ,W -WLC, S -NCS, T-TP, SPV-SPVideo, OPT-OPT, ASR-ASR, VMS-VMS, O-OTHER
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/all_release_for_ostype?osType=osType"
from mimir import Mimir
m = Mimir()
all_release_for_ostype = m.sora.all_release_for_ostype.get(osType='osType')
GET
/api/mimir/sora/all_release_for_ostype
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
osType | string | true | false | None | osType | osType - OS Type is operating system type supproted in SORA. Reference for different alias used in SORA for ostypes. I-IOS, X-IOSXR, C-CAT OS, CSR1Kv-CSR1Kv, N-NEXSUS, UCS-UCS, ACI-ACI, M-Call Manager,IVR-IP IVR, CCX-CCX, J-Jabber, AC-AnyConnect, CUCT-Unity Connection, CUIP-IP Phone firmware, A-ASA, F-FWSM, P-IPS,E-ISE, ASAv-ASAv, WSAv-WSAv, vIPS-vIPS ,W -WLC, S -NCS, T-TP, SPV-SPVideo, OPT-OPT, ASR-ASR, VMS-VMS, O-OTHER Example to use this variable: osType=‘I’ for IOS, osType=‘N’ for nexus. |
platform | string | false | false | None | platform | Platform - Platform type for nexus. example :platform=‘3K’,platform=‘6K’,platform=‘7K’ pass empty or null value for other osTypes. |
Response
Name | Type | Example | Definition |
---|---|---|---|
release | string | release is the version filed in SORA. |
SORA Asic Comments Percentage
Flagged to review and included bugs having ASIC comment at the time of invocation of the API.
Examples to get data from the Api: - https://mimir-prod.cisco.com/api/mimir/sora/asic_comments_percentage?projectId=649959
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/asic_comments_percentage?projectId=12345"
from mimir import Mimir
m = Mimir()
asic_comments_percentage = m.sora.asic_comments_percentage.get(projectId=12345)
GET
/api/mimir/sora/asic_comments_percentage
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | integer | true | false | None | 12345 | Project ID - Project ID used in SORA - unique per project |
Response
Name | Type | Example | Definition |
---|---|---|---|
percentage | string | percentage is simple division number. | |
asicCommentBugs | string | Bugs which as ASIC comments. | |
incAndRewBugs | string | included and flag to review bugs count. | |
projectId | integer | Project ID used in SORA - unique per project |
SORA Bug Count Info
To invoke the Api we should pass the input as ProjectId.
The Output will be the following Fields: - Initial Bug count 1. Flagged to review 2. Included various categories ( I*, I*C) 3. Excluded various categories ( E*,E*C, ETD,ECD) - Live Bug count ( instead of final bug/Delivered bug count as in excel) 1. Flagged to review count 2. Included various categories count 3. Exclude various categories count
Examples to get data from the Api: - https://mimir-prod.cisco.com/api/mimir/sora/bug_count_info?projectId=649959
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/bug_count_info?projectId=12345"
from mimir import Mimir
m = Mimir()
bug_count_info = m.sora.bug_count_info.get(projectId=12345)
GET
/api/mimir/sora/bug_count_info
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | integer | true | false | None | 12345 | Project ID - Project ID used in SORA - unique per project |
Response
Name | Type | Example | Definition |
---|---|---|---|
projectId | integer | Project ID used in SORA - unique per project | |
initialFlagRewCount | string | initial Flag to rewview Count of bugs | |
initialIncludeCount | string | initial Included Count of bugs | |
initialExcludeCount | string | initial Excluded Count of bugs | |
currentIncludeCount | string | current Included Count of bugs | |
currentExcludeCount | string | current Excluded Count of bugs | |
currentFlagRewCount | string | current Flag to rewview Count of bugs |
SORA Bug Ic Proj
Examples to get data from the Api:
https://mimir-prod.cisco.com/api/mimir/sora/bug_ic_proj?bugId=CSCsd17823,CSCtb39810&projectId=697902
https://mimir-prod.cisco.com/api/mimir/sora/bug_ic_proj?bugId=CSCsd17823&projectId=697902
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/bug_ic_proj?bugId=bugId&projectId=12345"
from mimir import Mimir
m = Mimir()
bug_ic_proj = m.sora.bug_ic_proj.get(bugId='bugId', projectId=12345)
GET
/api/mimir/sora/bug_ic_proj
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
bugId | string | true | false | None | bugId | Bug Id - Bug Id |
projectId | integer | true | false | None | 12345 | Project ID - Project ID used in SORA - unique per project |
Response
Name | Type | Example | Definition |
---|---|---|---|
projectId | integer | Project ID used in SORA - unique per project | |
bugId | string | Bug Id | |
selectionStatus | string | Inclusion/Exclusion/Review Status code | |
approvedFlag | string | approvedFlag is related to bug. | |
symptoms | string | symptoms is related to bug. | |
triggerValue | string | triggerValue is related to bug. | |
conditions | string | conditions is related to bug. | |
fixedIn | string | fixedIn is related to bug. | |
architecture | string | architecture is related to bug. | |
cli | string | cli is one of the bug info. | |
found | string | found is related to bug info. | |
impactDesc | string | impactDesc is related to bug. | |
triggerRepro | string | triggerRepro is related to bug. | |
workaroundAvailable | string | workaroundAvailable is related to bug. | |
workaroundAvoidance | string | workaroundAvoidance is related to bug. | |
workaroundRecovery | string | workaroundRecovery is related to bug. | |
impactCategory | string | impactCategory is one of the bug info. | |
technology | string | technology is one of the bug info. | |
feature | string | feature is related to bug info. | |
hardware | string | hardware is one of the bug attribute. | |
impactedPlatforms | string | impactedPlatforms is one of the bug info. | |
feature | string | feature is related to bug info. | |
hardware | string | hardware is one of the bug attribute. | |
platformImpactType | string | platformImpactType is related to bug. | |
hardwareImpactType | string | hardwareImpactType is related to bug. | |
summary | string | summary is one of the bug info. | |
other | string | other is related to bug. | |
impactCategoryOther | string | impactCategoryOther is related to bug. | |
comments | string | comments used in SORA for the Bug | |
startRelease | string | start release used in SORA for the project | |
osType | string | OS Type is operating system type supproted in SORA. Reference for different alias used in SORA for ostypes. I-IOS, X-IOSXR, C-CAT OS, CSR1Kv-CSR1Kv, N-NEXSUS, UCS-UCS, ACI-ACI, M-Call Manager,IVR-IP IVR, CCX-CCX, J-Jabber, AC-AnyConnect, CUCT-Unity Connection, CUIP-IP Phone firmware, A-ASA, F-FWSM, P-IPS,E-ISE, ASAv-ASAv, WSAv-WSAv, vIPS-vIPS ,W -WLC, S -NCS, T-TP, SPV-SPVideo, OPT-OPT, ASR-ASR, VMS-VMS, O-OTHER Example to use this variable: osType=‘I’ for IOS, osType=‘N’ for nexus. | |
throttle | string | throttle is one of the release info. | |
productFamily | string | Its a cisco Product Family type. |
SORA Bug Ic Validation
Examples to get data from the Api:
https://mimir-prod.cisco.com/api/mimir/sora/bug_ic_validation?bugId=CSCvg19941
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/bug_ic_validation?bugId=bugId&projectIdMaster=projectIdMaster"
from mimir import Mimir
m = Mimir()
bug_ic_validation = m.sora.bug_ic_validation.get(bugId='bugId', projectIdMaster='projectIdMaster')
GET
/api/mimir/sora/bug_ic_validation
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
bugId | string | true | false | None | bugId | Bug Id - Bug Id |
projectIdMaster | string | true | false | None | projectIdMaster | projectIdMaster - projectIdMaster is project Id of master project. |
Response
Name | Type | Example | Definition |
---|---|---|---|
projectId | integer | Project ID used in SORA - unique per project | |
bugId | string | Bug Id | |
selectionStatus | string | Inclusion/Exclusion/Review Status code | |
approvedFlag | string | approvedFlag is related to bug. | |
symptoms | string | symptoms is related to bug. | |
triggerValue | string | triggerValue is related to bug. | |
conditions | string | conditions is related to bug. | |
fixedIn | string | fixedIn is related to bug. | |
architecture | string | architecture is related to bug. | |
cli | string | cli is one of the bug info. | |
found | string | found is related to bug info. | |
impactDesc | string | impactDesc is related to bug. | |
triggerRepro | string | triggerRepro is related to bug. | |
workaroundAvailable | string | workaroundAvailable is related to bug. | |
workaroundAvoidance | string | workaroundAvoidance is related to bug. | |
workaroundRecovery | string | workaroundRecovery is related to bug. | |
impactCategory | string | impactCategory is one of the bug info. | |
technology | string | technology is one of the bug info. | |
feature | string | feature is related to bug info. | |
hardware | string | hardware is one of the bug attribute. | |
impactedPlatforms | string | impactedPlatforms is one of the bug info. | |
feature | string | feature is related to bug info. | |
hardware | string | hardware is one of the bug attribute. | |
platformImpactType | string | platformImpactType is related to bug. | |
hardwareImpactType | string | hardwareImpactType is related to bug. | |
summary | string | summary is one of the bug info. | |
other | string | other is related to bug. | |
impactCategoryOther | string | impactCategoryOther is related to bug. | |
comments | string | comments used in SORA for the Bug | |
startRelease | string | start release used in SORA for the project | |
osType | string | OS Type is operating system type supproted in SORA. Reference for different alias used in SORA for ostypes. I-IOS, X-IOSXR, C-CAT OS, CSR1Kv-CSR1Kv, N-NEXSUS, UCS-UCS, ACI-ACI, M-Call Manager,IVR-IP IVR, CCX-CCX, J-Jabber, AC-AnyConnect, CUCT-Unity Connection, CUIP-IP Phone firmware, A-ASA, F-FWSM, P-IPS,E-ISE, ASAv-ASAv, WSAv-WSAv, vIPS-vIPS ,W -WLC, S -NCS, T-TP, SPV-SPVideo, OPT-OPT, ASR-ASR, VMS-VMS, O-OTHER Example to use this variable: osType=‘I’ for IOS, osType=‘N’ for nexus. | |
throttle | string | throttle is one of the release info. | |
productFamily | string | Its a cisco Product Family type. |
SORA Bugs Count Excluded Master
Get the count of bugs which have been excluded due to inheriting from master project.
Examples to get data from the Api: - https://mimir-prod.cisco.com/api/mimir/sora/bugs_count_excluded_master?projectId=649959
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/bugs_count_excluded_master?projectId=12345"
from mimir import Mimir
m = Mimir()
bugs_count_excluded_master = m.sora.bugs_count_excluded_master.get(projectId=12345)
GET
/api/mimir/sora/bugs_count_excluded_master
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | integer | true | false | None | 12345 | Project ID - Project ID used in SORA - unique per project |
Response
Name | Type | Example | Definition |
---|---|---|---|
count | string | count for data in numbers. |
SORA Bugs Not Inherited Comments
If the child project as on the date of run/rerun did not have comment inherited from master project list of all those bugs.
Examples to get data from the Api:
- https://mimir-prod.cisco.com/api/mimir/sora/bugs_not_inherited_comments?projectId=649959
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/bugs_not_inherited_comments?projectId=12345"
from mimir import Mimir
m = Mimir()
bugs_not_inherited_comments = m.sora.bugs_not_inherited_comments.get(projectId=12345)
GET
/api/mimir/sora/bugs_not_inherited_comments
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | integer | true | false | None | 12345 | Project ID - Project ID used in SORA - unique per project |
Response
Name | Type | Example | Definition |
---|---|---|---|
bugs | string | bugs list in sora project |
SORA Catalyst Compliance Report
To invoke the Api we should data as an input Examples to get data from the Api: - https://mimir-prod.cisco.com/api/mimir/sora/catalyst_compliance_report?fromDate=2018-04-01&endDate=2018-04-29
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/catalyst_compliance_report?fromDate=2016-12-02&endDate=2016-12-02"
from mimir import Mimir
m = Mimir()
catalyst_compliance_report = m.sora.catalyst_compliance_report.get(fromDate=2016-12-02, endDate=2016-12-02)
GET
/api/mimir/sora/catalyst_compliance_report
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
fromDate | date | true | false | None | 2016-12-02 | From Date - Start date from which data needs to be obtainead. |
endDate | date | true | false | None | 2016-12-02 | End Date - End date from which data needs to be obtained. |
Response
Name | Type | Example | Definition |
---|---|---|---|
projectName | string | Project Name | |
customerName | string | Customer Name | |
startRelease | string | start release used in SORA for the project | |
primaryEngineer | string | Primary Engineer | |
deliveryEngineer | string | Delivery Engineer | |
creationDate | string | Creation Date of project. | |
lastModifiedDate | string | lastModifiedDate of project. |
SORA Count Comments Applied From Master
Output Descripton: Child project as on query completion time the number of comments obtained from master project ( only for included or flagged bugs) and If master project is selected during child project creation then after BRP run the number of bugs still in included or flagged to review count which had inherited the comment from master project
Examples to get data from the Api: - https://mimir-prod.cisco.com/api/mimir/sora/count_comments_applied_from_master?projectId=649959
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/count_comments_applied_from_master?projectId=12345"
from mimir import Mimir
m = Mimir()
count_comments_applied_from_master = m.sora.count_comments_applied_from_master.get(projectId=12345)
GET
/api/mimir/sora/count_comments_applied_from_master
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | integer | true | false | None | 12345 | Project ID - Project ID used in SORA - unique per project |
Response
Name | Type | Example | Definition |
---|---|---|---|
count | string | count for data in numbers. |
SORA Count Of Projects Productfamily For Bug
The following api provides the details about the bug availability in no.of unique projects and prodFamilies
Examples to get data from the Api is: - https://mimir-prod.cisco.com/api/mimir/sora/count_of_projects_productfamily_for_bug?projId=712253,627662&productFamily=all
if you want to exclude the product families , the following is the API example - https://mimir-prod.cisco.com/api/mimir/sora/count_of_projects_productfamily_for_bug?projId=712253,627662&productFamily=Cisco 8500 Series Wireless Controllers
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/count_of_projects_productfamily_for_bug?projId=projId&productFamily=productFamily"
from mimir import Mimir
m = Mimir()
count_of_projects_productfamily_for_bug = m.sora.count_of_projects_productfamily_for_bug.get(projId='projId', productFamily='productFamily')
GET
/api/mimir/sora/count_of_projects_productfamily_for_bug
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projId | string | true | false | None | projId | projId - Project ID used in SORA - unique per project. |
productFamily | string | true | false | None | productFamily | Product Family - Its a cisco Product Family type. |
Response
Name | Type | Example | Definition |
---|---|---|---|
bugId | string | Bug Id | |
projectCount | string | projectCount is used for bug. | |
prodFamilyCount | string | prodFamilyCount is used for bug. |
SORA Customer Accountcomments By Bug
To invoke the Api we should pass the input as a bugId
Examples to get data from the Api: - https://mimir-prod.cisco.com/api/mimir/sora/customer_accountcomments_by_bug?bugId=CSCsq94565
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/customer_accountcomments_by_bug?bugId=bugId"
from mimir import Mimir
m = Mimir()
customer_accountcomments_by_bug = m.sora.customer_accountcomments_by_bug.get(bugId='bugId')
GET
/api/mimir/sora/customer_accountcomments_by_bug
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
bugId | string | true | false | None | bugId | Bug Id - Bug Id |
Response
Name | Type | Example | Definition |
---|---|---|---|
customerName | string | Customer Name | |
accountSpecificComments | string | accountSpecificComments used in SORA for the Bug | |
lastUpdatedUser | string | lastUpdatedUser for the bug. |
SORA Customer List
Show all customers in case flag is N else if flag Y then NP customers.
Examples to get data from the Api: - https://mimir-prod.cisco.com/api/mimir/sora/customer_list?typeYN=Y
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/customer_list?typeYN=typeYN"
from mimir import Mimir
m = Mimir()
customer_list = m.sora.customer_list.get(typeYN='typeYN')
GET
/api/mimir/sora/customer_list
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
typeYN | string | true | false | None | typeYN | typeYN - Yes/No type input. Example:typeYN=‘Y’ or typeYN=‘N’ |
Response
Name | Type | Example | Definition |
---|---|---|---|
customerList | string | customer list |
SORA Customer Project Details
Project details for a given projectId.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/customer_project_details"
from mimir import Mimir
m = Mimir()
customer_project_details = m.sora.customer_project_details.get()
GET
/api/mimir/sora/customer_project_details
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | integer | false | false | None | 12345 | Project ID - Project ID used in SORA - unique per project |
Response
Name | Type | Example | Definition |
---|---|---|---|
projectId | integer | Project ID used in SORA - unique per project | |
osType | string | OS Type is operating system type supproted in SORA. Reference for different alias used in SORA for ostypes. I-IOS, X-IOSXR, C-CAT OS, CSR1Kv-CSR1Kv, N-NEXSUS, UCS-UCS, ACI-ACI, M-Call Manager,IVR-IP IVR, CCX-CCX, J-Jabber, AC-AnyConnect, CUCT-Unity Connection, CUIP-IP Phone firmware, A-ASA, F-FWSM, P-IPS,E-ISE, ASAv-ASAv, WSAv-WSAv, vIPS-vIPS ,W -WLC, S -NCS, T-TP, SPV-SPVideo, OPT-OPT, ASR-ASR, VMS-VMS, O-OTHER Example to use this variable: osType=‘I’ for IOS, osType=‘N’ for nexus. | |
platform | string | Platform type for nexus. example :platform=‘3K’,platform=‘6K’,platform=‘7K’ pass empty or null value for other osTypes. | |
startRelease | string | start release used in SORA for the project | |
productFamily | string | Its a cisco Product Family type. | |
bugId | string | Bug Id | |
selectionStatus | string | Inclusion/Exclusion/Review Status code | |
selectionStatusDescription | string | Inclusion/Exclusion/Review Status |
SORA Delta Bugs By Project
Project delta bugs information for a given project in SORA.
Examples to get data from the Api:
https://mimir-prod.cisco.com/api/mimir/sora/delta_bugs_by_project?projectId=654756
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/delta_bugs_by_project?projectId=12345"
from mimir import Mimir
m = Mimir()
delta_bugs_by_project = m.sora.delta_bugs_by_project.get(projectId=12345)
GET
/api/mimir/sora/delta_bugs_by_project
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | integer | true | false | None | 12345 | Project ID - Project ID used in SORA - unique per project |
Response
Name | Type | Example | Definition |
---|---|---|---|
bugs | string | bugs list in sora project | |
status | string | Express Analysis status of the project |
SORA Ea Spr Applied Bugs Count
- If sourceType=‘EA’ then get bug for Express analysis.
- If sourceType=‘SPR’ then get bug for knowledge reuse.
Examples to get data from the Api:
- https://mimir-prod.cisco.com/api/mimir/sora/ea_spr_applied_bugs_count?projectId=652707&sourceType=EA
- https://mimir-prod.cisco.com/api/mimir/sora/ea_spr_applied_bugs_count?projectId=649959&sourceType=SPR
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/ea_spr_applied_bugs_count?fromDate=2016-12-02&endDate=2016-12-02&sourceType=sourceType"
from mimir import Mimir
m = Mimir()
ea_spr_applied_bugs_count = m.sora.ea_spr_applied_bugs_count.get(fromDate=2016-12-02, endDate=2016-12-02, sourceType='sourceType')
GET
/api/mimir/sora/ea_spr_applied_bugs_count
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
fromDate | date | true | false | None | 2016-12-02 | From Date - Start date from which data needs to be obtainead. |
endDate | date | true | false | None | 2016-12-02 | End Date - End date from which data needs to be obtained. |
sourceType | String | true | false | None | sourceType | Source Type - sourceType will be ether EA or SPR. |
Response
Name | Type | Example | Definition |
---|---|---|---|
projectId | integer | Project ID used in SORA - unique per project | |
count | string | count for data in numbers. |
SORA Ea Spr Applied Bugs For Project
- If sourceType=‘EA’ then get bug for Express analysis.
- If sourceType=‘SPR’ then get bug for knowledge reuse.
Examples to get data from the Api:
- https://mimir-prod.cisco.com/api/mimir/sora/ea_spr_applied_bugs_for_project?projectId=652707&sourceType=EA
- https://mimir-prod.cisco.com/api/mimir/sora/ea_spr_applied_bugs_for_project?projectId=649959&sourceType=SPR
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/ea_spr_applied_bugs_for_project?projectId=12345&sourceType=sourceType"
from mimir import Mimir
m = Mimir()
ea_spr_applied_bugs_for_project = m.sora.ea_spr_applied_bugs_for_project.get(projectId=12345, sourceType='sourceType')
GET
/api/mimir/sora/ea_spr_applied_bugs_for_project
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | integer | true | false | None | 12345 | Project ID - Project ID used in SORA - unique per project |
sourceType | String | true | false | None | sourceType | Source Type - sourceType will be ether EA or SPR. |
Response
Name | Type | Example | Definition |
---|---|---|---|
projectId | integer | Project ID used in SORA - unique per project | |
bugId | string | Bug Id | |
updateBy | string | user information who as last updated. | |
updateDate | string | Last date when process was updated. |
SORA Engineer Details By Project
Project information for a given project in SORA.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/engineer_details_by_project"
from mimir import Mimir
m = Mimir()
engineer_details_by_project = m.sora.engineer_details_by_project.get()
GET
/api/mimir/sora/engineer_details_by_project
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | integer | false | false | None | 12345 | Project ID - Project ID used in SORA - unique per project |
Response
Name | Type | Example | Definition |
---|---|---|---|
projectId | integer | Project ID used in SORA - unique per project | |
projectName | string | Project Name | |
primaryEngineer | string | Primary Engineer | |
deliveryEngineer | string | Delivery Engineer | |
projectDescription | string | Project Description | |
creationDate | string | Creation Date of project. | |
reportDate | string | Report Date | |
projectType | string | Project Type | |
customerName | string | Customer Name | |
release | string | release is the version filed in SORA. | |
projectUsage | string | Internal/Customer Delivered | |
productFamily | string | Its a cisco Product Family type. |
SORA Impactscore By Ostype Release
To invoke the Api we should pass the input as a osType and release
Examples to get data from the Api: - https://mimir-prod.cisco.com/api/mimir/sora/impactscore_by_ostype_release?osType=X&release=BASE5.3.0
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/impactscore_by_ostype_release?osType=osType&release=release"
from mimir import Mimir
m = Mimir()
impactscore_by_ostype_release = m.sora.impactscore_by_ostype_release.get(osType='osType', release='release')
GET
/api/mimir/sora/impactscore_by_ostype_release
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
osType | string | true | false | None | osType | osType - OS Type is operating system type supproted in SORA. Reference for different alias used in SORA for ostypes. I-IOS, X-IOSXR, C-CAT OS, CSR1Kv-CSR1Kv, N-NEXSUS, UCS-UCS, ACI-ACI, M-Call Manager,IVR-IP IVR, CCX-CCX, J-Jabber, AC-AnyConnect, CUCT-Unity Connection, CUIP-IP Phone firmware, A-ASA, F-FWSM, P-IPS,E-ISE, ASAv-ASAv, WSAv-WSAv, vIPS-vIPS ,W -WLC, S -NCS, T-TP, SPV-SPVideo, OPT-OPT, ASR-ASR, VMS-VMS, O-OTHER Example to use this variable: osType=‘I’ for IOS, osType=‘N’ for nexus. |
release | string | true | false | None | release | release - release is the version filed in SORA. |
Response
Name | Type | Example | Definition |
---|---|---|---|
projectId | integer | Project ID used in SORA - unique per project | |
bugId | string | Bug Id | |
release | string | release is the version filed in SORA. | |
osType | string | OS Type is operating system type supproted in SORA. Reference for different alias used in SORA for ostypes. I-IOS, X-IOSXR, C-CAT OS, CSR1Kv-CSR1Kv, N-NEXSUS, UCS-UCS, ACI-ACI, M-Call Manager,IVR-IP IVR, CCX-CCX, J-Jabber, AC-AnyConnect, CUCT-Unity Connection, CUIP-IP Phone firmware, A-ASA, F-FWSM, P-IPS,E-ISE, ASAv-ASAv, WSAv-WSAv, vIPS-vIPS ,W -WLC, S -NCS, T-TP, SPV-SPVideo, OPT-OPT, ASR-ASR, VMS-VMS, O-OTHER Example to use this variable: osType=‘I’ for IOS, osType=‘N’ for nexus. | |
BugClosedScore | integer | BugClosed Score | |
CustomerVisibleScore | integer | CustomerVisibleScore | |
CustomerFoundScore | integer | CustomerFoundScore | |
PsirtScore | integer | PsirtScore | |
CapCaseScore | integer | CapCaseScore | |
srOverTimeScore | integer | srOverTimeScore | |
impactFieldScore | integer | impactFieldScore | |
crashScore | integer | crashScore | |
smuFoundScore | integer | smuFoundScore | |
bugSeverityScore | integer | bugSeverityScore | |
kbmpSsScore | integer | kbmpSsScore | |
dupScore | integer | dupScore | |
asSeverityScore | integer | asSeverityScore | |
s1S2WithoutWaScore | integer | s1S2WithoutWaScore | |
stateScore | integer | stateScore | |
kbmpTsScore | integer | kbmpTsScore | |
kbmpOIBScore | integer | kbmpOIBScore | |
asShowStopperScore | integer | asShowStopperScore | |
impactScore | integer | impactScore | |
totalImpactScore | string | totalImpactScore used in SORA for the project | |
lastModifiedDate | string | lastModifiedDate of project. |
SORA Impactscore Info By Projectandbug
To invoke the Api we should pass the input as ProjectId and bugId. Note: BugID Input parameters : CSCud84007 if you want all bugs in a project Pass Percentage : % (Only)
Examples to get data from the Api: https://mimir-prod.cisco.com/api/mimir/sora/impactscore_info_by_projectandbug?projectId=653342&bugId=CSCuv03014
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/impactscore_info_by_projectandbug?projectId=12345&bugId=bugId"
from mimir import Mimir
m = Mimir()
impactscore_info_by_projectandbug = m.sora.impactscore_info_by_projectandbug.get(projectId=12345, bugId='bugId')
GET
/api/mimir/sora/impactscore_info_by_projectandbug
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | integer | true | false | None | 12345 | Project ID - Project ID used in SORA - unique per project |
bugId | string | true | false | None | bugId | Bug Id - Bug Id |
Response
Name | Type | Example | Definition |
---|---|---|---|
projectId | integer | Project ID used in SORA - unique per project | |
bugId | string | Bug Id | |
BugClosedScore | integer | BugClosed Score | |
CustomerVisibleScore | integer | CustomerVisibleScore | |
CustomerFoundScore | integer | CustomerFoundScore | |
PsirtScore | integer | PsirtScore | |
CapCaseScore | integer | CapCaseScore | |
srOverTimeScore | integer | srOverTimeScore | |
impactFieldScore | integer | impactFieldScore | |
crashScore | integer | crashScore | |
smuFoundScore | integer | smuFoundScore | |
bugSeverityScore | integer | bugSeverityScore | |
kbmpSsScore | integer | kbmpSsScore | |
dupScore | integer | dupScore | |
asSeverityScore | integer | asSeverityScore | |
s1S2WithoutWaScore | integer | s1S2WithoutWaScore | |
stateScore | integer | stateScore | |
kbmpTsScore | integer | kbmpTsScore | |
kbmpOIBScore | integer | kbmpOIBScore | |
asShowStopperScore | integer | asShowStopperScore | |
impactScore | integer | impactScore | |
totalImpactScore | string | totalImpactScore used in SORA for the project |
SORA Live Bugs Info
Bug Data as on the date of invocation Flagged, included and excluded data (only bug id) as per the input flags passed.
Inpute type value as to be H,E,I,A. A-All,H-Flag to review,I-Include,E-Exclude.
Examples to get data from the Api: - https://mimir-prod.cisco.com/api/mimir/sora/live_bugs_info?projectId=649959&type=I - https://mimir-prod.cisco.com/api/mimir/sora/live_bugs_info?projectId=649959&type=A
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/live_bugs_info?projectId=12345&type=type"
from mimir import Mimir
m = Mimir()
live_bugs_info = m.sora.live_bugs_info.get(projectId=12345, type='type')
GET
/api/mimir/sora/live_bugs_info
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | integer | true | false | None | 12345 | Project ID - Project ID used in SORA - unique per project |
type | string | true | false | None | type | type - type inpute type of Yes/No |
Response
Name | Type | Example | Definition |
---|---|---|---|
bugs | string | bugs list in sora project |
SORA Master Approved Bugs
Master project get the list of approved and not approved bugs. Pass type as “Y” for approved bugs and “N” for non approved bug.
This API is Depricated and it will be available soon in SLM Dashboard.
Examples to get data from the Api:
- https://mimir-prod.cisco.com/api/mimir/sora/master_approved_bugs?projectId=649959&typeYN=N
- https://mimir-prod.cisco.com/api/mimir/sora/master_approved_bugs?projectId=649959&typeYN=Y
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/master_approved_bugs?projectId=12345"
from mimir import Mimir
m = Mimir()
master_approved_bugs = m.sora.master_approved_bugs.get(projectId=12345)
GET
/api/mimir/sora/master_approved_bugs
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | integer | true | false | None | 12345 | Project ID - Project ID used in SORA - unique per project |
typeYN | string | false | false | None | typeYN | typeYN - Yes/No type input. Example:typeYN=‘Y’ or typeYN=‘N’ |
Response
Name | Type | Example | Definition |
---|---|---|---|
bugs | string | bugs list in sora project |
SORA Master Project Info
If a master project is available for the combination of release and platform as on the date of invocation.
This API is Depricated and it will be available soon in SLM Dashboard.
Examples to get data from the Api:
- https://mimir-prod.cisco.com/api/mimir/sora/master_project_info?projectId=649959
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/master_project_info?projectId=12345"
from mimir import Mimir
m = Mimir()
master_project_info = m.sora.master_project_info.get(projectId=12345)
GET
/api/mimir/sora/master_project_info
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | integer | true | false | None | 12345 | Project ID - Project ID used in SORA - unique per project |
Response
Name | Type | Example | Definition |
---|---|---|---|
masterProject | string | masterProject ID used in SORA - master project creation id. | |
projectName | string | Project Name | |
projectId | integer | Project ID used in SORA - unique per project | |
release | string | release is the version filed in SORA. | |
productFamily | string | Its a cisco Product Family type. | |
platform | string | Platform type for nexus. example :platform=‘3K’,platform=‘6K’,platform=‘7K’ pass empty or null value for other osTypes. | |
includeSelSts | string | Included for selection status yes/no | |
includeMstCmt | string | Included for master comment yes/no | |
creationDate | string | Creation Date of project. | |
changeDate | string | Date when the project modified | |
bugUpdateDate | string | Date of bug seletion satus changed or master bug approved date. |
SORA Master Projects
This API is Depricated and it will be available soon in SLM Dashboard. Master project for combination of Release , os type and product family.
Examples to get data from the Api:
this is a 2 step process,
Step-1: use the http://wwwin-ratcore-sora.cisco.com/SoraBackendWeb/release/getDependentReleases.json?tr=
Example - http://wwwin-ratcore-sora.cisco.com/SoraBackendWeb/release/getDependentReleases.json?tr=15.4.3-S4&os=I
Step-2: Pass the dependentReleases as the input to API https://mimir-prod.cisco.com/api/mimir/sora/master_projects?osType=I&productFamily=
Example - https://mimir-prod.cisco.com/api/mimir/sora/master_projects?osType=I&productFamily=Cisco%204300%20Series%20Integrated%20Services%20Routers&release=15.4(3)S,15.4(3)S0d,15.4(3)S1,15.4(3)S2,15.4(3)S3,15.4(3)S4,15.4(3)S5,15.4(3)SN1,15.4(3)SN1a,3.13.0S,3.13.1S,3.13.2S,3.13.3S,3.13.4S,3.13.5S
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/master_projects?osType=osType&productFamily=productFamily&release=release"
from mimir import Mimir
m = Mimir()
master_projects = m.sora.master_projects.get(osType='osType', productFamily='productFamily', release='release')
GET
/api/mimir/sora/master_projects
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
osType | string | true | false | None | osType | osType - OS Type is operating system type supproted in SORA. Reference for different alias used in SORA for ostypes. I-IOS, X-IOSXR, C-CAT OS, CSR1Kv-CSR1Kv, N-NEXSUS, UCS-UCS, ACI-ACI, M-Call Manager,IVR-IP IVR, CCX-CCX, J-Jabber, AC-AnyConnect, CUCT-Unity Connection, CUIP-IP Phone firmware, A-ASA, F-FWSM, P-IPS,E-ISE, ASAv-ASAv, WSAv-WSAv, vIPS-vIPS ,W -WLC, S -NCS, T-TP, SPV-SPVideo, OPT-OPT, ASR-ASR, VMS-VMS, O-OTHER Example to use this variable: osType=‘I’ for IOS, osType=‘N’ for nexus. |
productFamily | string | true | false | None | productFamily | Product Family - Its a cisco Product Family type. |
release | string | true | false | None | release | release - release is the version filed in SORA. |
Response
Name | Type | Example | Definition |
---|---|---|---|
projectId | integer | Project ID used in SORA - unique per project | |
projectName | string | Project Name |
SORA Maturity Score By Os Pf
To invoke the Api we should pass the input as OS Type and Product Family. Note: osType Input parameter : IOS or IOS XR or NX-OS productFamily Input parameter : Cisco Catalyst 6500 Series Switches Examples to get data from the Api: https://mimir-prod.cisco.com/api/mimir/sora/maturity_score_by_os_pf?osType=IOS&productFamily=Cisco Catalyst 6500 Series Switches
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/maturity_score_by_os_pf?osType=osType&productFamily=productFamily"
from mimir import Mimir
m = Mimir()
maturity_score_by_os_pf = m.sora.maturity_score_by_os_pf.get(osType='osType', productFamily='productFamily')
GET
/api/mimir/sora/maturity_score_by_os_pf
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
osType | string | true | false | None | osType | osType - OS Type is operating system type supproted in SORA. Reference for different alias used in SORA for ostypes. I-IOS, X-IOSXR, C-CAT OS, CSR1Kv-CSR1Kv, N-NEXSUS, UCS-UCS, ACI-ACI, M-Call Manager,IVR-IP IVR, CCX-CCX, J-Jabber, AC-AnyConnect, CUCT-Unity Connection, CUIP-IP Phone firmware, A-ASA, F-FWSM, P-IPS,E-ISE, ASAv-ASAv, WSAv-WSAv, vIPS-vIPS ,W -WLC, S -NCS, T-TP, SPV-SPVideo, OPT-OPT, ASR-ASR, VMS-VMS, O-OTHER Example to use this variable: osType=‘I’ for IOS, osType=‘N’ for nexus. |
productFamily | string | true | false | None | productFamily | Product Family - Its a cisco Product Family type. |
Response
Name | Type | Example | Definition |
---|---|---|---|
osType | string | OS Type is operating system type supproted in SORA. Reference for different alias used in SORA for ostypes. I-IOS, X-IOSXR, C-CAT OS, CSR1Kv-CSR1Kv, N-NEXSUS, UCS-UCS, ACI-ACI, M-Call Manager,IVR-IP IVR, CCX-CCX, J-Jabber, AC-AnyConnect, CUCT-Unity Connection, CUIP-IP Phone firmware, A-ASA, F-FWSM, P-IPS,E-ISE, ASAv-ASAv, WSAv-WSAv, vIPS-vIPS ,W -WLC, S -NCS, T-TP, SPV-SPVideo, OPT-OPT, ASR-ASR, VMS-VMS, O-OTHER Example to use this variable: osType=‘I’ for IOS, osType=‘N’ for nexus. | |
productFamily | string | Its a cisco Product Family type. | |
release | string | release is the version filed in SORA. | |
maturityScore | integer | Agilis Software Maturity Score |
SORA Maturity Score By Pf Release
To invoke the Api we should pass the input as Product Family.
Note:
productFamily Input parameter : Cisco Catalyst 6500 Series Switches
release Input parameter(optional) : 15.4(1)SY3
Examples to get data from the Api:
https://mimir-prod.cisco.com/api/mimir/sora/maturity_score_by_pf_release?productFamily=Cisco Catalyst 6500 Series Switches&release=
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/maturity_score_by_pf_release?productFamily=productFamily"
from mimir import Mimir
m = Mimir()
maturity_score_by_pf_release = m.sora.maturity_score_by_pf_release.get(productFamily='productFamily')
GET
/api/mimir/sora/maturity_score_by_pf_release
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
productFamily | string | true | false | None | productFamily | Product Family - Its a cisco Product Family type. |
release | string | false | false | None | release | release - release is the version filed in SORA. |
Response
Name | Type | Example | Definition |
---|---|---|---|
osType | string | OS Type is operating system type supproted in SORA. Reference for different alias used in SORA for ostypes. I-IOS, X-IOSXR, C-CAT OS, CSR1Kv-CSR1Kv, N-NEXSUS, UCS-UCS, ACI-ACI, M-Call Manager,IVR-IP IVR, CCX-CCX, J-Jabber, AC-AnyConnect, CUCT-Unity Connection, CUIP-IP Phone firmware, A-ASA, F-FWSM, P-IPS,E-ISE, ASAv-ASAv, WSAv-WSAv, vIPS-vIPS ,W -WLC, S -NCS, T-TP, SPV-SPVideo, OPT-OPT, ASR-ASR, VMS-VMS, O-OTHER Example to use this variable: osType=‘I’ for IOS, osType=‘N’ for nexus. | |
productFamily | string | Its a cisco Product Family type. | |
release | string | release is the version filed in SORA. | |
maturityScore | integer | Agilis Software Maturity Score |
SORA Os Pf Release By Sourcesystem
To invoke the Api we should pass the input as Source System. Note: sourceSystem Input parameter : HMP-SDSP
Examples to get data from the Api: https://mimir-prod.cisco.com/api/mimir/sora/os_pf_release_by_sourcesystem?sourceSystem=HMP-SDSP
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/os_pf_release_by_sourcesystem?sourceSystem=sourceSystem"
from mimir import Mimir
m = Mimir()
os_pf_release_by_sourcesystem = m.sora.os_pf_release_by_sourcesystem.get(sourceSystem='sourceSystem')
GET
/api/mimir/sora/os_pf_release_by_sourcesystem
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
sourceSystem | string | true | false | None | sourceSystem | sourceSystem - sourceSystem could be HMP-SDSP or HMP-NP or NP-NP |
Response
Name | Type | Example | Definition |
---|---|---|---|
osType | string | OS Type is operating system type supproted in SORA. Reference for different alias used in SORA for ostypes. I-IOS, X-IOSXR, C-CAT OS, CSR1Kv-CSR1Kv, N-NEXSUS, UCS-UCS, ACI-ACI, M-Call Manager,IVR-IP IVR, CCX-CCX, J-Jabber, AC-AnyConnect, CUCT-Unity Connection, CUIP-IP Phone firmware, A-ASA, F-FWSM, P-IPS,E-ISE, ASAv-ASAv, WSAv-WSAv, vIPS-vIPS ,W -WLC, S -NCS, T-TP, SPV-SPVideo, OPT-OPT, ASR-ASR, VMS-VMS, O-OTHER Example to use this variable: osType=‘I’ for IOS, osType=‘N’ for nexus. | |
productFamily | string | Its a cisco Product Family type. | |
release | string | release is the version filed in SORA. |
SORA Preferred Release
preferred release information for a given input in SORA.
Examples to get the data from Api: - https://mimir-prod.cisco.com/api/mimir/sora/preferred_release?productFamily=Cisco Catalyst 3750 Series Switches&release=15.0(2)SE10,15.0(2)SE9&customerName=emc
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/preferred_release?productFamily=productFamily&release=release&customerName=customerName"
from mimir import Mimir
m = Mimir()
preferred_release = m.sora.preferred_release.get(productFamily='productFamily', release='release', customerName='customerName')
GET
/api/mimir/sora/preferred_release
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
productFamily | string | true | false | None | productFamily | Product Family - Its a cisco Product Family type. |
release | string | true | false | None | release | release - release is the version filed in SORA. |
customerName | string | true | false | None | customerName | Customer Name - Customer Name |
Response
Name | Type | Example | Definition |
---|---|---|---|
projectId | integer | Project ID used in SORA - unique per project | |
release | string | release is the version filed in SORA. | |
osType | string | OS Type is operating system type supproted in SORA. Reference for different alias used in SORA for ostypes. I-IOS, X-IOSXR, C-CAT OS, CSR1Kv-CSR1Kv, N-NEXSUS, UCS-UCS, ACI-ACI, M-Call Manager,IVR-IP IVR, CCX-CCX, J-Jabber, AC-AnyConnect, CUCT-Unity Connection, CUIP-IP Phone firmware, A-ASA, F-FWSM, P-IPS,E-ISE, ASAv-ASAv, WSAv-WSAv, vIPS-vIPS ,W -WLC, S -NCS, T-TP, SPV-SPVideo, OPT-OPT, ASR-ASR, VMS-VMS, O-OTHER Example to use this variable: osType=‘I’ for IOS, osType=‘N’ for nexus. | |
totalBugCount | integer | totalBugCount used in SORA for the Bug | |
totalImpactScore | string | totalImpactScore used in SORA for the project |
SORA Prescriptive Releases Bugs
Bugs and headline of those bugs for given release and duration.
Examples to get data from the Api:
- https://mimir-prod.cisco.com/api/mimir/sora/prescriptive_releases_bugs?osType=I&release=15.5.3-S1&duration=60
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/prescriptive_releases_bugs?osType=osType"
from mimir import Mimir
m = Mimir()
prescriptive_releases_bugs = m.sora.prescriptive_releases_bugs.get(osType='osType')
GET
/api/mimir/sora/prescriptive_releases_bugs
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
osType | string | true | false | None | osType | osType - OS Type is operating system type supproted in SORA. Reference for different alias used in SORA for ostypes. I-IOS, X-IOSXR, C-CAT OS, CSR1Kv-CSR1Kv, N-NEXSUS, UCS-UCS, ACI-ACI, M-Call Manager,IVR-IP IVR, CCX-CCX, J-Jabber, AC-AnyConnect, CUCT-Unity Connection, CUIP-IP Phone firmware, A-ASA, F-FWSM, P-IPS,E-ISE, ASAv-ASAv, WSAv-WSAv, vIPS-vIPS ,W -WLC, S -NCS, T-TP, SPV-SPVideo, OPT-OPT, ASR-ASR, VMS-VMS, O-OTHER Example to use this variable: osType=‘I’ for IOS, osType=‘N’ for nexus. |
release | string | false | false | None | release | release - release is the version filed in SORA. |
duration | string | false | false | None | duration | duration - Duration in number of days |
Response
Name | Type | Example | Definition |
---|---|---|---|
bugs | string | bugs list in sora project | |
release | string | release is the version filed in SORA. | |
headLine | string | headLine for the bug. | |
impactCust | string | Impacted Customers count, AS Prescriptive Releases Dashboard | |
asSeverity | string | AS Severity of bug, AS Prescriptive Releases Dashboard | |
components | string | Components, AS Prescriptive Releases Dashboard | |
noOfProjects | string | Number of projects, AS Prescriptive Releases Dashboard | |
careCount | string | Number of Care Tickets for bug, AS Prescriptive Releases Dashboard | |
state | string | Bug State. |
SORA Product Family By Ostype
Product family for given os type. List of all product family if os type mapping not provided.
Examples to get data from the Api:
- https://mimir-prod.cisco.com/api/mimir/sora/product_family_by_ostype?osType=I
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/product_family_by_ostype?osType=osType"
from mimir import Mimir
m = Mimir()
product_family_by_ostype = m.sora.product_family_by_ostype.get(osType='osType')
GET
/api/mimir/sora/product_family_by_ostype
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
osType | string | true | false | None | osType | osType - OS Type is operating system type supproted in SORA. Reference for different alias used in SORA for ostypes. I-IOS, X-IOSXR, C-CAT OS, CSR1Kv-CSR1Kv, N-NEXSUS, UCS-UCS, ACI-ACI, M-Call Manager,IVR-IP IVR, CCX-CCX, J-Jabber, AC-AnyConnect, CUCT-Unity Connection, CUIP-IP Phone firmware, A-ASA, F-FWSM, P-IPS,E-ISE, ASAv-ASAv, WSAv-WSAv, vIPS-vIPS ,W -WLC, S -NCS, T-TP, SPV-SPVideo, OPT-OPT, ASR-ASR, VMS-VMS, O-OTHER Example to use this variable: osType=‘I’ for IOS, osType=‘N’ for nexus. |
Response
Name | Type | Example | Definition |
---|---|---|---|
productFamily | string | Its a cisco Product Family type. |
SORA Project
Project information for a given project in SORA. This api is Depricated.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/project"
from mimir import Mimir
m = Mimir()
project = m.sora.project.get()
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | integer | false | false | None | 12345 | Project ID - Project ID used in SORA - unique per project |
Response
Name | Type | Example | Definition |
---|---|---|---|
projectId | integer | Project ID used in SORA - unique per project | |
projectName | string | Project Name | |
primaryEngineer | string | Primary Engineer | |
deliveryEngineer | string | Delivery Engineer | |
projectDescription | string | Project Description | |
creationDate | string | Creation Date of project. | |
reportDate | string | Report Date | |
projectType | string | Project Type | |
customerName | string | Customer Name | |
release | string | release is the version filed in SORA. | |
projectUsage | string | Internal/Customer Delivered | |
productFamily | string | Its a cisco Product Family type. |
SORA Project Brp
Project details for a given projectId.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/project_brp"
from mimir import Mimir
m = Mimir()
project_brp = m.sora.project_brp.get()
GET
/api/mimir/sora/project_brp
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
fromDate | date | false | false | None | 2016-12-02 | From Date - Start date from which data needs to be obtainead. |
endDate | date | false | false | None | 2016-12-02 | End Date - End date from which data needs to be obtained. |
Response
Name | Type | Example | Definition |
---|---|---|---|
bugCountPreBRP | string | Bugs for analysis before BRP process | |
netExclusionCount | string | Total Exclusion Count | |
autoFBTExclusionCount | string | Bugs excluded by auto feature based tagging | |
manualFBTExclusionCount | string | Bugs excluded by manual feature based tagging | |
spiceExclusionCount | string | Bugs Excluded by spice (Statistics based exclusion) | |
recSyncExclusionCount | string | Bugs excluded by sync. | |
bugCountPostBRP | string | Bugs count post Bug reduction process. | |
projectId | integer | Project ID used in SORA - unique per project | |
customerName | string | Customer Name |
SORA Project Bug Details Encl
To invoke the Api we should pass the input as bugID. The Output will be Enclosure details of the bug. Examples to get data from the Api: - https://mimir-prod.cisco.com/api/mimir/sora/project_bug_details_encl?bugId=CSCdm30793
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/project_bug_details_encl?bugId=bugId"
from mimir import Mimir
m = Mimir()
project_bug_details_encl = m.sora.project_bug_details_encl.get(bugId='bugId')
GET
/api/mimir/sora/project_bug_details_encl
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
bugId | string | true | false | None | bugId | Bug Id - Bug Id |
Response
Name | Type | Example | Definition |
---|---|---|---|
bugId | string | Bug Id | |
enclosureName | string | EnclosureName is related to bug info. | |
enclosureContent | string | EnclosureContent is related to bug info. | |
lastModifiedDate | string | lastModifiedDate of project. |
SORA Project Bug Info
To invoke the Api we should pass the input as bugID. The Output will be bug info. Examples to get data from the Api: - https://mimir-prod.cisco.com/api/mimir/sora/project_bug_info?bugId=CSCdm30793
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/project_bug_info?bugId=bugId"
from mimir import Mimir
m = Mimir()
project_bug_info = m.sora.project_bug_info.get(bugId='bugId')
GET
/api/mimir/sora/project_bug_info
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
bugId | string | true | false | None | bugId | Bug Id - Bug Id |
Response
Name | Type | Example | Definition |
---|---|---|---|
bugId | string | Bug Id | |
severity | string | severity used in SORA for the Bug | |
age | string | Age of the bug. | |
closedOn | string | ClosedOn is related to bug info. | |
duplicateOf | string | duplicateOf is related to bug info. | |
enclosures | string | enclosures is related to bug info. | |
feature | string | feature is related to bug info. | |
found | string | found is related to bug info. | |
project | string | project is related to bug info. | |
impact | string | Impact is related to bug info. | |
lastModifiedDate | string | lastModifiedDate of project. | |
submittedOn | string | submittedOn is related to bug information. | |
ratPsirt | string | ratPsirt is related to bug info. | |
status | string | Express Analysis status of the project | |
resolvedOn | string | resolvedOn is related to bug info. | |
applyTo | string | applyTo is related to bug info. | |
attribute | string | attribute is related to bug info. | |
component | string | component is one of the bug attribute. | |
engineer | string | engineer is related to bug information. | |
hardware | string | hardware is one of the bug attribute. | |
integratedRelease | string | integratedRelease is related to bug info. | |
keyword | string | keyword is related to bug info. | |
bugOID | string | bugOID is related to bug info. | |
product | string | product is related to bug info. | |
psirt | string | psirt is related to bug info. | |
psirtStatus | string | psirtStatus is related to bug info. | |
s1s2WithoutWorkaround | string | s1s2WithoutWorkaround is related to bug info. | |
securityIncidence | string | securityIncidence is related to bug info. | |
showStopper | string | showStopper is related to bug info. | |
toBeFixed | string | toBeFixed is related to bug info. | |
troubleTickets | string | troubleTickets is related to bug info. | |
testStopper | string | testStopper is related to bug info. | |
verifiedRelease | string | verifiedRelease is related to bug info. | |
version | string | version is related to bug info. | |
capInfo | string | capInfo is related to bug info. | |
headline | string | headline is related to bug info. | |
badCodeFixId | string | badCodeFixId is related to bug info. | |
srCount | string | srCount is related to bug info. |
SORA Project Bug Selection Status
To invoke the Api we should pass the input as Project Id. Note: projectId Input parameter : 698616
Examples to get data from the Api: https://mimir-prod.cisco.com/api/mimir/sora/project_bug_selection_status?projectId=698616
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/project_bug_selection_status?projectId=12345"
from mimir import Mimir
m = Mimir()
project_bug_selection_status = m.sora.project_bug_selection_status.get(projectId=12345)
GET
/api/mimir/sora/project_bug_selection_status
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | integer | true | false | None | 12345 | Project ID - Project ID used in SORA - unique per project |
Response
Name | Type | Example | Definition |
---|---|---|---|
bugId | string | Bug Id | |
selectionStatus | string | Inclusion/Exclusion/Review Status code | |
baseProject | string | baseProject is base of merge project. | |
approvedFlag | string | approvedFlag is related to bug. |
SORA Project Component Info
Project consolidated information for a given project in SORA.
Examples to get data from the Api:
https://mimir-prod.cisco.com/api/mimir/sora/project_component_info?projectId=649959
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/project_component_info?projectId=12345"
from mimir import Mimir
m = Mimir()
project_component_info = m.sora.project_component_info.get(projectId=12345)
GET
/api/mimir/sora/project_component_info
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | integer | true | false | None | 12345 | Project ID - Project ID used in SORA - unique per project |
Response
Name | Type | Example | Definition |
---|---|---|---|
components | string | Components, AS Prescriptive Releases Dashboard |
SORA Project Details
Project details for a given projectId.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/project_details"
from mimir import Mimir
m = Mimir()
project_details = m.sora.project_details.get()
GET
/api/mimir/sora/project_details
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | integer | false | false | None | 12345 | Project ID - Project ID used in SORA - unique per project |
Response
Name | Type | Example | Definition |
---|---|---|---|
projectId | integer | Project ID used in SORA - unique per project | |
osType | string | OS Type is operating system type supproted in SORA. Reference for different alias used in SORA for ostypes. I-IOS, X-IOSXR, C-CAT OS, CSR1Kv-CSR1Kv, N-NEXSUS, UCS-UCS, ACI-ACI, M-Call Manager,IVR-IP IVR, CCX-CCX, J-Jabber, AC-AnyConnect, CUCT-Unity Connection, CUIP-IP Phone firmware, A-ASA, F-FWSM, P-IPS,E-ISE, ASAv-ASAv, WSAv-WSAv, vIPS-vIPS ,W -WLC, S -NCS, T-TP, SPV-SPVideo, OPT-OPT, ASR-ASR, VMS-VMS, O-OTHER Example to use this variable: osType=‘I’ for IOS, osType=‘N’ for nexus. | |
platform | string | Platform type for nexus. example :platform=‘3K’,platform=‘6K’,platform=‘7K’ pass empty or null value for other osTypes. | |
startRelease | string | start release used in SORA for the project | |
productFamily | string | Its a cisco Product Family type. | |
bugId | string | Bug Id | |
selectionStatus | string | Inclusion/Exclusion/Review Status code | |
selectionStatusDescription | string | Inclusion/Exclusion/Review Status |
SORA Project Details By Usage
project_details_by_usage information for a given input in the SORA. Examples to get the data from Api: - https://mimir-prod.cisco.com/api/mimir/sora/project_details_by_usage?fromDate=2017-01-04&endDate=2017-04-27&usage=Internal&osType=W,A
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/project_details_by_usage?fromDate=2016-12-02&endDate=2016-12-02&usage=usage&osType=osType"
from mimir import Mimir
m = Mimir()
project_details_by_usage = m.sora.project_details_by_usage.get(fromDate=2016-12-02, endDate=2016-12-02, usage='usage', osType='osType')
GET
/api/mimir/sora/project_details_by_usage
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
fromDate | date | true | false | None | 2016-12-02 | From Date - Start date from which data needs to be obtainead. |
endDate | date | true | false | None | 2016-12-02 | End Date - End date from which data needs to be obtained. |
usage | string | true | false | None | usage | usage - usage |
osType | string | true | false | None | osType | osType - OS Type is operating system type supproted in SORA. Reference for different alias used in SORA for ostypes. I-IOS, X-IOSXR, C-CAT OS, CSR1Kv-CSR1Kv, N-NEXSUS, UCS-UCS, ACI-ACI, M-Call Manager,IVR-IP IVR, CCX-CCX, J-Jabber, AC-AnyConnect, CUCT-Unity Connection, CUIP-IP Phone firmware, A-ASA, F-FWSM, P-IPS,E-ISE, ASAv-ASAv, WSAv-WSAv, vIPS-vIPS ,W -WLC, S -NCS, T-TP, SPV-SPVideo, OPT-OPT, ASR-ASR, VMS-VMS, O-OTHER Example to use this variable: osType=‘I’ for IOS, osType=‘N’ for nexus. |
Response
Name | Type | Example | Definition |
---|---|---|---|
projectId | integer | Project ID used in SORA - unique per project | |
projectName | string | Project Name | |
userName | string | userName | |
managerId | string | managerId | |
osType | string | OS Type is operating system type supproted in SORA. Reference for different alias used in SORA for ostypes. I-IOS, X-IOSXR, C-CAT OS, CSR1Kv-CSR1Kv, N-NEXSUS, UCS-UCS, ACI-ACI, M-Call Manager,IVR-IP IVR, CCX-CCX, J-Jabber, AC-AnyConnect, CUCT-Unity Connection, CUIP-IP Phone firmware, A-ASA, F-FWSM, P-IPS,E-ISE, ASAv-ASAv, WSAv-WSAv, vIPS-vIPS ,W -WLC, S -NCS, T-TP, SPV-SPVideo, OPT-OPT, ASR-ASR, VMS-VMS, O-OTHER Example to use this variable: osType=‘I’ for IOS, osType=‘N’ for nexus. | |
includedCount | integer | includedCount | |
brpCount | integer | brpCount | |
intiallyFlagForReviewBugs | integer | intiallyFlagForReviewBugs | |
intiallyIncludedBugs | integer | intiallyIncludedBugs | |
excludedBugCount | integer | excludedBugCount | |
usage | string | usage |
SORA Project Included Bugs
Project included bugs information for a given project in SORA.
Examples to get data from the Api:
https://mimir-prod.cisco.com/api/mimir/sora/project_included_bugs?projectId=679343
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/project_included_bugs?projectId=12345"
from mimir import Mimir
m = Mimir()
project_included_bugs = m.sora.project_included_bugs.get(projectId=12345)
GET
/api/mimir/sora/project_included_bugs
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | integer | true | false | None | 12345 | Project ID - Project ID used in SORA - unique per project |
Response
Name | Type | Example | Definition |
---|---|---|---|
bugId | string | Bug Id | |
comments | string | comments used in SORA for the Bug | |
headLine | string | headLine for the bug. | |
reviewType | string | reviewType used in SORA for the Bug | |
state | string | Bug State. | |
severity | string | severity used in SORA for the Bug | |
components | string | Components, AS Prescriptive Releases Dashboard | |
careCount | string | Number of Care Tickets for bug, AS Prescriptive Releases Dashboard | |
asSeverity | string | AS Severity of bug, AS Prescriptive Releases Dashboard | |
selectionStatus | string | Inclusion/Exclusion/Review Status code |
SORA Project Info
Project consolidated information for a given project in SORA.
Examples to get data from the Api:
https://mimir-prod.cisco.com/api/mimir/sora/project_info?projectId=649959
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/project_info?projectId=12345"
from mimir import Mimir
m = Mimir()
project_info = m.sora.project_info.get(projectId=12345)
GET
/api/mimir/sora/project_info
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | integer | true | false | None | 12345 | Project ID - Project ID used in SORA - unique per project |
Response
Name | Type | Example | Definition |
---|---|---|---|
brpStatus | string | BrpStatus is used for specific project to check BRP done or not | |
projectId | integer | Project ID used in SORA - unique per project | |
lcStatus | string | Life Cycle Status for the give project in SORA. | |
lcStatusDate | string | Life Cycle Date for the give project in SORA. | |
configUploadFlag | string | Config file uploaded for Project then variable will be “Yes” | |
fss | string | whether the project is FSS Project Or Not | |
sorastsDesc | string | Discription of current page status of the project. | |
status | string | Express Analysis status of the project | |
baseProject | string | baseProject is base of merge project. | |
release | string | release is the version filed in SORA. | |
platform | string | Platform type for nexus. example :platform=‘3K’,platform=‘6K’,platform=‘7K’ pass empty or null value for other osTypes. | |
queryRunDate | string | queryRunDate is last query completed/run date. | |
parentProjId | string | parentProjId is project Id of parent project. Clone projects will have parent mapped to it. | |
deliveryDate | string | Date when the project moved to Software lifecycle status Delivered |
SORA Project Productfamily
Project Product family information for a given project in SORA.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/project_productfamily?projectId=12345"
from mimir import Mimir
m = Mimir()
project_productfamily = m.sora.project_productfamily.get(projectId=12345)
GET
/api/mimir/sora/project_productfamily
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | integer | true | false | None | 12345 | Project ID - Project ID used in SORA - unique per project |
Response
Name | Type | Example | Definition |
---|---|---|---|
projectId | integer | Project ID used in SORA - unique per project | |
productFamily | string | Its a cisco Product Family type. |
SORA Projects
List of ‘all’ projects in SORA. This api is depricated.
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/projects"
from mimir import Mimir
m = Mimir()
projects = m.sora.projects.get()
Response
Name | Type | Example | Definition |
---|---|---|---|
projectId | integer | Project ID used in SORA - unique per project | |
projectName | string | Project Name | |
primaryEngineer | string | Primary Engineer | |
deliveryEngineer | string | Delivery Engineer | |
projectDescription | string | Project Description | |
creationDate | string | Creation Date of project. | |
reportDate | string | Report Date | |
projectType | string | Project Type | |
customerName | string | Customer Name | |
release | string | release is the version filed in SORA. | |
projectUsage | string | Internal/Customer Delivered | |
productFamily | string | Its a cisco Product Family type. |
SORA Projects By Customerinfo
Project consolidated information for a given project in SORA.
Examples to get data from the Api:
https://mimir-prod.cisco.com/api/mimir/sora/projects_by_customerinfo?projectId=649959
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/projects_by_customerinfo?projectId=12345"
from mimir import Mimir
m = Mimir()
projects_by_customerinfo = m.sora.projects_by_customerinfo.get(projectId=12345)
GET
/api/mimir/sora/projects_by_customerinfo
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | integer | true | false | None | 12345 | Project ID - Project ID used in SORA - unique per project |
Response
Name | Type | Example | Definition |
---|---|---|---|
projectId | integer | Project ID used in SORA - unique per project | |
projectName | string | Project Name | |
release | string | release is the version filed in SORA. | |
customerId | integer | customer ID used in SORA - unique per project | |
osType | string | OS Type is operating system type supproted in SORA. Reference for different alias used in SORA for ostypes. I-IOS, X-IOSXR, C-CAT OS, CSR1Kv-CSR1Kv, N-NEXSUS, UCS-UCS, ACI-ACI, M-Call Manager,IVR-IP IVR, CCX-CCX, J-Jabber, AC-AnyConnect, CUCT-Unity Connection, CUIP-IP Phone firmware, A-ASA, F-FWSM, P-IPS,E-ISE, ASAv-ASAv, WSAv-WSAv, vIPS-vIPS ,W -WLC, S -NCS, T-TP, SPV-SPVideo, OPT-OPT, ASR-ASR, VMS-VMS, O-OTHER Example to use this variable: osType=‘I’ for IOS, osType=‘N’ for nexus. | |
productFamily | string | Its a cisco Product Family type. |
SORA Projects By Ostype
To invoke the Api we should pass the input as osType,fromDate and endDate. The output will be project details and release and customer name & initial bug count.
Examples to get data from the Api: https://mimir-prod.cisco.com/api/mimir/sora/projects_by_ostype?osType=X&fromDate=2014-08-22&endDate=2016-08-22
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/projects_by_ostype?osType=osType&fromDate=2016-12-02&endDate=2016-12-02"
from mimir import Mimir
m = Mimir()
projects_by_ostype = m.sora.projects_by_ostype.get(osType='osType', fromDate=2016-12-02, endDate=2016-12-02)
GET
/api/mimir/sora/projects_by_ostype
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
osType | string | true | false | None | osType | osType - OS Type is operating system type supproted in SORA. Reference for different alias used in SORA for ostypes. I-IOS, X-IOSXR, C-CAT OS, CSR1Kv-CSR1Kv, N-NEXSUS, UCS-UCS, ACI-ACI, M-Call Manager,IVR-IP IVR, CCX-CCX, J-Jabber, AC-AnyConnect, CUCT-Unity Connection, CUIP-IP Phone firmware, A-ASA, F-FWSM, P-IPS,E-ISE, ASAv-ASAv, WSAv-WSAv, vIPS-vIPS ,W -WLC, S -NCS, T-TP, SPV-SPVideo, OPT-OPT, ASR-ASR, VMS-VMS, O-OTHER Example to use this variable: osType=‘I’ for IOS, osType=‘N’ for nexus. |
fromDate | date | true | false | None | 2016-12-02 | From Date - Start date from which data needs to be obtainead. |
endDate | date | true | false | None | 2016-12-02 | End Date - End date from which data needs to be obtained. |
Response
Name | Type | Example | Definition |
---|---|---|---|
projectId | integer | Project ID used in SORA - unique per project | |
projectName | string | Project Name | |
release | string | release is the version filed in SORA. | |
primaryEngineer | string | Primary Engineer | |
deliveryEngineer | string | Delivery Engineer | |
creationDate | string | Creation Date of project. | |
initialFlagRewCount | string | initial Flag to rewview Count of bugs | |
initialIncludeCount | string | initial Included Count of bugs | |
initialExcludeCount | string | initial Excluded Count of bugs | |
customerName | string | Customer Name |
SORA Release Cco Posted Date
CCO posted date and date when it is supported in sora. (get release and pass cco posted date. Cco psoted date present in sprit)
Examples to get data from the Api : FCS date information available for below osType . Please use project create using below osType. X-IOSXR, N-NEXSUS, UCS-UCS, M - Call Manager, CUCT - Unity Connection, CUIP - IP Phone firmware, A -ASA,F -FWSM,P - IPS,E -ISE,W - WLC, S - NCS, T -TP,OPT -OPT, ASR - ASR, VMS -VMS, O - OTHER
- https://mimir-prod.cisco.com/api/mimir/sora/release_cco_posted_date?projectId=649959
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/release_cco_posted_date?projectId=12345"
from mimir import Mimir
m = Mimir()
release_cco_posted_date = m.sora.release_cco_posted_date.get(projectId=12345)
GET
/api/mimir/sora/release_cco_posted_date
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | integer | true | false | None | 12345 | Project ID - Project ID used in SORA - unique per project |
Response
Name | Type | Example | Definition |
---|---|---|---|
release | string | release is the version filed in SORA. | |
releaseDate | string | releaseDate is date when release cco posted. |
SORA Severity Count
To invoke the Api we should pass the input as custId.
The Output will be the following Fields: - Severity 1. Severity 1 2. Severity 2 3. Severity 3 4. Other Severity - Severity Count 1. Severity 1 Count 2. Severity 2 Count 3. Severity 3 Count 4. Other Severity Count
Examples to get data from the Api: - https://mimir-prod.cisco.com/api/mimir/sora/severity_count
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/severity_count"
from mimir import Mimir
m = Mimir()
severity_count = m.sora.severity_count.get()
GET
/api/mimir/sora/severity_count
Response
Name | Type | Example | Definition |
---|---|---|---|
severity | string | severity used in SORA for the Bug | |
sevCount | integer | sevCount used in SORA for the Bug |
SORA Tagged Bugs Count
Count information of bugs excluded due to HIRA or by ASIC Tag.
- If typeHT=‘H’ then get Count of HIRA Tags not including (EXCL tags )
- If typeHT=‘T’ then get count of bugs excluded due to ASIC tag
Examples to get data from the Api:
- https://mimir-prod.cisco.com/api/mimir/sora/tagged_bugs_count?projectId=649959&typeHT=H
- https://mimir-prod.cisco.com/api/mimir/sora/tagged_bugs_count?projectId=649959&typeHT=T
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sora/tagged_bugs_count?projectId=12345&typeHT=typeHT"
from mimir import Mimir
m = Mimir()
tagged_bugs_count = m.sora.tagged_bugs_count.get(projectId=12345, typeHT='typeHT')
GET
/api/mimir/sora/tagged_bugs_count
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
projectId | integer | true | false | None | 12345 | Project ID - Project ID used in SORA - unique per project |
typeHT | string | true | false | None | typeHT | typeHT - Hira Tag/Tag Example: typeHT=‘H’ represents HIRA Tags , typeHT=‘T’ |
Response
Name | Type | Example | Definition |
---|---|---|---|
count | string | count for data in numbers. |
SPLUNK
Splunk connector for query and add.
- Version: v1.0.0
- Owner: Brett Dunstan bdustan@cisco.com
- Contact: mimir-support@cisco.com
- Homepage: http://as-practice-10:8000
SPRIT
SPRIT DB contains SW Release information. This service is coming via NP.
- Version: v1.0.0
- Owner: Paul Roberts paurober@cisco.com
- Contact: ccamplej@cisco.com
- Homepage: http://wwwin-rtim.cisco.com/sprit/web/jsp/MainMenu.jsp
SPRIT Platforms
SPRIT Software Platforms master list
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sprit/platforms"
from mimir import Mimir
m = Mimir()
platforms = m.sprit.platforms.get()
GET
/api/mimir/sprit/platforms
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
platform | string | false | false | None | ASR1000-RP1 | Platform - SPRIT Platform value. Use SPRIT platforms API to get list. |
softwareType | string | false | false | None | IOSXE | Software Type - Software Type from SPRIT / IRT. Use SPRIT software_types API to get list. |
Response
Name | Type | Example | Definition |
---|---|---|---|
platform | string | ASR1000-RP1 | SPRIT Platform value. Use SPRIT platforms API to get list. |
softwareType | string | IOSXE | Software Type from SPRIT / IRT. Use SPRIT software_types API to get list. |
SPRIT Software Images
Software images details from SPRIT
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sprit/software_images"
from mimir import Mimir
m = Mimir()
software_images = m.sprit.software_images.get()
GET
/api/mimir/sprit/software_images
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
softwareType | string | false | false | None | IOSXE | Software Type - Software Type from SPRIT / IRT. Use SPRIT software_types API to get list. |
releaseNumber | string | false | false | None | 3.15.1S | Release Number - SPRIT Software Release numbers |
swMajorVersion | string | false | false | None | 15.2 | Software Major Version - The major version portion of the software version. |
swTrain | string | false | false | None | SXE | Software Train - Software Train from SPRIT. |
platform | string | false | false | None | ASR1000-RP1 | Platform - SPRIT Platform value. Use SPRIT platforms API to get list. |
imageName | string | false | false | None | c3900-universalk9-mz.SPA | Image Name - Software Image Name from SPRIT. For IOS, it is only the image. For other Software Types it is the full imagename (i.e. image + version). |
deferral | boolean | false | false | None | true | Deferral - Does the image have a deferral? |
softwareAdvisory | boolean | false | false | None | true | Software Advisory - Does the image have a Software Advisory? |
hiddenRelease | boolean | false | false | None | true | Hidden Release - Indicates if the Software Release is visibile from the Cisco.com software download center. |
Response
Name | Type | Example | Definition |
---|---|---|---|
softwareType | string | IOSXE | Software Type from SPRIT / IRT. Use SPRIT software_types API to get list. |
releaseNumber | string | 3.15.1S | SPRIT Software Release numbers |
swMajorVersion | string | 15.2 | The major version portion of the software version. |
swTrain | string | SXE | Software Train from SPRIT. |
imageName | string | c3900-universalk9-mz.SPA | Software Image Name from SPRIT. For IOS, it is only the image. For other Software Types it is the full imagename (i.e. image + version). |
platform | string | ASR1000-RP1 | SPRIT Platform value. Use SPRIT platforms API to get list. |
featureSetDesc | string | The name of the software feature set running on the device. This data is primarily available for IOS. | |
minDram | integer | 4096 | Minimum DRAM for the image (in KB) |
minFlash | integer | 1024 | Minimum Flash for the image (in KB) |
deferral | boolean | Does the image have a deferral? | |
deferralUrl | string | URL to the Deferral Notice | |
softwareAdvisory | boolean | Does the image have a Software Advisory? | |
softwareAdvisoryUrl | string | URL to the Software Advisory Notice | |
postDate | date | Date software posted to Cisco.com | |
migrationPath | string | 15.6(2)T,15.6(2)T1 | Comma-separated list of migration versions. |
fullIosImageName | string | c3900-universalk9-mz.SPA.156-3.M.bin | Full Software Image Name from SPRIT for IOS |
hiddenRelease | boolean | Indicates if the Software Release is visibile from the Cisco.com software download center. | |
deploymentStatus | string | ED | Status of the Software Deployment. Values may include ED (Early Deployment), MD (Maintenance Deployment), GD (General Deployment), LD (Limited Deployment), and others. |
SPRIT Software Post Dates
Cisco.com Software Posting dates from SPRIT
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sprit/software_post_dates?softwareType=IOSXE"
from mimir import Mimir
m = Mimir()
software_post_dates = m.sprit.software_post_dates.get(softwareType='IOSXE')
GET
/api/mimir/sprit/software_post_dates
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
softwareType | string | true | false | None | IOSXE | Software Type - Software Type from SPRIT / IRT. Use SPRIT software_types API to get list. |
releaseNumber | string | false | false | None | 3.15.1S | Release Number - SPRIT Software Release numbers |
swMajorVersion | string | false | false | None | 15.2 | Software Major Version - The major version portion of the software version. |
swTrain | string | false | false | None | SXE | Software Train - Software Train from SPRIT. |
Response
Name | Type | Example | Definition |
---|---|---|---|
softwareType | string | IOSXE | Software Type from SPRIT / IRT. Use SPRIT software_types API to get list. |
releaseNumber | string | 3.15.1S | SPRIT Software Release numbers |
swMajorVersion | string | 15.2 | The major version portion of the software version. |
swTrain | string | SXE | Software Train from SPRIT. |
postDate | date | Date software posted to Cisco.com |
SPRIT Software Types
SPRIT Software Type master list
HTTP Request
curl -XGET "https://mimir-prod.cisco.com/api/mimir/sprit/software_types"
from mimir import Mimir
m = Mimir()
software_types = m.sprit.software_types.get()
GET
/api/mimir/sprit/software_types
Query Parameters
HTTP Query parameters must be sent in the HTTP URL request and appended to the url after the question mark (?) delimiter.
Name | Type | Required | Repeat | Default | Example | Definition |
---|---|---|---|---|---|---|
softwareType | string | false | false | None | IOSXE | Software Type - Software Type from SPRIT / IRT. Use SPRIT software_types API to get list. |
Response
Name | Type | Example | Definition |
---|---|---|---|
softwareType | string | IOSXE | Software Type from SPRIT / IRT. Use SPRIT software_types API to get list. |