aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/VESreporting_vLB5.0/go-client.sh
blob: 116f890509d869e5b8252a580aa0f72293b894a7 (plain)
1
2
3
4
5
6
#!/bin/bash

export LD_LIBRARY_PATH="/opt/VES/evel/evel-library/libs/x86_64/"
DCAE_COLLECTOR_IP=$(cat /opt/config/dcae_collector_ip.txt)
DCAE_COLLECTOR_PORT=$(cat /opt/config/dcae_collector_port.txt)
./vpp_measurement_reporter $DCAE_COLLECTOR_IP $DCAE_COLLECTOR_PORT eth1
i { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
/v2/images:
  get:
    body: '{"images": [{"status": "active", "schema": "/v2/schemas/image",
      "virtual_size": null, "description": "", "tags": [], "container_format":
      "bare", "created_at": "2018-04-21T06:12:13Z", "disk_format": "raw",
      "updated_at": "2018-04-21T06:12:24Z", "visibility": "public", "id":
      "660709df-e90b-471f-ac57-d8c2555e573d", "owner": "b8f5d85bbcd84af28d7caa62d39f05c7",
      "protected": false, "min_ram": 0, "file": "/v2/images/660709df-e90b-471f-ac57-d8c2555e573d/file",
      "checksum": "683f86920d4c922cb5c55d99d646b895", "min_disk": 0, "size":
      1697597440, "self": "/v2/images/660709df-e90b-471f-ac57-d8c2555e573d", "store":
      "file", "name": "tis4-centos-guest"}], "first": "/v2/images", "schema":
      "/v2/schemas/images"}'
    content_type: application/json
    status_code: 200
/v2/schemas/image:
  get:
    body: '{"additionalProperties": {"type": "string"}, "name": "image",
      "links": [{"href": "{self}", "rel": "self"}, {"href": "{file}",
      "rel": "enclosure"}, {"href": "{schema}", "rel": "describedby"}],
      "properties": {"container_format": {"enum": [null, "ami", "ari", "aki",
      "bare", "ovf", "ova", "docker"], "type": ["null", "string"], "description":
      "Format of the container"}, "min_ram": {"type": "integer", "description":
      "Amount of ram (in MB) required to boot image."}, "ramdisk_id": {"pattern":
      "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",
      "type": ["null", "string"], "description": "ID of image stored in Glance
      that should be used as the ramdisk when booting an AMI-style image.", "is_base":
      false}, "locations": {"items": {"required": ["url", "metadata"], "type":
      "object", "properties": {"url": {"type": "string", "maxLength":
      255}, "metadata": {"type": "object"}}}, "type": "array", "description":
      "A set of URLs to access the image file kept in external store"}, "file":
      {"readOnly": true, "type": "string", "description": "An image file
      url"}, "owner": {"type": ["null", "string"], "description": "Owner
      of the image", "maxLength": 255}, "id": {"pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",
      "type": "string", "description": "An identifier for the image"}, "size":
      {"readOnly": true, "type": ["null", "integer"], "description": "Size
      of image file in bytes"}, "os_distro": {"type": "string", "description":
      "Common name of operating system distribution as specified in https://docs.openstack.org/python-glanceclient/latest/cli/property-keys.html",
      "is_base": false}, "self": {"readOnly": true, "type": "string", "description":
      "An image self url"}, "disk_format": {"enum": [null, "ami", "ari",
      "aki", "vhd", "vhdx", "vmdk", "raw", "qcow2", "vdi", "iso",
      "ploop"], "type": ["null", "string"], "description": "Format of the
      disk"}, "os_version": {"type": "string", "description": "Operating
      system version as specified by the distributor", "is_base": false}, "direct_url":
      {"readOnly": true, "type": "string", "description": "URL to access
      the image file kept in external store"}, "schema": {"readOnly": true, "type":
      "string", "description": "An image schema url"}, "status": {"readOnly":
      true, "enum": ["queued", "saving", "active", "killed", "deleted",
      "pending_delete", "deactivated"], "type": "string", "description":
      "Status of the image"}, "tags": {"items": {"type": "string", "maxLength":
      255}, "type": "array", "description": "List of strings related to the
      image"}, "kernel_id": {"pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",
      "type": ["null", "string"], "description": "ID of image stored in Glance
      that should be used as the kernel when booting an AMI-style image.", "is_base":
      false}, "visibility": {"enum": ["community", "public", "private",
      "shared"], "type": "string", "description": "Scope of image accessibility"},
      "updated_at": {"readOnly": true, "type": "string", "description":
      "Date and time of the last image modification"}, "min_disk": {"type":
      "integer", "description": "Amount of disk space (in GB) required to boot
      image."}, "virtual_size": {"readOnly": true, "type": ["null", "integer"],
      "description": "Virtual size of image in bytes"}, "instance_uuid": {"type":
      "string", "description": "Metadata which can be used to record which instance
      this image is associated with. (Informational only, does not create an instance
      snapshot.)", "is_base": false}, "name": {"type": ["null", "string"],
      "description": "Descriptive name for the image", "maxLength": 255}, "checksum":
      {"readOnly": true, "type": ["null", "string"], "description": "md5
      hash of image contents.", "maxLength": 32}, "created_at": {"readOnly":
      true, "type": "string", "description": "Date and time of image registration"},
      "protected": {"type": "boolean", "description": "If true, image will
      not be deletable."}, "architecture": {"type": "string", "description":
      "Operating system architecture as specified in https://docs.openstack.org/python-glanceclient/latest/cli/property-keys.html",
      "is_base": false}}}'
    content_type: application/json
    status_code: 200