Changes between Version 8 and Version 9 of OperationalMonitoring/DataSchema20


Ignore:
Timestamp:
08/27/14 19:31:51 (10 years ago)
Author:
dwiggins@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OperationalMonitoring/DataSchema20

    v8 v9  
    2727 * `https://datastore.externalchecks.geni.net/`: datastore for external checks in the monitoring framework (e.g. inter-aggregate pings, AM external availability)
    2828
    29 ==== Data about operational monitoring configuration ====
    30 
    31 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:
    32  * geni-prod: a hypothetical config datastore listing production aggregates and authorities:
    33 Example REST call:
    34 {{{
    35 https://datastore.geni.net/info/opsconfig/geni-prod
    36 }}}
    37 Response:
    38 {{{
    39 {
    40   "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140828/opsconfig#",
    41   "id": "geni-prod",
    42   "selfRef": "https://datastore.geni.net/opsconfigs/geni-prod",
    43   "ts": 1391192685740849,
    44   "aggregatestores": [
    45     {
    46       "urn": "urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm",
    47       "amtype": "protogeni",
    48       "href": "https://datastore.instageni.gpolab.bbn.com/info/aggregate/gpo-ig"
    49     }
    50   ],
    51   "externalcheckstores": [
    52     {
    53       "href": "https://externalcheckstore.gpolab.bbn.com/info/externalcheck/gpo"
    54     }
    55   ],
    56   "authorities": [
    57     {
    58       "urn": "urn:publicid:IDN+ch.geni.net+authority+ch",
    59       "href": "https://datastore.ch.geni.net/authorities/ch.geni.net"
    60     }
    61   ],
    62   "info": [
    63     {  "name": "aggregate",
    64        "db_schema": [
    65                  ["$schema", "varchar"],
    66                  ["id", "varchar"],
    67                  ["selfRef","varchar"],
    68                  ["urn","varchar"],
    69                  ["ts","int8"],
    70                  ["measRef","varchar"]
    71           ]
    72     },
    73     {   "name":"node",
    74         "db_schema": [
    75                  ["$schema", "varchar"],
    76                  ["id", "varchar"],
    77                  ["selfRef","varchar"],
    78                  ["urn","varchar"],
    79                  ["ts","int8"],
    80                  ["properties$mem_total_kb","int8"]
    81           ]
    82     },
    83     {  "name": "link",
    84        "db_schema": [
    85                  ["$schema", "varchar"],
    86                  ["id", "varchar"],
    87                  ["selfRef","varchar"],
    88                  ["urn","varchar"],
    89                  ["ts","int8"]
    90           ]
    91     },
    92     {  "name": "sliver",
    93        "db_schema": [
    94                  ["$schema", "varchar"],
    95                  ["id", "varchar"],
    96                  ["selfRef","varchar"],
    97                  ["urn","varchar"],
    98                  ["uuid","varchar"],
    99                  ["ts","int8"],
    100                  ["aggregate_urn","varchar"],
    101                  ["aggregate_href","varchar"],
    102                  ["slice_urn","varchar"],
    103                  ["slice_uuid","varchar"],
    104                  ["creator","varchar"],
    105                  ["created","int8"],
    106                  ["expires","int8"]
    107           ]
    108     },
    109     {  "name":"interface",
    110        "db_schema": [
    111                  ["$schema", "varchar"],
    112                  ["id", "varchar"],
    113                  ["selfRef","varchar"],
    114                  ["urn","varchar"],
    115                  ["ts","int8"],
    116                  ["address_type","varchar"],
    117                  ["address_address","varchar"],
    118                  ["properties$role","varchar"],
    119                  ["properties$max_bps","int8"],
    120                  ["properties$max_pps","int8"]
    121           ]
    122     },
    123     {   "name": "interfacevlan",
    124         "db_schema": [
    125                  ["$schema", "varchar"],
    126                  ["id", "varchar"],
    127                  ["selfRef","varchar"],
    128                  ["urn","varchar"],
    129                  ["ts","int8"],
    130                  ["tag","int8"],
    131                  ["interface_urn","varchar"],
    132                  ["interface_href","varchar"]
    133           ]
    134    },
    135    {   "name": "slice",
    136        "db_schema": [
    137                  ["$schema", "varchar"],
    138                  ["id", "varchar"],
    139                  ["selfRef","varchar"],
    140                  ["urn","varchar"],
    141                  ["uuid","varchar"],
    142                  ["ts","int8"],
    143                  ["authority_urn","varchar"],
    144                  ["authority_href","varchar"],
    145                  ["created","int8"],
    146                  ["expires","int8"]
    147           ]
    148     },
    149     {   "name":"user",
    150         "db_schema": [
    151                  ["$schema", "varchar"],
    152                  ["id", "varchar"],
    153                  ["selfRef","varchar"],
    154                  ["urn","varchar"],
    155                  ["ts","int8"],
    156                  ["authority_urn","varchar"],
    157                  ["authority_href","varchar"],
    158                  ["fullname","varchar"],
    159                  ["email","varchar"]
    160           ]
    161     },
    162     {   "name":"authority",
    163         "db_schema": [
    164                  ["$schema", "varchar"],
    165                  ["id", "varchar"],
    166                  ["selfRef","varchar"],
    167                  ["urn","varchar"],
    168                  ["ts","int8"]
    169           ]
    170     },
    171     {   "name":"externalcheck",
    172         "db_schema": [
    173                  ["$schema", "varchar"],
    174                  ["id", "varchar"],
    175                  ["selfRef","varchar"],
    176                  ["ts","int8"],
    177                  ["measRef","varchar"]
    178           ]
    179     },
    180     {   "name":"experiment",
    181         "db_schema": [
    182                  ["$schema", "varchar"],
    183                  ["id", "varchar"],
    184                  ["selfRef","varchar"],
    185                  ["ts","int8"],         
    186                  ["slice_urn","varchar"],
    187                  ["slice_uuid","varchar"],
    188                  ["source_aggregate_urn","varchar"],
    189                  ["source_aggregate_href","varchar"],
    190                  ["destination_aggregate_urn","varchar"],
    191                  ["destination_aggregate_href","varchar"]
    192           ]
    193     },
    194     {   "name":"opsconfig",
    195         "db_schema": [
    196                  ["$schema", "varchar"],
    197                  ["id","varchar"],
    198                  ["selfRef","varchar"],
    199                  ["ts","int8"]
    200         ]
    201     },
    202     {   "name":"aggregate_resource",
    203         "db_schema" : [
    204                  ["id","varchar"],
    205                  ["aggregate_id","varchar"],
    206                  ["urn","varchar"],
    207                  ["selfRef","varchar"]
    208           ]
    209     },
    210     {   "name":"aggregate_sliver",
    211         "db_schema" : [
    212                  ["id","varchar"],
    213                  ["aggregate_id","varchar"],
    214                  ["urn","varchar"],
    215                  ["selfRef","varchar"]
    216          ]
    217     },
    218     {   "name":"link_interfacevlan",
    219         "db_schema" : [
    220                  ["id","varchar"],
    221                  ["link_id","varchar"],
    222                  ["urn","varchar"],
    223                  ["selfRef","varchar"]
    224           ]
    225     },
    226     {   "name":"sliver_resource",
    227         "db_schema" : [
    228                  ["id","varchar"],
    229                  ["sliver_id","varchar"],
    230                  ["urn","varchar"],
    231                  ["selfRef","varchar"]
    232          ]
    233     },
    234     {   "name":"node_interface",
    235         "db_schema": [
    236                  ["id","varchar"],
    237                  ["node_id","varchar"],
    238                  ["urn","varchar"],
    239                  ["selfRef","varchar"]
    240           ]
    241     },
    242     {   "name":"slice_user",
    243         "db_schema": [
    244                  ["id","varchar"],
    245                  ["slice_id","varchar"],
    246                  ["urn","varchar"],
    247                  ["role","varchar"],
    248                  ["selfRef","varchar"]
    249         ]
    250     },
    251     {   "name":"authority_user",
    252         "db_schema": [
    253                  ["id","varchar"],
    254                  ["authority_id","varchar"],
    255                  ["urn","varchar"],
    256                  ["selfRef","varchar"]
    257         ]
    258     },
    259     {   "name":"authority_slice",
    260         "db_schema": [
    261                  ["id","varchar"],
    262                  ["authority_id","varchar"],
    263                  ["urn","varchar"],
    264                  ["selfRef","varchar"]
    265         ]
    266     },
    267     {   "name":"opsconfig_aggregate",
    268         "db_schema": [
    269                  ["id","varchar"],
    270                  ["opsconfig_id","varchar"],
    271                  ["amtype","varchar"],
    272                  ["urn","varchar"],
    273                  ["selfRef","varchar"]
    274         ]
    275     },
    276     {   "name":"opsconfig_authority",
    277         "db_schema": [
    278                  ["id","varchar"],
    279                  ["opsconfig_id","varchar"],
    280                  ["urn","varchar"],
    281                  ["selfRef","varchar"]
    282         ]
    283     },
    284     {   "name":"opsconfig_event",
    285         "db_schema": [
    286                  ["object_type","varchar"],
    287                  ["name","varchar"],
    288                  ["id","varchar"],
    289                  ["ts","varchar"],
    290                  ["v","varchar"],
    291                  ["units","varchar"]
    292         ]
    293     },
    294     {   "name":"externalcheck_experiment",
    295         "db_schema": [
    296                  ["id","varchar"],
    297                  ["externalcheck_id","varchar"],
    298                  ["selfRef","varchar"]
    299         ]
    300     }
    301   ],
    302   "events":
    303     {
    304       "node": [
    305           {    "name": "cpu_util",
    306                "id": "varchar",
    307                "ts": "int8",
    308                "v": "float4",
    309                "units": "percent"
    310           },
    311           {    "name": "mem_used_kb",
    312                "id": "varchar",
    313                "ts": "int8",
    314                "v": "int8",
    315                "units": "kilobytes"
    316           },   
    317           {    "name": "swap_free",
    318                "id": "varchar",
    319                "ts": "int8",
    320                "v": "float4",
    321                "units": "percent"
    322           },
    323           {    "name": "is_available",
    324                "id": "varchar",
    325                "ts": "int8",
    326                "v": "int2",
    327                "units": "boolean"
    328           },
    329           {    "name": "disk_part_max_used",
    330                "id": "varchar",
    331                "ts": "int8",
    332                "v": "float4",
    333                "units":"percent"
    334           }
    335        ],
    336        "aggregate": [
    337           {    "name": "num_vms_allocated",
    338                "id": "varchar",
    339                "ts": "int8",
    340                "v": "int4",
    341                "units": "count"
    342           },
    343           {    "name": "is_available",
    344                "id": "varchar",
    345                "ts": "int8",
    346                "v": "int2",
    347                "units": "boolean"
    348           }
    349        ],
    350        "interface": [
    351           {    "name": "rx_bps",
    352                "id": "varchar",
    353                "ts": "int8",
    354                "v":"float4",
    355                "units":"bps"
    356           },
    357           {    "name": "tx_bps",
    358                "id": "varchar",
    359                "ts": "int8",
    360                "v":"float4",
    361                "units":"bps"
    362           },
    363           {    "name":"rx_pps",
    364                "id": "varchar",
    365                "ts": "int8",
    366                "v":"float4",
    367                "units":"pps"
    368           },
    369           {    "name":"tx_pps", 
    370                "id": "varchar",
    371                "ts": "int8",
    372                "v":"float4",
    373                "units":"pps"
    374           },
    375           {    "name":"rx_eps", 
    376                "id": "varchar",
    377                "ts": "int8",
    378                "v":"float4",
    379                "units":"pps"
    380           },
    381           {    "name":"tx_eps",
    382                "id": "varchar",
    383                "ts": "int8",
    384                "v":"float4",
    385                "units":"pps"
    386           },
    387           {    "name":"rx_dps",
    388                "id": "varchar",
    389                "ts": "int8",
    390                "v":"float4",
    391                "units":"pps"
    392           },
    393           {    "name":"tx_dps",
    394                "id": "varchar",
    395                "ts": "int8",
    396                "v":"float4",
    397                "units":"pps"
    398           }
    399        ],
    400        "interfacevlan": [
    401           {    "name": "rx_bps",
    402                "id": "varchar",
    403                "ts": "int8",
    404                "v":"float4",
    405                "units":"bps"
    406           },
    407           {    "name": "tx_bps",
    408                "id": "varchar",
    409                "ts": "int8",
    410                "v":"float4",
    411                "units":"bps"
    412           },
    413           {    "name":"rx_pps",
    414                "id": "varchar",
    415                "ts": "int8",
    416                "v":"float4",
    417                "units":"pps"
    418           },
    419           {    "name":"tx_pps", 
    420                "id": "varchar",
    421                "ts": "int8",
    422                "v":"float4",
    423                "units":"pps"
    424           },
    425           {    "name":"rx_eps", 
    426                "id": "varchar",
    427                "ts": "int8",
    428                "v":"float4",
    429                "units":"pps"
    430           },
    431           {    "name":"tx_eps",
    432                "id": "varchar",
    433                "ts": "int8",
    434                "v":"float4",
    435                "units":"pps"
    436           },
    437           {    "name":"rx_dps",
    438                "id": "varchar",
    439                "ts": "int8",
    440                "v":"float4",
    441                "units":"pps"
    442           },
    443           {    "name":"tx_dps",
    444                "id": "varchar",
    445                "ts": "int8",
    446                "v":"float4",
    447                "units":"pps"
    448           }
    449        ],
    450        "experiment": [
    451           {    "name": "ping_rtt_ms",
    452                "id": "varchar",
    453                "ts": "int8",
    454                "v":"float4",
    455                "units":"milliseconds"
    456           }
    457        ]
    458     }
    459 }
    460 }}}
    461 
    462 ==== Data about an aggregate ====
    463 
    464 Aggregates are indexed by GENI-agreed short name and described using [http://www.gpolab.bbn.com/monitoring/schema/20140828/aggregate# the aggregate schema].  Examples:
     29
     30==== Aggregate call and response ====
     31
     32Aggregates are indexed by GENI-agreed short name.
    46533
    46634Example REST call for aggregate gpo-ig:
     
    46836https://datastore.instageni.gpolab.bbn.com/info/aggregate/gpo-ig
    46937}}}
    470 Response:
     38Response conforms to the [http://www.gpolab.bbn.com/monitoring/schema/20140828/aggregate# aggregate schema], [http://www.gpolab.bbn.com/monitoring/schema/20140828/aggregate# commented version of the aggregate schema]
    47139{{{
    47240{
     
    50068}}}
    50169
    502 ==== Data about a node ====
    503 
    504 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:
    505  Example REST call for GPO-IG node pc1:
     70==== Node call and response ====
     71
     72Example REST call for gpo-ig node pc1:
    50673{{{
    50774https://datastore.instageni.gpolab.bbn.com/info/node/instageni.gpolab.bbn.com_node_pc1
    50875}}}
    509 Response:
     76Response conforms to the [http://www.gpolab.bbn.com/monitoring/schema/20140828/node node schema], [http://www.gpolab.bbn.com/monitoring/schema/20140828/node.schema.jwc commented version of the node schema].
    51077{{{
    51178{
     
    539106}}}
    540107
    541 ==== Data about a link ====
    542 
    543 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:
    544  Example REST call for GRNOC link salt_port_1750:
     108==== Link call and response ====
     109
     110Example REST call:
    545111{{{
    546112https://datastore.grnoc.iu.edu/info/link/arbitrary_id_001
    547113}}}
    548 Response:
     114Response conforms to the [http://www.gpolab.bbn.com/monitoring/schema/20140828/link# link schema], [http://www.gpolab.bbn.com/monitoring/schema/20140828/link.schema.jwc# commented version of the link schema].
    549115{{{
    550116{
     
    567133}}}
    568134
    569 ==== Data about an interface ====
    570 
    571 Interfaces have an ID which is a URL-sanitized version of their URN and are described using [http://unis.incntre.iu.edu/schema/20120709/port# the port schema].  Notes:
     135==== Interface call and response ====
    572136
    573137Example REST call for pc1 eth0 (control) at gpo-ig:
     
    575139https://datastore.instageni.gpolab.bbn.com/info/interface/instageni.gpolab.bbn.com_interface_pc1:eth0
    576140}}}
    577  Response:
     141Response conforms to the [http://www.gpolab.bbn.com/monitoring/schema/20140828/interface interface schema], [http://www.gpolab.bbn.com/monitoring/schema/20140828/interface.schema.jwc commented version of the interface schema].
    578142{{{
    579143{
     
    600164}}}
    601165
    602 ==== Data about a slice authority ====
     166==== Slice authority call and response ====
    603167
    604168GENI slice authorities are indexed by domain name and described using [http://www.gpolab.bbn.com/monitoring/schema/20140828/authority# the authority schema].  Examples:
    605169
    606170
    607  Example REST call for authority of ch.geni.net:
     171Example REST call for authority of ch.geni.net:
    608172{{{
    609173https://datastore.ch.geni.net/info/authority/ch.geni.net
    610174}}}
    611  Response:
     175Response conforms to the [http://www.gpolab.bbn.com/monitoring/schema/20140828/authority authority schema], [http://www.gpolab.bbn.com/monitoring/schema/20140828/authority.schema.jwc commented version of the authority schema]
    612176{{{
    613177{
     
    633197
    634198
    635 ==== Data about an Interface-VLAN ====
    636 
    637 Examples:
     199==== Interface-VLAN call and response ====
    638200
    639201Example REST call for VLAN 1750 on pc1 eth1:
     
    641203https://datastore.instageni.gpolab.bbn.com/info/interfacevlan/instageni.gpolab.bbn.com_interface_pc1:eth1:1750
    642204}}}
    643 Response:
     205Response conforms to the  [http://www.gpolab.bbn.com/monitoring/schema/20140828/interfacevlan interfacevlan schema], [http://www.gpolab.bbn.com/monitoring/schema/20140828/interfacevlan.schema.jwc commented version of the interfacevlan schema]
    644206{{{
    645207{
     
    658220
    659221
    660 ==== Data about a GENI user ====
     222==== User call and response ====
    661223
    662224GENI 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:
    663225
    664  Example REST call for user tupty at ch.geni.net:
    665 {{{
    666  https://datastore.ch.geni.net/info/user/tupty
    667 }}}
    668  Response:
     226Example REST call for user tupty at ch.geni.net:
     227{{{
     228https://datastore.ch.geni.net/info/user/tupty
     229}}}
     230Response conforms to the [http://www.gpolab.bbn.com/monitoring/schema/20140828/user user schema], [http://www.gpolab.bbn.com/monitoring/schema/20140828/user.schema.jwc commented version of the user schema]
    669231{{{
    670232{
     
    683245}}}
    684246
    685 ==== Data about a GENI slice ====
    686 
    687 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:
     247==== Slice call and response ====
     248
     249GENI 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].
    688250Example REST call for tuptyexclusive slice:
    689251{{{
    690  https://datastore.ch.geni.net/info/slice/ch.geni.net_gpo-infra_slice_tuptyexclusive
    691 }}}
    692 
     252https://datastore.ch.geni.net/info/slice/ch.geni.net_gpo-infra_slice_tuptyexclusive
     253}}}
     254Response conforms to the [http://www.gpolab.bbn.com/monitoring/schema/20140828/slice slice schema], [http://www.gpolab.bbn.com/monitoring/schema/20140828/slice.schema.jwc commented version of the slice schema]
    693255{{{
    694256{
     
    715277}}}
    716278
    717 ==== Data about a GENI sliver ====
     279==== Sliver call and response ====
    718280
    719281GENI 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:
    720  Example REST call for tuptyexclusive instageni sliver:
     282Example REST call for tuptyexclusive instageni sliver:
    721283{{{
    722284https://datastore.instageni.gpolab.bbn.com/info/sliver/instageni.gpolab.bbn.com_sliver_26947
    723285}}}
    724  Response:
     286Response conforms to the [http://www.gpolab.bbn.com/monitoring/schema/20140828/sliver sliver schema], [http://www.gpolab.bbn.com/monitoring/schema/20140828/sliver.schema.jwc commented version of the sliver schema].
    725287{{{
    726288{
     
    748310}}}
    749311
    750 ==== Data about an external check datastore ====
    751 
     312==== External check datastore call and response ====
     313
     314Example REST call:
    752315{{{
    753316https://externalcheckstore.gpolab.bbn.com/info/externalcheck/gpo
    754317}}}
    755 
     318Response conforms to the [http://www.gpolab.bbn.com/monitoring/schema/20140828/externalcheck external check schema], [http://www.gpolab.bbn.com/monitoring/schema/20140828/externalcheck commented version of the external check schema], .
    756319{{{
    757320{
     
    778341}
    779342}}}
    780 ==== Data about a monitoring experiment ====
     343
     344==== Experiment call and response ====
    781345
    782346Operational 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:
    783  Example REST call for missouri-ig to gpo-ig experiment:
     347Example REST call for missouri-ig to gpo-ig experiment:
    784348{{{
    785349https://datastore.externalchecks.geni.net/info/experiment/missouri-ig_to_gpo-ig_rtt
    786350}}}
    787  Response:
     351Response conforms to the [http://www.gpolab.bbn.com/monitoring/schema/20140828/experiment experiment schema], [http://www.gpolab.bbn.com/monitoring/schema/20140828/experiment.schema.jwc commented version of the experiment schema]
    788352{{{
    789353{
     
    1006570]
    1007571}}}
     572
     573==== Data about operational monitoring configuration ====
     574
     575Operational 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:
     576 * geni-prod: a hypothetical config datastore listing production aggregates and authorities:
     577Example REST call:
     578{{{
     579https://datastore.geni.net/info/opsconfig/geni-prod
     580}}}
     581Response:
     582{{{
     583{
     584  "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140828/opsconfig#",
     585  "id": "geni-prod",
     586  "selfRef": "https://datastore.geni.net/opsconfigs/geni-prod",
     587  "ts": 1391192685740849,
     588  "aggregatestores": [
     589    {
     590      "urn": "urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm",
     591      "amtype": "protogeni",
     592      "href": "https://datastore.instageni.gpolab.bbn.com/info/aggregate/gpo-ig"
     593    }
     594  ],
     595  "externalcheckstores": [
     596    {
     597      "href": "https://externalcheckstore.gpolab.bbn.com/info/externalcheck/gpo"
     598    }
     599  ],
     600  "authorities": [
     601    {
     602      "urn": "urn:publicid:IDN+ch.geni.net+authority+ch",
     603      "href": "https://datastore.ch.geni.net/authorities/ch.geni.net"
     604    }
     605  ],
     606  "info": [
     607    {  "name": "aggregate",
     608       "db_schema": [
     609                 ["$schema", "varchar"],
     610                 ["id", "varchar"],
     611                 ["selfRef","varchar"],
     612                 ["urn","varchar"],
     613                 ["ts","int8"],
     614                 ["measRef","varchar"]
     615          ]
     616    },
     617    {   "name":"node",
     618        "db_schema": [
     619                 ["$schema", "varchar"],
     620                 ["id", "varchar"],
     621                 ["selfRef","varchar"],
     622                 ["urn","varchar"],
     623                 ["ts","int8"],
     624                 ["properties$mem_total_kb","int8"]
     625          ]
     626    },
     627    {  "name": "link",
     628       "db_schema": [
     629                 ["$schema", "varchar"],
     630                 ["id", "varchar"],
     631                 ["selfRef","varchar"],
     632                 ["urn","varchar"],
     633                 ["ts","int8"]
     634          ]
     635    },
     636    {  "name": "sliver",
     637       "db_schema": [
     638                 ["$schema", "varchar"],
     639                 ["id", "varchar"],
     640                 ["selfRef","varchar"],
     641                 ["urn","varchar"],
     642                 ["uuid","varchar"],
     643                 ["ts","int8"],
     644                 ["aggregate_urn","varchar"],
     645                 ["aggregate_href","varchar"],
     646                 ["slice_urn","varchar"],
     647                 ["slice_uuid","varchar"],
     648                 ["creator","varchar"],
     649                 ["created","int8"],
     650                 ["expires","int8"]
     651          ]
     652    },
     653    {  "name":"interface",
     654       "db_schema": [
     655                 ["$schema", "varchar"],
     656                 ["id", "varchar"],
     657                 ["selfRef","varchar"],
     658                 ["urn","varchar"],
     659                 ["ts","int8"],
     660                 ["address_type","varchar"],
     661                 ["address_address","varchar"],
     662                 ["properties$role","varchar"],
     663                 ["properties$max_bps","int8"],
     664                 ["properties$max_pps","int8"]
     665          ]
     666    },
     667    {   "name": "interfacevlan",
     668        "db_schema": [
     669                 ["$schema", "varchar"],
     670                 ["id", "varchar"],
     671                 ["selfRef","varchar"],
     672                 ["urn","varchar"],
     673                 ["ts","int8"],
     674                 ["tag","int8"],
     675                 ["interface_urn","varchar"],
     676                 ["interface_href","varchar"]
     677          ]
     678   },
     679   {   "name": "slice",
     680       "db_schema": [
     681                 ["$schema", "varchar"],
     682                 ["id", "varchar"],
     683                 ["selfRef","varchar"],
     684                 ["urn","varchar"],
     685                 ["uuid","varchar"],
     686                 ["ts","int8"],
     687                 ["authority_urn","varchar"],
     688                 ["authority_href","varchar"],
     689                 ["created","int8"],
     690                 ["expires","int8"]
     691          ]
     692    },
     693    {   "name":"user",
     694        "db_schema": [
     695                 ["$schema", "varchar"],
     696                 ["id", "varchar"],
     697                 ["selfRef","varchar"],
     698                 ["urn","varchar"],
     699                 ["ts","int8"],
     700                 ["authority_urn","varchar"],
     701                 ["authority_href","varchar"],
     702                 ["fullname","varchar"],
     703                 ["email","varchar"]
     704          ]
     705    },
     706    {   "name":"authority",
     707        "db_schema": [
     708                 ["$schema", "varchar"],
     709                 ["id", "varchar"],
     710                 ["selfRef","varchar"],
     711                 ["urn","varchar"],
     712                 ["ts","int8"]
     713          ]
     714    },
     715    {   "name":"externalcheck",
     716        "db_schema": [
     717                 ["$schema", "varchar"],
     718                 ["id", "varchar"],
     719                 ["selfRef","varchar"],
     720                 ["ts","int8"],
     721                 ["measRef","varchar"]
     722          ]
     723    },
     724    {   "name":"experiment",
     725        "db_schema": [
     726                 ["$schema", "varchar"],
     727                 ["id", "varchar"],
     728                 ["selfRef","varchar"],
     729                 ["ts","int8"],         
     730                 ["slice_urn","varchar"],
     731                 ["slice_uuid","varchar"],
     732                 ["source_aggregate_urn","varchar"],
     733                 ["source_aggregate_href","varchar"],
     734                 ["destination_aggregate_urn","varchar"],
     735                 ["destination_aggregate_href","varchar"]
     736          ]
     737    },
     738    {   "name":"opsconfig",
     739        "db_schema": [
     740                 ["$schema", "varchar"],
     741                 ["id","varchar"],
     742                 ["selfRef","varchar"],
     743                 ["ts","int8"]
     744        ]
     745    },
     746    {   "name":"aggregate_resource",
     747        "db_schema" : [
     748                 ["id","varchar"],
     749                 ["aggregate_id","varchar"],
     750                 ["urn","varchar"],
     751                 ["selfRef","varchar"]
     752          ]
     753    },
     754    {   "name":"aggregate_sliver",
     755        "db_schema" : [
     756                 ["id","varchar"],
     757                 ["aggregate_id","varchar"],
     758                 ["urn","varchar"],
     759                 ["selfRef","varchar"]
     760         ]
     761    },
     762    {   "name":"link_interfacevlan",
     763        "db_schema" : [
     764                 ["id","varchar"],
     765                 ["link_id","varchar"],
     766                 ["urn","varchar"],
     767                 ["selfRef","varchar"]
     768          ]
     769    },
     770    {   "name":"sliver_resource",
     771        "db_schema" : [
     772                 ["id","varchar"],
     773                 ["sliver_id","varchar"],
     774                 ["urn","varchar"],
     775                 ["selfRef","varchar"]
     776         ]
     777    },
     778    {   "name":"node_interface",
     779        "db_schema": [
     780                 ["id","varchar"],
     781                 ["node_id","varchar"],
     782                 ["urn","varchar"],
     783                 ["selfRef","varchar"]
     784          ]
     785    },
     786    {   "name":"slice_user",
     787        "db_schema": [
     788                 ["id","varchar"],
     789                 ["slice_id","varchar"],
     790                 ["urn","varchar"],
     791                 ["role","varchar"],
     792                 ["selfRef","varchar"]
     793        ]
     794    },
     795    {   "name":"authority_user",
     796        "db_schema": [
     797                 ["id","varchar"],
     798                 ["authority_id","varchar"],
     799                 ["urn","varchar"],
     800                 ["selfRef","varchar"]
     801        ]
     802    },
     803    {   "name":"authority_slice",
     804        "db_schema": [
     805                 ["id","varchar"],
     806                 ["authority_id","varchar"],
     807                 ["urn","varchar"],
     808                 ["selfRef","varchar"]
     809        ]
     810    },
     811    {   "name":"opsconfig_aggregate",
     812        "db_schema": [
     813                 ["id","varchar"],
     814                 ["opsconfig_id","varchar"],
     815                 ["amtype","varchar"],
     816                 ["urn","varchar"],
     817                 ["selfRef","varchar"]
     818        ]
     819    },
     820    {   "name":"opsconfig_authority",
     821        "db_schema": [
     822                 ["id","varchar"],
     823                 ["opsconfig_id","varchar"],
     824                 ["urn","varchar"],
     825                 ["selfRef","varchar"]
     826        ]
     827    },
     828    {   "name":"opsconfig_event",
     829        "db_schema": [
     830                 ["object_type","varchar"],
     831                 ["name","varchar"],
     832                 ["id","varchar"],
     833                 ["ts","varchar"],
     834                 ["v","varchar"],
     835                 ["units","varchar"]
     836        ]
     837    },
     838    {   "name":"externalcheck_experiment",
     839        "db_schema": [
     840                 ["id","varchar"],
     841                 ["externalcheck_id","varchar"],
     842                 ["selfRef","varchar"]
     843        ]
     844    }
     845  ],
     846  "events":
     847    {
     848      "node": [
     849          {    "name": "cpu_util",
     850               "id": "varchar",
     851               "ts": "int8",
     852               "v": "float4",
     853               "units": "percent"
     854          },
     855          {    "name": "mem_used_kb",
     856               "id": "varchar",
     857               "ts": "int8",
     858               "v": "int8",
     859               "units": "kilobytes"
     860          },   
     861          {    "name": "swap_free",
     862               "id": "varchar",
     863               "ts": "int8",
     864               "v": "float4",
     865               "units": "percent"
     866          },
     867          {    "name": "is_available",
     868               "id": "varchar",
     869               "ts": "int8",
     870               "v": "int2",
     871               "units": "boolean"
     872          },
     873          {    "name": "disk_part_max_used",
     874               "id": "varchar",
     875               "ts": "int8",
     876               "v": "float4",
     877               "units":"percent"
     878          }
     879       ],
     880       "aggregate": [
     881          {    "name": "num_vms_allocated",
     882               "id": "varchar",
     883               "ts": "int8",
     884               "v": "int4",
     885               "units": "count"
     886          },
     887          {    "name": "is_available",
     888               "id": "varchar",
     889               "ts": "int8",
     890               "v": "int2",
     891               "units": "boolean"
     892          }
     893       ],
     894       "interface": [
     895          {    "name": "rx_bps",
     896               "id": "varchar",
     897               "ts": "int8",
     898               "v":"float4",
     899               "units":"bps"
     900          },
     901          {    "name": "tx_bps",
     902               "id": "varchar",
     903               "ts": "int8",
     904               "v":"float4",
     905               "units":"bps"
     906          },
     907          {    "name":"rx_pps",
     908               "id": "varchar",
     909               "ts": "int8",
     910               "v":"float4",
     911               "units":"pps"
     912          },
     913          {    "name":"tx_pps", 
     914               "id": "varchar",
     915               "ts": "int8",
     916               "v":"float4",
     917               "units":"pps"
     918          },
     919          {    "name":"rx_eps", 
     920               "id": "varchar",
     921               "ts": "int8",
     922               "v":"float4",
     923               "units":"pps"
     924          },
     925          {    "name":"tx_eps",
     926               "id": "varchar",
     927               "ts": "int8",
     928               "v":"float4",
     929               "units":"pps"
     930          },
     931          {    "name":"rx_dps",
     932               "id": "varchar",
     933               "ts": "int8",
     934               "v":"float4",
     935               "units":"pps"
     936          },
     937          {    "name":"tx_dps",
     938               "id": "varchar",
     939               "ts": "int8",
     940               "v":"float4",
     941               "units":"pps"
     942          }
     943       ],
     944       "interfacevlan": [
     945          {    "name": "rx_bps",
     946               "id": "varchar",
     947               "ts": "int8",
     948               "v":"float4",
     949               "units":"bps"
     950          },
     951          {    "name": "tx_bps",
     952               "id": "varchar",
     953               "ts": "int8",
     954               "v":"float4",
     955               "units":"bps"
     956          },
     957          {    "name":"rx_pps",
     958               "id": "varchar",
     959               "ts": "int8",
     960               "v":"float4",
     961               "units":"pps"
     962          },
     963          {    "name":"tx_pps", 
     964               "id": "varchar",
     965               "ts": "int8",
     966               "v":"float4",
     967               "units":"pps"
     968          },
     969          {    "name":"rx_eps", 
     970               "id": "varchar",
     971               "ts": "int8",
     972               "v":"float4",
     973               "units":"pps"
     974          },
     975          {    "name":"tx_eps",
     976               "id": "varchar",
     977               "ts": "int8",
     978               "v":"float4",
     979               "units":"pps"
     980          },
     981          {    "name":"rx_dps",
     982               "id": "varchar",
     983               "ts": "int8",
     984               "v":"float4",
     985               "units":"pps"
     986          },
     987          {    "name":"tx_dps",
     988               "id": "varchar",
     989               "ts": "int8",
     990               "v":"float4",
     991               "units":"pps"
     992          }
     993       ],
     994       "experiment": [
     995          {    "name": "ping_rtt_ms",
     996               "id": "varchar",
     997               "ts": "int8",
     998               "v":"float4",
     999               "units":"milliseconds"
     1000          }
     1001       ]
     1002    }
     1003}
     1004}}}