Changes between Version 6 and Version 7 of OperationalMonitoring/DataSchema20
- Timestamp:
- 08/27/14 13:24:07 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OperationalMonitoring/DataSchema20
v6 v7 1 1 [[PageOutline]] 2 2 3 == REST Data Schema==4 All of these inherit from the [http://unis.incntre.iu.edu/schema/20120709/networkresource UNIS network resource schema] with the exception of the opsconfig schema.5 6 * [http://www.gpolab.bbn.com/monitoring/schema/20140828/opsconfig opsconfig]: operational configuration metadata, including locations of and information about other datastores [http://www.gpolab.bbn.com/monitoring/schema/20140828/opsconfig.schema.jwc opsconfig with comments]7 * [http://www.gpolab.bbn.com/monitoring/schema/20140828/aggregate aggregate]: data about an aggregate (including lists of resources and slivers at that aggregate, and where to look for measurements about the aggregate) [http://www.gpolab.bbn.com/monitoring/schema/20140828/aggregate aggregatewith comments]8 * [http://www.gpolab.bbn.com/monitoring/schema/20140828/node node]: data about a node [http://www.gpolab.bbn.com/monitoring/schema/20140828/node nodewith comments]9 * [http://www.gpolab.bbn.com/monitoring/schema/20140828/interface interface]: data about a network interface 10 * [http://www.gpolab.bbn.com/monitoring/schema/20140828/interfacevlan interfacevlan]: data about a tagged VLAN subinterface of a network interface 11 * [http://www.gpolab.bbn.com/monitoring/schema/20140828/sliver sliver]: data about a sliver at an aggregate 12 * [http://www.gpolab.bbn.com/monitoring/schema/20140828/authority authority]: data about a GENI authority 13 * [http://www.gpolab.bbn.com/monitoring/schema/20140828/slice slice]: data about a slice at an authority 14 * [http://www.gpolab.bbn.com/monitoring/schema/20140828/user user]: data about a GENI user at an authority 15 * [http://www.gpolab.bbn.com/monitoring/schema/20140828/experiment experiment]: data about an operational monitoring experiment for monitoring the dataplane .16 * [http://www.gpolab.bbn.com/monitoring/schema/20140828/data data]: data about time-series measurements. Schema based in part on [http://unis.incntre.iu.edu/schema/20120709/metadata] 3 == JSON Schemas for Replies to REST API calls == 4 All of these schemas inherit from the [http://unis.incntre.iu.edu/schema/20120709/networkresource UNIS network resource schema] with the exception of the opsconfig schema. 5 6 * [http://www.gpolab.bbn.com/monitoring/schema/20140828/opsconfig opsconfig]: operational configuration metadata, including locations of and information about other datastores [http://www.gpolab.bbn.com/monitoring/schema/20140828/opsconfig.schema.jwc opsconfig schema with comments] 7 * [http://www.gpolab.bbn.com/monitoring/schema/20140828/aggregate aggregate]: data about an aggregate (including lists of resources and slivers at that aggregate, and where to look for measurements about the aggregate) [http://www.gpolab.bbn.com/monitoring/schema/20140828/aggregate.schema.jwc aggregate schema with comments] 8 * [http://www.gpolab.bbn.com/monitoring/schema/20140828/node node]: data about a node [http://www.gpolab.bbn.com/monitoring/schema/20140828/node.schema.jwc node schema with comments] 9 * [http://www.gpolab.bbn.com/monitoring/schema/20140828/interface interface]: data about a network interface [http://www.gpolab.bbn.com/monitoring/schema/20140828/interface.schema.jwc interface schema with comments] 10 * [http://www.gpolab.bbn.com/monitoring/schema/20140828/interfacevlan interfacevlan]: data about a tagged VLAN subinterface of a network interface [http://www.gpolab.bbn.com/monitoring/schema/20140828/interfacevlan.schema.jwc interfacevlan schema with comments] 11 * [http://www.gpolab.bbn.com/monitoring/schema/20140828/sliver sliver]: data about a sliver at an aggregate [http://www.gpolab.bbn.com/monitoring/schema/20140828/sliver.schema.jwc sliver schema with comments] 12 * [http://www.gpolab.bbn.com/monitoring/schema/20140828/authority authority]: data about a GENI authority [http://www.gpolab.bbn.com/monitoring/schema/20140828/authority.schema.jwc authority schema with comments] 13 * [http://www.gpolab.bbn.com/monitoring/schema/20140828/slice slice]: data about a slice at an authority [http://www.gpolab.bbn.com/monitoring/schema/20140828/slice.schema.jwc slice schema with comments] 14 * [http://www.gpolab.bbn.com/monitoring/schema/20140828/user user]: data about a GENI user at an authority [http://www.gpolab.bbn.com/monitoring/schema/20140828/user.schema.jwc user schema with comments] 15 * [http://www.gpolab.bbn.com/monitoring/schema/20140828/experiment experiment]: data about an operational monitoring experiment for monitoring the dataplane [http://www.gpolab.bbn.com/monitoring/schema/20140828/experiment.schema.jwc experiment schema with comments] 16 * [http://www.gpolab.bbn.com/monitoring/schema/20140828/data data]: data about time-series measurements. Schema based in part on [http://unis.incntre.iu.edu/schema/20120709/metadata] [http://www.gpolab.bbn.com/monitoring/schema/20140828/data.schema.jwc data schema with comments] 17 17 * For now, we would use the `ops_monitoring` namespace for operations monitoring, meaning: 18 18 * When we add monitoring-relevant optional properties to objects, we'll put them in an `ops_monitoring` dictionary … … 31 31 ==== Data about operational monitoring configuration ==== 32 32 33 Operational monitoring configuration data tells collectors where to find local datastores, and includes relevant metadata (like URNs and metadata about datastore or aggregate types) that collectors can use to decide which datastores to query. It is described using [http://www.gpolab.bbn.com/monitoring/schema/20140 501/opsconfig# the opsconfig schema]. Examples:33 Operational monitoring configuration data tells collectors where to find local datastores, and includes relevant metadata (like URNs and metadata about datastore or aggregate types) that collectors can use to decide which datastores to query. It is described using [http://www.gpolab.bbn.com/monitoring/schema/20140828/opsconfig# the opsconfig schema]. Examples: 34 34 * geni-prod: a hypothetical config datastore listing production aggregates and authorities: 35 35 {{{ 36 36 { 37 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140 501/opsconfig#",37 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140828/opsconfig#", 38 38 "id": "geni-prod", 39 39 "selfRef": "https://datastore.geni.net/opsconfigs/geni-prod", … … 57 57 ==== Data about an aggregate ==== 58 58 59 Aggregates are indexed by GENI-agreed short name and described using [http://www.gpolab.bbn.com/monitoring/schema/20140 501/aggregate# the aggregate schema]. Examples:59 Aggregates are indexed by GENI-agreed short name and described using [http://www.gpolab.bbn.com/monitoring/schema/20140828/aggregate# the aggregate schema]. Examples: 60 60 61 61 Hypothetical REST call for GPO-IG: … … 66 66 {{{ 67 67 { 68 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140 501/aggregate#",68 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140828/aggregate#", 69 69 "id": "gpo-ig", 70 70 "selfRef": "https://datastore.instageni.gpolab.bbn.com/info/aggregate/gpo-ig", … … 97 97 ==== Data about a node ==== 98 98 99 Nodes have an ID which is a URL-sanitized version of their URN and are described using [http://unis.incntre.iu.edu/schema/20140 501/node# the node schema]. Examples:99 Nodes have an ID which is a URL-sanitized version of their URN and are described using [http://unis.incntre.iu.edu/schema/20140828/node# the node schema]. Examples: 100 100 Hypothetical REST call for GPO-IG PC1: 101 101 {{{ … … 105 105 {{{ 106 106 { 107 "$schema": "http://unis.incntre.iu.edu/schema/20140 501/node#",107 "$schema": "http://unis.incntre.iu.edu/schema/20140828/node#", 108 108 "id": "instageni.gpolab.bbn.com_node_pc1", 109 109 "ts": 1391192705275101, … … 135 135 ==== Data about a link ==== 136 136 137 Links have an ID which is a URL-sanitized version of their URN and are described using [http://www.gpolab.bbn.com/monitoring/schema/20140 501/link# the link schema]. Examples:137 Links have an ID which is a URL-sanitized version of their URN and are described using [http://www.gpolab.bbn.com/monitoring/schema/20140828/link# the link schema]. Examples: 138 138 Hypothetical REST call for GRNOC link salt_port_1750: 139 139 {{{ … … 143 143 {{{ 144 144 { 145 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140 501/link#",145 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140828/link#", 146 146 "id": "datastore.grnoc.iu.edu_link_001", 147 147 "ts": 1391192705275101, … … 204 204 {{{ 205 205 { 206 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140 501/port#",206 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140828/port#", 207 207 "selfRef": "https://datastore.instageni.gpolab.bbn.com/info/interface/instageni.gpolab.bbn.com_interface_pc1:eth0", 208 208 "urn": "urn:publicid:IDN+instageni.gpolab.bbn.com+interface+pc1:eth0", … … 227 227 {{{ 228 228 { 229 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140 501/port#",229 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140828/port#", 230 230 "selfRef": "https://datastore.instageni.gpolab.bbn.com/info/interface/instageni.gpolab.bbn.com_interface_pc1:eth1", 231 231 "urn": "urn:publicid:IDN+instageni.gpolab.bbn.com+interface+pc1:eth1", … … 244 244 ==== Data about a slice authority ==== 245 245 246 GENI slice authorities are indexed by domain name and described using [http://www.gpolab.bbn.com/monitoring/schema/20140 501/authority# the authority schema]. Examples:246 GENI slice authorities are indexed by domain name and described using [http://www.gpolab.bbn.com/monitoring/schema/20140828/authority# the authority schema]. Examples: 247 247 248 248 … … 254 254 {{{ 255 255 { 256 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140 501/authority#",256 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140828/authority#", 257 257 "id": "ch.geni.net", 258 258 "selfRef": "https://datastore.ch.geni.net/info/authority/ch.geni.net", … … 286 286 {{{ 287 287 { 288 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140 501/port-vlan#",288 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140828/port-vlan#", 289 289 "selfRef": "https://datastore.instageni.gpolab.bbn.com/interfacevlan/instageni.gpolab.bbn.com_interface_pc1:eth1:1750", 290 290 "urn": "urn:publicid:IDN+instageni.gpolab.bbn.com+interface+pc1:eth1:1750", … … 302 302 ==== Data about a GENI user ==== 303 303 304 GENI users have an ID based on the username and are described using [http://www.gpolab.bbn.com/monitoring/schema/20140 501/user# the GENI user schema]. Examples:304 GENI users have an ID based on the username and are described using [http://www.gpolab.bbn.com/monitoring/schema/20140828/user# the GENI user schema]. Examples: 305 305 306 306 Hypothetical REST call for user tupty at ch.geni.net: … … 311 311 {{{ 312 312 { 313 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140 501/user#",313 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140828/user#", 314 314 "id": "tupty", 315 315 "selfRef": "https://datastore.ch.geni.net/info/user/tupty", … … 327 327 ==== Data about a GENI slice ==== 328 328 329 GENI slices have an ID based on the URN and are described using [http://www.gpolab.bbn.com/monitoring/schema/20140 501/slice# the GENI slice schema]. Examples:329 GENI slices have an ID based on the URN and are described using [http://www.gpolab.bbn.com/monitoring/schema/20140828/slice# the GENI slice schema]. Examples: 330 330 Hypothetical REST call for tuptyexclusive slice: 331 331 {{{ … … 335 335 {{{ 336 336 { 337 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140 501/slice#",337 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140828/slice#", 338 338 "id": "ch.geni.net_gpo-infra_slice_tuptyexclusive", 339 339 "selfRef": "https://datastore.ch.geni.net/info/slice/ch.geni.net_gpo-infra_slice_tuptyexclusive", … … 359 359 ==== Data about a GENI sliver ==== 360 360 361 GENI sliver have an ID based on the URN and are described using [http://www.gpolab.bbn.com/monitoring/schema/20140 501/sliver# the GENI sliver schema]. Examples:361 GENI sliver have an ID based on the URN and are described using [http://www.gpolab.bbn.com/monitoring/schema/20140828/sliver# the GENI sliver schema]. Examples: 362 362 Hypothetical REST call for tuptyexclusive instageni sliver: 363 363 {{{ … … 367 367 {{{ 368 368 { 369 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140 501/sliver#",369 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140828/sliver#", 370 370 "id": "instageni.gpolab.bbn.com_sliver_26947", 371 371 "selfRef": "https://datastore.instageni.gpolab.bbn.com/info/sliver/instageni.gpolab.bbn.com_sliver_26947", … … 403 403 {{{ 404 404 { 405 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140 501/externalcheck#",405 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140828/externalcheck#", 406 406 "id": "gpo", 407 407 "selfRef": "https://externalcheckstore.gpolab.bbn.com/info/externalcheck/gpo", … … 427 427 ==== Data about a monitoring experiment ==== 428 428 429 Operational monitoring measures the dataplane with a set of simple tests between aggregates described using [http://www.gpolab.bbn.com/monitoring/schema/20140 501/experiment# the operational monitoring experiment schema]. Examples:429 Operational monitoring measures the dataplane with a set of simple tests between aggregates described using [http://www.gpolab.bbn.com/monitoring/schema/20140828/experiment# the operational monitoring experiment schema]. Examples: 430 430 Hypothetical REST call for missouri-ig to gpo-ig experiment: 431 431 {{{ … … 435 435 {{{ 436 436 { 437 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140 501/experiment#",437 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140828/experiment#", 438 438 "id": "missouri-ig_to_gpo-ig", 439 439 "selfRef": "https://datastore.externalchecks.geni.net/info/experiment/missouri-ig_to_gpo-ig", … … 463 463 {{{ 464 464 { 465 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140 501/data#",465 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140828/data#", 466 466 "id": "cpu_util:instageni.gpolab.bbn.com_node_pc1", 467 467 "subject": "https://datastore.instageni.gpolab.bbn.com/info/node/instageni.gpolab.bbn.com_node_pc1", … … 487 487 {{{ 488 488 { 489 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140 501/data#",489 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140828/data#", 490 490 "id": "swap_free:instageni.gpolab.bbn.com_node_pc1", 491 491 "subject": "https://datastore.instageni.gpolab.bbn.com/info/node/instageni.gpolab.bbn.com_node_pc1", … … 510 510 {{{ 511 511 { 512 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140 501/data#",512 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140828/data#", 513 513 "id": "mem_active_kb:instageni.gpolab.bbn.com_node_pc1", 514 514 "subject": "https://datastore.instageni.gpolab.bbn.com/info/node/instageni.gpolab.bbn.com_node_pc1", … … 533 533 {{{ 534 534 { 535 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140 501/data#",535 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140828/data#", 536 536 "id": "rx_bps:instageni.gpolab.bbn.com_interface_pc1:eth0", 537 537 "subject": "https://datastore.instageni.gpolab.bbn.com/info/ports/instageni.gpolab.bbn.com_interface_pc1:eth0", … … 556 556 {{{ 557 557 { 558 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140 501/data#",558 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140828/data#", 559 559 "id": "is_available:instageni.gpolab.bbn.com_node_pc1", 560 560 "subject": "https://datastore.instageni.gpolab.bbn.com/info/node/instageni.gpolab.bbn.com_node_pc1", … … 585 585 [ 586 586 { 587 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140 501/data#",587 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140828/data#", 588 588 "id": "cpu_util:instageni.gpolab.bbn.com_node_pc1", 589 589 "subject": "https://datastore.instageni.gpolab.bbn.com/info/node/instageni.gpolab.bbn.com_node_pc1", … … 602 602 , 603 603 { 604 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140 501/data#",604 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140828/data#", 605 605 "id": "cpu_util:instageni.gpolab.bbn.com_node_pc2", 606 606 "subject": "https://datastore.instageni.gpolab.bbn.com/info/node/instageni.gpolab.bbn.com_node_pc2", … … 619 619 , 620 620 { 621 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140 501/data#",621 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140828/data#", 622 622 "id": "mem_active_kb:instageni.gpolab.bbn.com_node_pc1", 623 623 "subject": "https://datastore.instageni.gpolab.bbn.com/info/node/instageni.gpolab.bbn.com_node_pc1", … … 636 636 , 637 637 { 638 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140 501/data#",638 "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140828/data#", 639 639 "id": "mem_active_kb:instageni.gpolab.bbn.com_node_pc2", 640 640 "subject": "https://datastore.instageni.gpolab.bbn.com/info/node/instageni.gpolab.bbn.com_node_pc2",