Sie sind auf Seite 1von 74

APIC-EM API Deep Dive

DevNet-1093
Adam Radford Distinguished Systems Engineer
Agenda
Introduction
Tools
Authentication/Getting Started
Inventory/Topology
PnP
IWAN
Policy QoS Dynamic QoS
APIC-EM - Platform Architecture

APIC-EM Network PnP IWAN Path Trace Network Inventory APIC-EM


Applications Advanced Topology Visualizer Applications

APIC-EM Controller
Northbound REST APIs
`
Inventory Policy
RBAC Policy Analysis
APIC-EM Manager Programmer
APIC-EM
Services Topology Data Access
Services
IWAN
Network PnP
Services Service Services

Addresses
Scale Out
Grapevine Elastic Service Infrastructure
and HA
Requirements
sandboxapic.cisco.com:9443

admin/C1sc0123
Tools
Swagger

9
Try it out..

10
Postman (now with JetPacks free)
verb

Noun

Body - JSON
(with variables)

11
Github Collection

12
Authentication/Getting
Started
Roles Based Access Control

Three Roles Today


Scope is for future use

14
Getting a Ticket
https://adam-iwan:443/api/v1/ticket POST (need Content-Type header)
{
"username":"admin",
"password":"secrete"
}

{
"response":{
"serviceTicket":"ST2e7PF7jy6GJ43JEhmCbKicas"
},
"version":"0.0"
}

15
Getting/Using the authentication ticket

16
Inventory/Topology
Relationships

/discovery /network-device /location /topology

/tag

/interface
/link

/host
/flow-analysis

18
Network-device
https://sandboxapic.cisco.com:9443/api/v1/networkdeviceGET

{"family":"SwitchesandHubs", "lineCardId":"6124970ff0e842b99a3cb3180b314729,
"location":"e53d25256071439bb16d17f92205a52b", 4066a0e5c8ef47dd8db95bc8c11e3aab,64e78af1c9104e79
"type":"CiscoCatalyst385048UESwitch", 8320ffd6f97c3192,1ed983ae956c45c8ab0ba0fa92e2b129,
"serialNumber":"FOC1703V36B", aeb9c8ae573c4d539f3e6333071a9a39,b50fffb848414e02
"role":"ACCESS", 948e85fa0c0c1a60,1e14c57607f34bb6a1d74e65821534ea,
"macAddress":"f0:29:29:5c:30:e2", dc6d6fd48c0345e096d5dedd199fac9d,2e543e1171e04b6f
"softwareVersion":"03.03.00.SE", ac1abe4afdcc4910,d83e17857e1c4143b075decfc13caa63,
"upTime":"12days,0:18:10.78", 16635b812dba4eed93039f9fe7353e8b,5943da965aeb40f3
"hostname":"CAMPUSAccess1", 85b1ff39ffa64b14,77d9ca1cce5c4be08bebd8ec3246d6bc,
"tagCount":"3", 5b11cd8d180142b5ab38521171f70d0e,e763c72c76334b14
"lastUpdated":"2015102821:44:50.936", 918487832c4c1c4d,9ad4a2eda51844a5aa43b3f63966dc19,
"locationName":"SanJose,CA", d304ce8002f64916805c65a60ba00f3e,abd72d26f078479e
"roleSource":"MANUAL", a477decdb259f4c9",
"collectionStatus":"Managed", "managementIpAddress":"212.1.10.1",
"interfaceCount":"62", "memorySize":"536870912",
"lineCardCount":"18", "platformId":"WSC385048U",
"series":"CiscoCatalyst3850SeriesEthernetStackableSwitch", "reachabilityFailureReason":"Completed",
"apManagerInterfaceIp":"", "reachabilityStatus":"Reachable",
"bootDateTime":"2015101621:23:36.065", "snmpContact":"",
"instanceUuid":"93a73198850b4002bbf3a224befae61d", "snmpLocation":"",
"id":"93a73198850b4002bbf3a224befae61d "tunnelUdpPort":null,
Host
https://sandboxapic.cisco.com:9443/api/v1/host?limit=100&offset=1
GET

{"id":"8c989306818e488f99741476be6ca7b5",
"hostIp":"212.1.10.20",
"hostMac":"5c:f9:dd:52:07:78",
"hostType":"wired",
"connectedNetworkDeviceId":"93a73198850b4002bbf3a224befae61d",
"connectedNetworkDeviceIpAddress":"212.1.10.1",
"connectedInterfaceId":"0c429f3d776d40c696b117f460545764",
"connectedInterfaceName":"GigabitEthernet1/0/47",
"vlanId":"200",
"lastUpdated":"1446068511023",
"source":"200"}
Topology

21
Topology
https://sandboxapic.cisco.com:9443/api/v1/topology/physicaltopologyGET

Nodes[] {
"deviceType":"CiscoCatalyst385048UESwitch",
{ "label":"CAMPUSAccess1",
"deviceType":"wired", "ip":"212.1.10.1",
"label":"212.1.10.20", "softwareVersion":"03.03.00.SE",
"ip":"212.1.10.20", "nodeType":"device",
"nodeType":"HOST", "family":"SwitchesandHubs",
"family":"WIRED", "platformId":"WSC385048U",
"role":"HOST", "tags":["CompanyABC","CampusSite","POCSite"],
"customParam":{}, "role":"ACCESS",
"id":"8c989306818e488f99741476be6ca7b5" "roleSource":"MANUAL",
} "customParam":{},
"id":"93a73198850b4002bbf3a224befae61d"
}
Topology
https://sandboxapic.cisco.com:9443/api/v1/topology/physicaltopologyGET

links[]
networkdevice/93a73198850b4002bbf3
{
"source":"93a73198850b4002bbf3a224befae61d", a224befae61d
"startPortID":"0c429f3d776d40c696b117f460545764",
"target":"8c989306818e488f99741476be6ca7b5", interface/0c429f3d776d40c696b117f460545764
"linkStatus":"UP"
},

{"source":"93a73198850b4002bbf3a224befae61d", /host/8c989306818e488f9974
"startPortID":"ea919b9dcf4041b983bc42e1ea07806e", 1476be6ca7b5
"startPortName":"GigabitEthernet1/0/1",
"startPortSpeed":"1000000",
"target":"b3aa831162f544a3b432fa857324f447",
"endPortID":"07132e28404b4335868228fd294c06cf",
"endPortName":"GigabitEthernet5/5",
"endPortSpeed":"1000000",
"linkStatus":"up",
"id":"60067"},
Location

See examples in
POSTMAN

24
Path Trace

25
Path Trace
https://sandboxapic.cisco.com:9443/api/v1/flowanalysisPOST
{
"sourceIP":"65.1.1.83",
"destIP":"212.1.10.20"
}

{
"response":{
"taskId":"c7896f2eee6540c78213a32e314eceb2",
"url":"/api/v1/task/c7896f2eee6540c78213a32e314eceb2"
},
"version":"1.0"
}

26
Path Trace get TASK
https://sandboxapic.cisco.com:9443/api/v1/task/c7896f2eee6540c78213a32e314eceb2GET

{
"response":{
"progress":"9238c613b5cc4db5b7dfbb1c1eca6306",
"version":1454732293035,
"startTime":1454732293035,
"endTime":1454732294870,
"serviceType":"PolicyAnalysisService",
"rootId":"c7896f2eee6540c78213a32e314eceb2",
"isError":false,
"id":"c7896f2eee6540c78213a32e314eceb2"
},
"version":"1.0"
}

27
Path Trace get result
https://sandboxapic.cisco.com:9443/api/v1/flowanalysis/9238c613b5cc4db5b7dfbb1c1eca6306
GET

{"response":{ {
"request":{ "id":"93a73198850b4002bbf3a224befae61d",
"sourceIP":"65.1.1.83","destIP":"212.1.10.20"}, "name":"CAMPUSAccess1",
"lastUpdate":"SatFeb0604:18:14UTC2016", "type":"SwitchesandHubs",
"properties":[], "ip":"212.1.10.1",
"networkElementsInfo":[ "ingressInterface":{
{ "physicalInterface":{
"id":"cf05d21e29bc4b9d8a3212f7877a8355", "id":"101550dee72c407181f73e2f4f3fbf62",
"type":"wireless", "name":"GigabitEthernet1/0/26"
"ip":"65.1.1.83", }
"linkInformationSource":"Switched" },
}, "egressInterface":{
{ "physicalInterface":{
"id":"0a15fd7744ba4858b3b10df37c4328e0", "id":"ea919b9dcf4041b983bc42e1ea07806e",
"name":"AP7081.059f.19ca", "name":"GigabitEthernet1/0/1"
"type":"UnifiedAP", }
"ip":"55.1.1.3", },
"role":"ACCESS", "role":"ACCESS",
"linkInformationSource":"Switched", "linkInformationSource":"Switched",
"tunnels":[ "tunnels":[
"CAPWAPTunnel" "CAPWAPTunnel"
] ]
}, }, 28
PnP
5 apps that use the PNP API today
APIC-EM GUI
IWAN App in APIC-EM
Mobile PnP App (android/iphone)
Prime Infrastructure (3.x)
ESA

30
Relationships

/file/image /file/config /pnp-device

/pnp-project

/pnp-project/{project-id}/device

Pre-provisioned Ad-Hoc
Post-provisioned

31
PnP /pnp-project
2 /file/config
1
/file/image

3
/pnp-project/{project-id}/device

32
File upload

No Content-type : application/json
33
Get List of Config files
https://sandboxapic.cisco.com:9443/api/v1/file/namespace/configGET

{"response":[
{
"nameSpace":"config",
"name":"README.md",
"downloadPath":"/file/a95f79527eee40cc8664d1abfa560611",
"fileSize":"2174",
"fileFormat":"text/xmarkdown",
"md5Checksum":"ae20d2b1ca4302e2bd7d9d3b2bfca907",
"sha1Checksum":"888b09e200c9e25e13e563df10e7a101a959e648",
"id":"a95f79527eee40cc8664d1abfa560611"
}
],
"version":"1.0"}

34
Create a Project
https://sandboxapic.cisco.com:9443/api/v1/pnpprojectPOST

[{"siteName":"Sydney"}]

{
"response":{
"taskId":"49f444429808434198b7be65c8b7197d",
"url":"/api/v1/task/49f444429808434198b7be65c8b7197d"
},
"version":"1.0"
}

35
Look at the Task
https://sandboxapic.cisco.com:9443/api/v1/task/49f444429808434198b7be65c8b7197dGET

{
"response":{
"progress":"{\"message\":\"Successcreatingnewsite\",\"siteId\":\"91bf82f899b34908914519a435ee86e8\"}",
"version":1454811170949,
"startTime":1454811170949,
"endTime":1454811170969,
"serviceType":"ZtdService",
"rootId":"49f444429808434198b7be65c8b7197d",
"isError":false,
"id":"49f444429808434198b7be65c8b7197d"
},
"version":"1.0"
}

36
GET list of projects
https://sandboxapic.cisco.com:9443/api/v1/pnpprojectGET

{
"response":[
{
"state":"PRE_PROVISIONED",
"siteName":"Sydney",
"deviceCount":0,
"pendingDeviceCount":0,
"provisionedBy":"admin",
"provisionedOn":"2016020702:12:50.949",
"id":"91bf82f899b34908914519a435ee86e8"
}
],
"version":"1.0"
}

37
Create a project rule
https://sandboxapic.cisco.com:9443/api/v1/pnpproject/91bf82f899b34908914519a435ee86e8/device
POST

[{
"serialNumber":"12345678901",
"platformId":"C2960X",
"hostName":"sydsw1",
"pkiEnabled":true
}]
{
"response":{
"taskId":"816899111eb44bf9a98acb0e23be49d1",
"url":"/api/v1/task/816899111eb44bf9a98acb0e23be49d1"
},
"version":"1.0"
}

38
Mobile App create a rule with no serial number

39
Look at the Task
https://sandboxapic.cisco.com:9443/api/v1/task/816899111eb44bf9a98acb0e23be49d1GET

{
"response":{
"progress":"{\"message\":\"Successcreatingnewsitedevice(rule)\",\"ruleId\":\"a0ec4fe5ba3b49ef8ff4
ac5b41f7c0cd\"}",
"version":1454811570096,
"startTime":1454811570096,
"endTime":1454811570163,
"serviceType":"ZtdService",
"rootId":"816899111eb44bf9a98acb0e23be49d1",
"isError":false,
"id":"816899111eb44bf9a98acb0e23be49d1"
},
"version":"1.0"

40
GET list of project rules
https://sandboxapic.cisco.com:9443/api/v1/pnpproject/91bf82f899b34908914519a435ee86e8/deviceGET

{"response": <continuation>
[{
"hostName":"sydsw1", "authStatus":{
"platformId":"C2960X", "type":"Unknown",
"serialNumber":"12345678901", "status":"None",
"site":"Sydney", "errorMessage":null,
"pkiEnabled":true, "timestamp":1454811700178,
"sudiRequired":false, "certInfo":null
"apCount":"0", },
"isMobilityController":"false", "attributeInfo":{},
"state":"PENDING", "id":"a0ec4fe5ba3b49ef8ff4ac5b41f7c0cd"
"stateDisplay":"Pending", }],
"version":"1.0"
<continednextpage> }

41
DELETE project (and rules)
https://sandboxapic.cisco.com:9443/api/v1/pnpproject/91bf82f899b34908914519a435ee86e8
deleteRule=1&deleteDevice=1DELETE

{
"response":{
"taskId":"cd9d7e8a78a84512a90514671a23d535",
"url":"/api/v1/task/cd9d7e8a78a84512a90514671a23d535"
},
"version":"1.0"
}

42
Look at the Task
https://sandboxapic.cisco.com:9443/api/v1/task/cd9d7e8a78a84512a90514671a23d535GET

{
"response":{
"progress":"SuccessDeletingZTDSite:id#91bf82f899b34908914519a435ee86e8",
"version":1454812176855,
"startTime":1454812176855,
"endTime":1454812176907,
"serviceType":"ZtdService",
"rootId":"cd9d7e8a78a84512a90514671a23d535",
"isError":false,
"id":"cd9d7e8a78a84512a90514671a23d535"
},
"version":"1.0"
}

43
Unclaimed devices

44
GET unclaimed devices
https://adamiwan/api/v1/pnpdevice?state=UNCLAIMED&matchDeviceState=trueGET

[{"platformId":"WSC365048PQ", <continuation>
"hostName":"Switch", "pkiEnabled":true,
"bootVariable":"flash:packages.conf", "stateDisplay":"Unclaimed",
"id":"02b0adcfdd6b4945a70344b5b0bc187e", "returnToRomReason":"reload",
"configReg":"0x102", "serialNumber":"FDO1732Q00B",
"pnpProfileUsedAddr":"10.10.10.140", "sudiRequired":false,
"state":"UNCLAIMED", "filesystemInfo":"fileSystem:name=crashinfo
"pnpProfileAutoCreated":true, type=disksize=248354816freespace=248353792;\n",
"unclaimedHint":"newdevice", "certificateNeededState":"NULL_STATE",
"deviceDetailsLastUpdate":"2016020704:11:24", "mainMemSize":"0",
"lastStateTransitionTime":"2016020704:11:25", "authStatus":{
"firstContact":"2016020704:06:05.000906", "status":"Unsupported",
"versionCompatible":"supported", "timestamp":1454818039783,
"attributeInfo":{}, "errorMessage":null,
"topologyInfo":"neighborLink:Local "type":"Unsupported",
Interface=nullLocalMacAddress=6c41.6a0d.e781 "certInfo":null
RemoteInterface=nullRemote },
MacAddress=7c95.f3bd.2a05RemoteDeviceName=null "lastContact":"2016020704:11:25.000051",
RemotePlatform=null;\n", "ipAddress":"10.10.14.4",
"imageFile":"flash:packages.conf", "isMobilityController":"false" 45

"versionString":"15.2(2)E3", },
Claim a device -- PUT
https://sandboxapic.cisco.com:9443/api/v1/pnpdevicePUT Even though "pkiEnable is true
by default, need to set this is
[{
"state":"START_PROVISIONING",
want device certificate to be
"id":"02b0adcfdd6b4945a70344b5b0bc187e", provisioned
"pkiEnabled":true,
"configId":"ac828621dd474201856dbe605413f33b"
}]

{"response":
{
"taskId":"d85021375d2b4e81a0e6e0e71a07abc9",
"url":"/api/v1/task/d85021375d2b4e81a0e6e0e71a07abc9"
},
"version":"1.0"
}

46
Look at the Task
https://adamiwan/api/v1/task/d85021375d2b4e81a0e6e0e71a07abc9GET

{
"response":{
"progress":"SuccessUpdatingDevice:id#02b0adcfdd6b4945a70344b5b0bc187e",
"startTime":1454819475470,
"endTime":1454819475594,
"version":1454819475470,
"serviceType":"ZtdService",
"rootId":"d85021375d2b4e81a0e6e0e71a07abc9",
"isError":false,
"id":"d85021375d2b4e81a0e6e0e71a07abc9"
},
"version":"1.0"
}

47
State changes
./watch_provision.pyFDO1732Q00B
Watchingunclaimedforserial:FDO1732Q00B
19:49:35:Duration(0)Unclaimed
19:49:43:Duration(9)WaitingforResource
19:50:02:Duration(28)StartProvisioning
19:51:08:Duration(94)DeployingDeviceCertificate
19:52:09:Duration(155)DeployingConfig
19:54:09:Duration(275)Provisioned
19:54:09:Completed(275):PROVISIONED

48
GET provisioned device
https://adamiwan/api/v1/pnpdevice?serialNumber=FDO1732Q00BGET

[{"platformId":"WSC365048PQ", <continuation>
"hostName":"3650dhcp", "imageFile":"flash:packages.conf",
"bootVariable":"flash:packages.conf", "versionString":"15.2(2)E3",
"id":"02b0adcfdd6b4945a70344b5b0bc187e", "apCount":"0",
"configId":"ac828621dd474201856d "pkiEnabled":false,
be605413f33b", "stateDisplay":"Provisioned",
"configReg":"0x102", "returnToRomReason":"reload",
"pnpProfileUsedAddr":"10.10.10.140", "serialNumber":"FDO1732Q00B",
"unclaimedHint":"newdevice", "sudiRequired":false,
"pnpProfileAutoCreated":true, "filesystemInfo":"fileSystem:name=crashinfo
"state":"PROVISIONED", type=disksize=248354816freespace=248353792;\n",
"provisioningType":"newdeviceadhoc", "certificateNeededState":"NULL_STATE",
"deviceDetailsLastUpdate":"2016020704:31:39", "mainMemSize":"0",
"lastStateTransitionTime":"2016020704:34:46", "authStatus":{"status":"Unsupported",
"firstContact":"2016020704:06:05.000906", "timestamp":1454818039783,
"versionCompatible":"supported", "errorMessage":null,
"attributeInfo":{}, "type":"Unsupported",
"topologyInfo":"neighborLink:Local "certInfo":null},
Interface=nullLocalMacAddress=6c41.6a0d.e781 "isMobilityController":"false",
RemoteInterface=nullRemote "ipAddress":"10.10.14.4", 49

MacAddress=7c95.f3bd.2a05RemoteDeviceName=null "lastContact":"2016020704:34:46.000425"
RemotePlatform=null;\n", }
UI

50
Iwan
Relationships

/relevance

/category

QoS
/application /policy
Path Selection

52
Policy Construct - IWAN

/category /relevance
/application
/policy
GET Policy
https://adamiwan/api/v1/policy/323476c2-07d7-4065-9d01-151dfd01822f GET

{"policyName":"email",
"instanceUuid":"323476c207d740659d01151dfd01822f",
"resource":{
"categories":[{
"id":"07675131e3834e8097a29ec503b9f6a4",
"name":"email"
}]
},
"actions":["SET_PROPERTY"],
"state":"Active",
"taskId":"f861eb1326ad491190f176112a58a6df",
"scope":"GLOBAL",
"actionProperty":{
"pathControlFlag":true,
"PrimaryPathPref":["mpls"],
"SecondaryPathPref":["interne"],
"pathPreferenceFlag":true,
"relevanceLevel":"BusinessCritical"
},
"id":"323476c207d740659d01151dfd01822f" 54
}
PUT Policy
https://adamiwan/api/v1/policy/ PUT
[{"policyName":"email",
"instanceUuid":"323476c207d740659d01151dfd01822f",
"resource":{
"categories":[{
"id":"07675131e3834e8097a29ec503b9f6a4",
"name":"email"
}]
},
"actions":["SET_PROPERTY"],
"state":"Active",
"taskId":"f861eb1326ad491190f176112a58a6df",
"scope":"GLOBAL",
"actionProperty":{
"pathControlFlag":true,
"PrimaryPathPref":["mpls"],
"SecondaryPathPref":["interne"],
"pathPreferenceFlag":true,
"relevanceLevel":"Default"
},
55
"id":"323476c207d740659d01151dfd01822f"
}]
Get Task
https://adamiwan/api/v1/task/b58dae3a27024160a6ef5517c54af36cGET

{
"rootId":"b58dae3a27024160a6ef5517c54af36c",
"serviceType":"PolicyService",
"id":"b58dae3a27024160a6ef5517c54af36c",
"operationIdList":[
"b3e9423cffa54869a0db6321310848d5"
],
"version":1454836724342,
"startTime":1454836724341,
"endTime":1454836732262,
"isError":false
}

56
UI

57
Get Policy count
https://adamiwan/api/v1/policy/countGET

{
"response":23,
"version":"1.0"
}

58
Categories
https://adamiwan/api/v1/categoryGET

[{
"id": "03326c93-6169-46c6-8b8b-5da0a6689e83",
"name": "voice-and-video"
}, {
"id": "07675131-e383-4e80-97a2-9ec503b9f6a4",
"name": "email"
}, {
"id": "11d04044-74c6-4e9c-9f6a-fffa8c8bcf78",
"name": "business-and-productivity-tools"
}, {
"id": "170f7fba-a098-4b6f-8f63-83cfb7135be6",
"name": "inter-process-rpc"
}, {
"id": "267f0bda-e545-4bc8-825f-13df9b1ded26",
"name": "backup-and-storage"
}, {
"id": "3c5478e6-46cc-4417-a2e4-61b9109504a6",
"name": "software-updates"
},
59
<continued>
Applications in Category
https://adamiwan/api/v1/application?categoryId=07675131e3834e8097a29ec503b9f6a4GET

[{"pfrThresholdOneWayDelay":100, "longDescription":"InternetMessageAccess
"tcpPorts":"143,220", protocol(IMAP)allowsuserstoacesstheiremail
"encrypted":"false", serversandtoreceiveandsendemails.The
"references":"http://tools.ietf.org/html/rfc3501", protocolsimulatesalocalusewheninfactitis
"udpPorts":"143,220", aconnectiontoaserver.AnIMAPserverusually
"pfrThresholdJitter":1, listensonport143.",
"applicationGroup":"imapgroup", "pfrThresholdOneWayDelayPriority":1,
"pfrThresholdJitterPriority":3, "name":"imap",
"category":"email", "globalId":"L4:143",
"instanceUuid":"1ba5312a892e4d59b0c3 "tunnel":"false",
f403342766d6", "popularity":9,
"subCategory":"enterprisetransactionalapps", "enabled":"true",
"pfrThresholdLossRate":5, "trafficClass":"BULK_DATA",
"helpString":"InternetMailAccessProtocol", "indicativeTcpPorts":"143,220",
"id":"1ba5312a892e4d59b0c3f403342766d6", "selectorId":"143",
"pfrThresholdLossRatePriority":2, "engineId":"3"
"indicativeUdpPorts":"143,220", },
"categoryId":"07675131e3834e8097a29ec503b9f6a4",
"nbarId":"17",
"p2pTechnology":"false",
"appProtocol":"tcp/udp",
60
<continued>
EasyQoS/Dynamic QoS
Relationships

/relevance

/application

/policy QoS

/policy/tag

62
Easy QoS
/relevance

/policy/tag

/application

63
Easy QoS -tags
https://ga1/api/v1/policy/tagGET

{
"response":{
"policyTags":[
"NewYorkBranch",
"ChicagoCampus",
"SanFranciscoBranch"
]
},
"version":"1.0"
}

64
Easy QoS tag Association
https://ga1/api/v1/policy/tag/associationGET
{ {
"response":[ "policyTag":"SanFranciscoBranch",
{ "networkDeviceIds":[
"policyTag":"NewYorkBranch", "f2a2c29ced9d48efaab7fa81c3035126",
"networkDeviceIds":[ "219b044308e64bd6a15c74d9ea965ba2"
"69d11938f1b640b5a81c12d19ed728b9", ]
"b657086d63a34052bdbb33d9638bec8b", }
"1cba8dd8877b466e8e2d9db83bd1c451" ],
] "version":"1.0"
},{ }
"policyTag":"ChicagoCampus",
"networkDeviceIds":[
"601d6cb7a25445cdbb283193f7fc7e78",
"acb3f02c3101478babed0cba2d827c75",
"0a4de2ea23e44c01a7b8394b156c69e6",
"fcd91e8ec7ab4e4e87e1aa87fa8b8756",
"fbadfdb753b348c780fdb06d8aac808d",
"bea293d22b48448a9c2d92074309151e",
"13062fd64eb444beb646684015440b66",
"2ac6c4f789754830a03b9dfe7448054a"
]
65
},
<CONTINUED>
Easy QoS - Relvance
https://ga1/api/v1/relvanceGET

{
"response":[
"Default",
"BusinessIrrelevant",
"BusinessRelevant"
],
"version":"1.0"
}

66
Easy QoS Specific Policy
https://ga1/api/v1/policy/e0bd599a2bfb48b0862edc11549c9dd8GET

{ "actions":[
"policyName":"EnterpriseSanFranQOS", "SET_PROPERTY"
"policyPriority":4095, ],
"policyScope":"SanFranciscoBranch", "state":"Active",
"resource":{ "taskId":"302da30f11b7438bbe5800f51c703d9f",
"applications":[ "instanceUuid":"e0bd599a2bfb48b0862edc11549c9dd8",
{ "actionProperty":{
"id":"6fcf0f08ad8644bbbffd3eb946d5c749", "pathControlFlag":false,
"appName":"groove" "pathPreferenceFlag":false,
},{ "relevanceLevel":"BusinessRelevant"
"id":"7172a1d9b1eb46299e3c47ab5570882e", },
"appName":"streamwork" "id":"e0bd599a2bfb48b0862edc11549c9dd8"
},{ }
"id":"6f50951473a54486a59e499e4b5fc141",
"appName":"securehttp"
},{
"id":"77bfc7f7da7d40dda0d2328a03905acb",
"appName":"ripng"
},{
"id":"708743aa50334497b1d5a7d68eab157d",
"appName":"xdmcp"
67
}
]},
Easy QoS Specific Policy Task
https://ga1/api/v1/task/302da30f11b7438bbe5800f51c703d9fGET

{
"rootId":"302da30f11b7438bbe5800f51c703d9f",
"serviceType":"PolicyService",
"version":1454515356826,
"id":"302da30f11b7438bbe5800f51c703d9f",
"operationIdList":[
"4e3a182fe583441bbc69a25b3169d0b3"
],
"startTime":1454515356826,
"endTime":1454515357098,
"isError":false
}

68
Current Differences between IWAN and EQ Policy

IWAN EasyQoS

Scope Global (until May) Tag based


Relevance Per Application
Per Application
Categorization Category
Routers IWAN Routers/switches/WL
Devices Supported
deployed AN
Dynamic Policy NA Yes, Voice, Video

69
Dynamic QoS

Dynamic QoS
Policies

Dynamic QoS Enabled

70
Dynamic QoS
https://ga1/api/v1/policy/flowPOST https://ga1/api/v1/task/5a8b0c01b9444ea5aa66
{ 7f9c44dafc37GET
"sourceIP":"172.28.97.54", {
"response":{
"destIP":"10.10.10.51", "progress":"3c24b97bc4174a49adcc870209b81fcd",
"sourcePort":"30952", "startTime":1455440014855,
"destPort":"22754", "endTime":1455440014858,
"protocol":"tcp", "version":1455440014855,
"flowType":"VOICE", "serviceType":"PolicyService",
"averageBandwidth":"64", "isError":false,
"peakBandwidth":"64", "operationIdList":[
"qosClassName":"conversational.audio.avconf.aq", "4441f491ab3b41eba382c9e6ef4ff6f5"
],
"rootId":"5a8b0c01b9444ea5aa667f9c44dafc37",
"appId":"e40d483645aa39b2e46b84018b289e15", "id":"5a8b0c01b9444ea5aa667f9c44dafc37"
},
"codec":"g.711u" "version":"1.0"
} }

71
Dynamic Policy
https://ga1/api/v1/policy/flowGET

"response":[
{
"id":"3c24b97bc4174a49adcc870209b81fcd",
"sourceIP":"172.28.97.54",
"destIP":"10.10.10.51",
"sourcePort":"30952",
"destPort":"22754",
"protocol":"tcp",
"flowType":"VOICE",
"averageBandwidth":"64",
"peakBandwidth":"64",
"codec":"g.711u",
"status":"CONFIG_ADD_SUCCESS"
}
]

72
Delete Dynamic Policy
https://ga1/api/v1/policy/flow/3c24b97bc4174a49adcc870209b81fcdDELETE
https://ga1/api/v1/task/ce0e653c9bc24ab09783ef6505bd1d2fGET

{
"response":{
"progress":"3c24b97bc4174a49adcc870209b81fcd",
"startTime":1455440274442,
"endTime":1455440274446,
"version":1455440274446,
"serviceType":"PolicyService",
"isError":false,
"operationIdList":[
"d38a17162b904fd1903217ed47dd0661"
],
"rootId":"ce0e653c9bc24ab09783ef6505bd1d2f",
"id":"ce0e653c9bc24ab09783ef6505bd1d2f"
},
"version":"1.0"
}
73

Das könnte Ihnen auch gefallen