Skip to content

Upload System Definition

Andrew Magill edited this page Jul 11, 2016 · 11 revisions

#####Previous Step - Edit System Definition


######If you have not created a system definition JSON file, please do so now by following the steps listed in the previous step listed above.

Upload your system definition file. I will assume you file is called my-system.json, replace with your actual file name, if different.

$ systems-addupdate -v -F my-system.json

The output should look like this:

{
    "_links": {
        "credentials": {
            "href": "https://agave.iplantc.org/systems/v2/foobar-corral/credentials"
        },
        "metadata": {
            "href": "https://agave.iplantc.org/meta/v2/data/?q=%7B%22associationIds%22%3A%221701228229690453530-242ac117-0001-006%22%7D"
        },
        "owner": {
            "href": "https://agave.iplantc.org/profiles/v2/foobar"
        },
        "roles": {
            "href": "https://agave.iplantc.org/systems/v2/foobar-corral/roles"
        },
        "self": {
            "href": "https://agave.iplantc.org/systems/v2/foobar-corral"
        }
    },
    "available": true,
    "default": false,
    "description": "My storage system using SFTP to store data",
    "globalDefault": false,
    "id": "foobar-corral",
    "lastModified": "2016-07-11T09:01:04.725-05:00",
    "name": "Foobar's Corral Storage System",
    "owner": "foobar",
    "public": false,
    "revision": 1,
    "site": null,
    "status": "UP",
    "storage": {
        "auth": {
            "type": "PASSWORD"
        },
        "homeDir": "/home/foobar",
        "host": "corral.tacc.utexas.edu",
        "mirror": false,
        "port": 22,
        "protocol": "SFTP",
        "proxy": null,
        "publicAppsDir": null,
        "rootDir": "/"
    },
    "type": "STORAGE",
    "uuid": "1701228229690453530-242ac117-0001-006"
}

######If your authorization token has expired, please refer to Generate Agave API Authorization Token.


#####Next Step - Verify Registered System