Child pages
  • JSON vs YAML
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

JSON
{
  "sitecatalog": {
    "version": "4.0",
    "site": [
      {
        "handle": "local",
        "arch": "x86_64",
        "os": "LINUX",
        "directory": [
          {
            "type": "shared-scratch",
            "path": "/tmp/workflows/scratch",
            "file-server": {
              "operation": "all",
              "url": "file:///tmp/workflows/scratch"
            }
          },
          {
            "type": "local-storage",
            "path": "/tmp/workflows/outputs",
            "file-server": {
              "operation": "all",
              "url": "file:///tmp/workflows/outputs"
            }
          }
        ]
      },
      {
        "handle": "condor_pool",
        "arch": "x86_64",
        "os": "LINUX",
        "grid": [
          {
            "type": "gt5",
            "contact": "smarty.isi.edu/jobmanager-pbs",
            "scheduler": "PBS",
            "jobtype": "auxillary"
          },
          {
            "type": "gt5",
            "contact": "smarty.isi.edu/jobmanager-pbs",
            "scheduler": "PBS",
            "jobtype": "compute"
          }
        ],
        "directory": {
          "type": "shared-scratch",
          "path": "/lustre",
          "file-server": {
            "operation": "all",
            "url": "gsiftp://smarty.isi.edu/lustre"
          }
        },
        "replica-catalog": {
          "type": "LRC",
          "url": "rlsn://smarty.isi.edu"
        }
      },
      {
        "handle": "staging_site",
        "arch": "x86_64",
        "os": "LINUX",
        "directory": {
          "type": "shared-scratch",
          "path": "/data",
          "file-server": [
            {
              "operation": "put",
              "url": "scp://obelix.isi.edu/data"
            },
            {
              "operation": "get",
              "url": "http://obelix.isi.edu/data"
            }
          ]
        }
      }
    ]
  }
}
YAML
sitecatalog:
  version: '4.0'
  site:
  - handle: local
    arch: x86_64
    os: LINUX
    directory:
    - type: shared-scratch
      path: "/tmp/workflows/scratch"
      file-server:
        operation: all
        url: file:///tmp/workflows/scratch
    - type: local-storage
      path: "/tmp/workflows/outputs"
      file-server:
        operation: all
        url: file:///tmp/workflows/outputs
  - handle: condor_pool
    arch: x86_64
    os: LINUX
    grid:
    - type: gt5
      contact: smarty.isi.edu/jobmanager-pbs
      scheduler: PBS
      jobtype: auxillary
    - type: gt5
      contact: smarty.isi.edu/jobmanager-pbs
      scheduler: PBS
      jobtype: compute
    directory:
      type: shared-scratch
      path: "/lustre"
      file-server:
        operation: all
        url: gsiftp://smarty.isi.edu/lustre
    replica-catalog:
      type: LRC
      url: rlsn://smarty.isi.edu
  - handle: staging_site
    arch: x86_64
    os: LINUX
    directory:
      type: shared-scratch
      path: "/data"
      file-server:
      - operation: put
        url: scp://obelix.isi.edu/data
      - operation: get
        url: http://obelix.isi.edu/data




  • No labels