Create Intent
Intent Creation
Add a new Intent Configuration; Available values for highlighted field names: alertType: [ Intent, SdwanIntent ] enabled : [ true , false ] severity : [ Warning, Critical, Moderate, Info ] intentTypeId : [ MtuMismatch, HsrpStpColocation, PortModeMismatch, NativeVlanMismatch, TrunkPortVlanMismatch, DuplexMismatch, PortChannelMismatch, DuplicateMacAddress, DuplicateIPAddress, StpMetricInconsistency ]
Some of these intent types support additional paramters. Available parameters values for those intent types are as follows:
intentTypeId | paramValues.id | ValueType | Values |
---|---|---|---|
DuplexMismatch | CheckMgmtInterface | BOOLEAN | true , false |
SkipWhenNoInfo | BOOLEAN | true , false | |
SkipAutoDuplex | BOOLEAN | true , false | |
HsrpConfiguration | SkipDownInterfaces | BOOLEAN | true , false |
CheckActiveStandby | BOOLEAN | true , false | |
CheckSingleActive | BOOLEAN | true , false | |
MtuMismatch | CheckMgmtInterface | BOOLEAN | true , false |
SkipWhenNoInfo | BOOLEAN | true , false | |
DuplicateMacAddress | -- | ||
DuplicateIPAddress | -- | ||
HsrpStpColocation | -- | ||
NativeVlanMismatch | -- | ||
NativeVlanTagMismatch | -- | ||
PortChannelMismatch | -- | ||
PortModeMismatch | -- | ||
StpMetricInconsistency | -- | ||
TrunkPortVlanMismatch | -- |
{
"name": "mtuCheck",
"alertType": "Intent",
"intentTypeId": "MtuMismatch",
"filterRules": {
"isValid": "string",
"filterType": "string",
"rules": [
{
"membership": {
"membershipType": "string",
"objectType": 0,
"entities": [
{
"modelKey": "string",
"name": "string"
}
],
"query": "string"
}
}
]
},
"paramValues": [
{
"id": "min-violation-duration",
"values": "VIOLATION_DURATION_FIVE_MINUTES",
"valueType": "FIXED_MULTI_CHOICE_SINGLE_VALUE"
}
],
"selected_scope": "All Applications",
"description": "Monitor traffic rate and total bandwidth for applications",
"enabled": true,
"severity": "Info",
"notes": "Mtu check",
"tags": [
" [\"Device Health\", \"MTU\", \"dummy\"]"
],
"notificationSettings": [
{
"type": "string",
"frequency": "string",
"enabled": true,
"receivers": [
[
"ab@cd.com"
]
],
"schedule": [
{
"type": "string",
"periodInMS": 0,
"startTimestamp": 0
}
]
}
]
}
Intent name
Intent type
Intent type
filterRules
Intent scope
Intent description
enabled
Intent severity
Intent notes
Intent tags
OK
Bad Request
{
"code": 0,
"message": "string",
"details": [
{
"code": 0,
"message": "string",
"target": [
"string"
]
}
]
}
code
message
Un-authorized
{
"code": 0,
"message": "string",
"details": [
{
"code": 0,
"message": "string",
"target": [
"string"
]
}
]
}
code
message
Name conflicts with already existing intent
{
"code": 0,
"message": "string",
"details": [
{
"code": 0,
"message": "string",
"target": [
"string"
]
}
]
}
code
message
Internal Error