Pivotal/Cloud Foundry/OpsManager

From r00tedvw.com wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "Cloud Foundry | Cloud Foundry CLI | Apps | Tasks | [[Piv...")

Revision as of 13:44, 16 August 2018

Cloud Foundry | Cloud Foundry CLI | Apps | Tasks | Logs | OpsManager

quick reference

query opsmanager api and print pretty json

~$ testjson=$(curl "https://opsmgr-15.haas-59.pez.pivotal.io/api/v0/stemcell_assignments" --insecure \
    -X GET \
    -H "Authorization: Bearer $access_token") | echo $testjson | python -m json.tool | more
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0{
    "products": [
        {
            "available_stemcell_versions": [
                "3468.51"
            ],
            "deployed_stemcell_version": "3468.51",
            "guid": "p-rabbitmq-49407616425a3f96dd5b",
            "identifier": "p-rabbitmq",
            "is_staged_for_deletion": false,
            "label": "RabbitMQ",
            "product_version": "1.12.7",
            "required_stemcell_os": "ubuntu-trusty",
            "required_stemcell_version": "3468.51",
            "staged_stemcell_version": "3468.51"
        },
        {
            "available_stemcell_versions": [
                "3541.37"
            ],
            "deployed_stemcell_version": "3541.37",
            "guid": "pivotal-mysql-f1cb955f294464dfaffd",
            "identifier": "pivotal-mysql",
            "is_staged_for_deletion": false,
            "label": "MySQL for Pivotal Cloud Foundry v2",
            "product_version": "2.3.1-build.11",
            "required_stemcell_os": "ubuntu-trusty",
            "required_stemcell_version": "3541.34",
            "staged_stemcell_version": "3541.37"
        },
        {
            "available_stemcell_versions": [
                "3541.37"
            ],
            "deployed_stemcell_version": "3541.37",
            "guid": "p-bosh-404ef12b578f0da0977e",
            "identifier": "p-bosh",
            "is_staged_for_deletion": false,
            "label": "BOSH Director",
            "product_version": "2.1-build.348",
            "required_stemcell_os": "ubuntu-trusty",
            "required_stemcell_version": "3541.37",
            "staged_stemcell_version": "3541.37"
        },
        {
            "available_stemcell_versions": [
                "3541.37"
            ],
            "deployed_stemcell_version": "3541.37",
            "guid": "cf-5a3f75999090a1afbfdb",
            "identifier": "cf",
            "is_staged_for_deletion": false,
            "label": "Pivotal Application Service",
            "product_version": "2.1.10",
            "required_stemcell_os": "ubuntu-trusty",
            "required_stemcell_version": "3541.36",
            "staged_stemcell_version": "3541.37"
        },
        {
            "available_stemcell_versions": [
                "3468.51"
            ],
            "deployed_stemcell_version": "3468.51",
            "guid": "p-spring-cloud-services-a033fcb589ee1a7435fa",
            "identifier": "p-spring-cloud-services",
            "is_staged_for_deletion": false,
            "label": "Spring Cloud Services",
            "product_version": "1.5.6",
            "required_stemcell_os": "ubuntu-trusty",
            "required_stemcell_version": "3468",
            "staged_stemcell_version": "3468.51"
        }
    ],
    "stemcell_library": [
        {
            "hypervisor": "esxi",
            "infrastructure": "vsphere",
            "light": false,
            "os": "ubuntu-trusty",
            "version": "3468.51"
        },
        {
            "hypervisor": "esxi",
            "infrastructure": "vsphere",
            "light": false,
            "os": "ubuntu-trusty",
            "version": "3541.37"
        }
    ]
}
100  2020    0  2020    0     0   1020      0 --:--:--  0:00:01 --:--:--  1020

Personal tools
Namespaces

Variants
Actions
Navigation
Mediawiki
Confluence
DevOps Tools
Open Source Products
Ubuntu
Ubuntu 22
Mac OSX
Oracle Linux
AWS
Windows
OpenVPN
Grafana
InfluxDB2
TrueNas
MagicMirror
OwnCloud
Pivotal
osTicket
OTRS
phpBB
WordPress
VmWare ESXI 5.1
Crypto currencies
HTML
CSS
Python
Java Script
PHP
Raspberry Pi
Canvas LMS
Kaltura Media Server
Plex Media Server
MetaSploit
Zoneminder
ShinobiCE
Photoshop CS2
Fortinet
Uploaded
Certifications
General Info
Games
Meal Plans
NC Statutes
Politics
Volkswagen
Covid
NCDMV
Toolbox