Advertisement
alvise72

Partial Ranker JSON Request (no preferences)

Jun 6th, 2016
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 9.64 KB | None | 0 0
  1. {
  2.     "preferences": [{
  3.                 "service_type": "compute",
  4.                 "priority": [{
  5.                         "sla_id": "4401ac5dc8cfbbb737b0a02575ee53f6",
  6.                         "service_id": "4401ac5dc8cfbbb737b0a02575e8040f",
  7.                         "weight": 0.5
  8.                 }, {
  9.                         "sla_id": "4401ac5dc8cfbbb737b0a02575ee3b58",
  10.                         "service_id": "4401ac5dc8cfbbb737b0a02575e6f4bc",
  11.                         "weight": 0.5
  12.                 }]
  13.         }],
  14.     "sla": [{
  15.         "customer": "indigo-dc",
  16.         "provider": "provider-UPV-GRyCAP",
  17.         "start_date": "11.01.2016+15:50:00",
  18.         "end_date": "11.02.2016+15:50:00",
  19.         "services": [{
  20.             "type": "compute",
  21.             "service_id": "4401ac5dc8cfbbb737b0a02575e6f4bc",
  22.             "targets": [{
  23.                 "type": "public_ip",
  24.                 "unit": "none",
  25.                 "restrictions": {
  26.                     "total_guaranteed": 10
  27.                 }
  28.             }]
  29.         }],
  30.         "id": "4401ac5dc8cfbbb737b0a02575ee3b58"
  31.     }, {
  32.         "customer": "indigo-dc",
  33.         "provider": "provider-RECAS-BARI",
  34.         "start_date": "11.01.2016+15:50:00",
  35.         "end_date": "11.02.2016+15:50:00",
  36.         "services": [{
  37.             "type": "compute",
  38.             "service_id": "4401ac5dc8cfbbb737b0a02575e8040f",
  39.             "targets": [{
  40.                 "type": "computing_time",
  41.                 "unit": "h",
  42.                 "restrictions": {
  43.                     "total_guaranteed": 200
  44.                 }
  45.             }]
  46.         }],
  47.         "id": "4401ac5dc8cfbbb737b0a02575ee53f6"
  48.     }],
  49.     "monitoring": [{
  50.         "provider": "provider-RECAS-BARI",
  51.         "metrics": [{
  52.             "metricName": "OCCI Create VM availability",
  53.             "metricKey": "Cloud_Providers.provider-RECAS-BARI..OCCI Create VM availability",
  54.             "metricValue": 1.0,
  55.             "metricTime": "Instant null because no metrics were returned in the last 24hs",
  56.             "metricUnit": "bit",
  57.             "paasThresholds": [],
  58.             "historyClocks": [],
  59.             "historyValues": []
  60.         }, {
  61.             "metricName": "OCCI CreateVM Response Time",
  62.             "metricKey": "Cloud_Providers.provider-RECAS-BARI..OCCI CreateVM Response Time",
  63.             "metricValue": 10.0,
  64.             "metricTime": "Instant null because no metrics were returned in the last 24hs",
  65.             "metricUnit": "ms",
  66.             "paasThresholds": [],
  67.             "historyClocks": [],
  68.             "historyValues": []
  69.         }, {
  70.             "metricName": "OCCI CreateVM Result",
  71.             "metricKey": "Cloud_Providers.provider-RECAS-BARI..OCCI CreateVM Result",
  72.             "metricValue": 0.0,
  73.             "metricTime": "Instant null because no metrics were returned in the last 24hs",
  74.             "metricUnit": "bit",
  75.             "paasThresholds": [],
  76.             "historyClocks": [],
  77.             "historyValues": []
  78.         }, {
  79.             "metricName": "OCCI Delete VM Availability",
  80.             "metricKey": "Cloud_Providers.provider-RECAS-BARI..OCCI Delete VM Availability",
  81.             "metricValue": 0.0,
  82.             "metricTime": "Instant null because no metrics were returned in the last 24hs",
  83.             "metricUnit": "bit",
  84.             "paasThresholds": [],
  85.             "historyClocks": [],
  86.             "historyValues": []
  87.         }, {
  88.             "metricName": "OCCI DeleteVM Response Time",
  89.             "metricKey": "Cloud_Providers.provider-RECAS-BARI..OCCI DeleteVM Response Time",
  90.             "metricValue": 20.0,
  91.             "metricTime": "Instant null because no metrics were returned in the last 24hs",
  92.             "metricUnit": "ms",
  93.             "paasThresholds": [],
  94.             "historyClocks": [],
  95.             "historyValues": []
  96.         }, {
  97.             "metricName": "OCCI DeleteVM Result",
  98.             "metricKey": "Cloud_Providers.provider-RECAS-BARI..OCCI DeleteVM Result",
  99.             "metricValue": 1.0,
  100.             "metricTime": "Instant null because no metrics were returned in the last 24hs",
  101.             "metricUnit": "bit",
  102.             "paasThresholds": [],
  103.             "historyClocks": [],
  104.             "historyValues": []
  105.         }, {
  106.             "metricName": "General OCCI API Availability",
  107.             "metricKey": "Cloud_Providers.provider-RECAS-BARI..General OCCI API Availability",
  108.             "metricValue": 1.0,
  109.             "metricTime": "Instant null because no metrics were returned in the last 24hs",
  110.             "metricUnit": "bit",
  111.             "paasThresholds": [],
  112.             "historyClocks": [],
  113.             "historyValues": []
  114.         }, {
  115.             "metricName": "General OCCI API Response Time",
  116.             "metricKey": "Cloud_Providers.provider-RECAS-BARI..General OCCI API Response Time",
  117.             "metricValue": 30.0,
  118.             "metricTime": "Instant null because no metrics were returned in the last 24hs",
  119.             "metricUnit": "ms",
  120.             "paasThresholds": [],
  121.             "historyClocks": [],
  122.             "historyValues": []
  123.         }, {
  124.             "metricName": "General OCCI API Result",
  125.             "metricKey": "Cloud_Providers.provider-RECAS-BARI..General OCCI API Result",
  126.             "metricValue": 0.0,
  127.             "metricTime": "Instant null because no metrics were returned in the last 24hs",
  128.             "metricUnit": "bit",
  129.             "paasThresholds": [],
  130.             "historyClocks": [],
  131.             "historyValues": []
  132.         }, {
  133.             "metricName": "OCCI Inspect VM availability",
  134.             "metricKey": "Cloud_Providers.provider-RECAS-BARI..OCCI Inspect VM availability",
  135.             "metricValue": 0.0,
  136.             "metricTime": "Instant null because no metrics were returned in the last 24hs",
  137.             "metricUnit": "bit",
  138.             "paasThresholds": [],
  139.             "historyClocks": [],
  140.             "historyValues": []
  141.         }, {
  142.             "metricName": "OCCI InspectVM Response Time",
  143.             "metricKey": "Cloud_Providers.provider-RECAS-BARI..OCCI InspectVM Response Time",
  144.             "metricValue": 40.0,
  145.             "metricTime": "Instant null because no metrics were returned in the last 24hs",
  146.             "metricUnit": "ms",
  147.             "paasThresholds": [],
  148.             "historyClocks": [],
  149.             "historyValues": []
  150.         }, {
  151.             "metricName": "OCCI InspectVM Result",
  152.             "metricKey": "Cloud_Providers.provider-RECAS-BARI..OCCI InspectVM Result",
  153.             "metricValue": 1.0,
  154.             "metricTime": "Instant null because no metrics were returned in the last 24hs",
  155.             "metricUnit": "bit",
  156.             "paasThresholds": [],
  157.             "historyClocks": [],
  158.             "historyValues": []
  159.         }]
  160.     }, {
  161.         "provider": "provider-UPV-GRyCAP",
  162.         "metrics": [{
  163.             "metricName": "OCCI Create VM availability",
  164.             "metricKey": "Cloud_Providers.provider-UPV-GRyCAP..OCCI Create VM availability",
  165.             "metricValue": 1.0,
  166.             "metricTime": "Instant null because no metrics were returned in the last 24hs",
  167.             "metricUnit": "bit",
  168.             "paasThresholds": [],
  169.             "historyClocks": [],
  170.             "historyValues": []
  171.         }, {
  172.             "metricName": "OCCI CreateVM Response Time",
  173.             "metricKey": "Cloud_Providers.provider-UPV-GRyCAP..OCCI CreateVM Response Time",
  174.             "metricValue": 155.0,
  175.             "metricTime": "Instant null because no metrics were returned in the last 24hs",
  176.             "metricUnit": "ms",
  177.             "paasThresholds": [],
  178.             "historyClocks": [],
  179.             "historyValues": []
  180.         }, {
  181.             "metricName": "OCCI CreateVM Result",
  182.             "metricKey": "Cloud_Providers.provider-UPV-GRyCAP..OCCI CreateVM Result",
  183.             "metricValue": 1.0,
  184.             "metricTime": "Instant null because no metrics were returned in the last 24hs",
  185.             "metricUnit": "bit",
  186.             "paasThresholds": [],
  187.             "historyClocks": [],
  188.             "historyValues": []
  189.         }, {
  190.             "metricName": "OCCI Delete VM Availability",
  191.             "metricKey": "Cloud_Providers.provider-UPV-GRyCAP..OCCI Delete VM Availability",
  192.             "metricValue": 1.0,
  193.             "metricTime": "Instant null because no metrics were returned in the last 24hs",
  194.             "metricUnit": "bit",
  195.             "paasThresholds": [],
  196.             "historyClocks": [],
  197.             "historyValues": []
  198.         }, {
  199.             "metricName": "OCCI DeleteVM Response Time",
  200.             "metricKey": "Cloud_Providers.provider-UPV-GRyCAP..OCCI DeleteVM Response Time",
  201.             "metricValue": 122.0,
  202.             "metricTime": "Instant null because no metrics were returned in the last 24hs",
  203.             "metricUnit": "ms",
  204.             "paasThresholds": [],
  205.             "historyClocks": [],
  206.             "historyValues": []
  207.         }, {
  208.             "metricName": "OCCI DeleteVM Result",
  209.             "metricKey": "Cloud_Providers.provider-UPV-GRyCAP..OCCI DeleteVM Result",
  210.             "metricValue": 1.0,
  211.             "metricTime": "Instant null because no metrics were returned in the last 24hs",
  212.             "metricUnit": "bit",
  213.             "paasThresholds": [],
  214.             "historyClocks": [],
  215.             "historyValues": []
  216.         }, {
  217.             "metricName": "General OCCI API Availability",
  218.             "metricKey": "Cloud_Providers.provider-UPV-GRyCAP..General OCCI API Availability",
  219.             "metricValue": 1.0,
  220.             "metricTime": "Instant null because no metrics were returned in the last 24hs",
  221.             "metricUnit": "bit",
  222.             "paasThresholds": [],
  223.             "historyClocks": [],
  224.             "historyValues": []
  225.         }, {
  226.             "metricName": "General OCCI API Response Time",
  227.             "metricKey": "Cloud_Providers.provider-UPV-GRyCAP..General OCCI API Response Time",
  228.             "metricValue": 100.0,
  229.             "metricTime": "Instant null because no metrics were returned in the last 24hs",
  230.             "metricUnit": "ms",
  231.             "paasThresholds": [],
  232.             "historyClocks": [],
  233.             "historyValues": []
  234.         }, {
  235.             "metricName": "General OCCI API Result",
  236.             "metricKey": "Cloud_Providers.provider-UPV-GRyCAP..General OCCI API Result",
  237.             "metricValue": 1.0,
  238.             "metricTime": "Instant null because no metrics were returned in the last 24hs",
  239.             "metricUnit": "bit",
  240.             "paasThresholds": [],
  241.             "historyClocks": [],
  242.             "historyValues": []
  243.         }, {
  244.             "metricName": "OCCI Inspect VM availability",
  245.             "metricKey": "Cloud_Providers.provider-UPV-GRyCAP..OCCI Inspect VM availability",
  246.             "metricValue": 1.0,
  247.             "metricTime": "Instant null because no metrics were returned in the last 24hs",
  248.             "metricUnit": "bit",
  249.             "paasThresholds": [],
  250.             "historyClocks": [],
  251.             "historyValues": []
  252.         }, {
  253.             "metricName": "OCCI InspectVM Response Time",
  254.             "metricKey": "Cloud_Providers.provider-UPV-GRyCAP..OCCI InspectVM Response Time",
  255.             "metricValue": 500.0,
  256.             "metricTime": "Instant null because no metrics were returned in the last 24hs",
  257.             "metricUnit": "ms",
  258.             "paasThresholds": [],
  259.             "historyClocks": [],
  260.             "historyValues": []
  261.         }, {
  262.             "metricName": "OCCI InspectVM Result",
  263.             "metricKey": "Cloud_Providers.provider-UPV-GRyCAP..OCCI InspectVM Result",
  264.             "metricValue": 1.0,
  265.             "metricTime": "Instant null because no metrics were returned in the last 24hs",
  266.             "metricUnit": "bit",
  267.             "paasThresholds": [],
  268.             "historyClocks": [],
  269.             "historyValues": []
  270.         }]
  271.     }]
  272. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement