Skip to content

Instantly share code, notes, and snippets.

@dizz
Created February 3, 2015 10:30
Show Gist options
  • Save dizz/e29aed437584a2455c80 to your computer and use it in GitHub Desktop.
Save dizz/e29aed437584a2455c80 to your computer and use it in GitHub Desktop.
SIG v3
[andy:~/Desktop]$ curl -v -X GET http://127.0.0.1:8888/demo-epc/54d0a1d8ac3c3079f80000d8 -H 'Content-type: text/occi' -H 'X-Auth-Token: '$KID -H 'X-Tenant-Name: '$TENANT
* Hostname was NOT found in DNS cache
* Trying 127.0.0.1...
* Connected to 127.0.0.1 (127.0.0.1) port 8888 (#0)
> GET /demo-epc/54d0a1d8ac3c3079f80000d8 HTTP/1.1
> User-Agent: curl/7.37.1
> Host: 127.0.0.1:8888
> Accept: */*
> Content-type: text/occi
> X-Auth-Token: 5bd4cefafa4c407f9b57767bfbbefbbf
> X-Tenant-Name: admin
>
* HTTP 1.0, assume close after body
< HTTP/1.0 200 OK
< Date: Tue, 03 Feb 2015 10:29:17 GMT
< Content-length: 2114
< Content-Type: text/plain
< Server: pyssf OCCI/1.1
<
Category: demo-epc; scheme="http://schemas.mobile-cloud-networking.eu/occi/sm#"; class="kind"; title="This is an example EPC service type"; rel="http://schemas.ogf.org/occi/core#resource"; location="http://127.0.0.1:8888/demo-epc/"; attributes="mcn.endpoint.pdn-gw{immutable} mcn.endpoint.srv-gw{immutable} mcn.endpoint.enodeb{immutable} mcn.endpoint.maas mcn.endpoint.mme{immutable} mcn.endpoint.hss{immutable}"
Link: </test-maas/54d0835dac3c30ad0700002f>; rel="http://schemas.ogf.org/occi/core#resource"; self="/link/6234ea42-fd6a-4bb3-a0b8-39da496541a8"; category="http://schemas.ogf.org/occi/core#link"; occi.core.source="/demo-epc/54d0a1d8ac3c3079f80000d8"; occi.core.target="/test-maas/54d0835dac3c30ad0700002f"; occi.core.id="/link/6234ea42-fd6a-4bb3-a0b8-39da496541a8"
Link: </test-dns/54d0836fac3c30ad07000043>; rel="http://schemas.ogf.org/occi/core#resource"; self="/link/77c523b1-d146-4cdf-9785-58ccb7c581ab"; category="http://schemas.ogf.org/occi/core#link"; occi.core.source="/demo-epc/54d0a1d8ac3c3079f80000d8"; occi.core.target="/test-dns/54d0836fac3c30ad07000043"; occi.core.id="/link/77c523b1-d146-4cdf-9785-58ccb7c581ab"
Link: </test-epc/54d08381ac3c30ad07000057>; rel="http://schemas.ogf.org/occi/core#resource"; self="/link/02987ee1-24e8-4853-886e-9ba2664bb182"; category="http://schemas.ogf.org/occi/core#link"; occi.core.source="/demo-epc/54d0a1d8ac3c3079f80000d8"; occi.core.target="/test-epc/54d08381ac3c30ad07000057"; occi.core.id="/link/02987ee1-24e8-4853-886e-9ba2664bb182"
X-OCCI-Attribute: mcn.service.state="provision"
X-OCCI-Attribute: mcn.endpoint.mme="10.0.0.1"
X-OCCI-Attribute: mcn.endpoint.pdn-gw="10.0.0.1"
X-OCCI-Attribute: occi.mcn.stack.state="CREATE_COMPLETE"
X-OCCI-Attribute: mcn.endpoint.srv-gw="10.0.0.1"
X-OCCI-Attribute: activate.string="immutable_init_value"
X-OCCI-Attribute: activate.float="0.11"
X-OCCI-Attribute: occi.mcn.stack.id="16e06cf6-2876-45b8-842f-cde4c3cd6c18"
X-OCCI-Attribute: activate.integer="1"
X-OCCI-Attribute: mcn.endpoint.enodeb="10.0.0.1"
X-OCCI-Attribute: occi.core.id="54d0a1d8ac3c3079f80000d8"
* Closing connection 0
X-OCCI-Attribute: mcn.endpoint.hss="10.0.0.1"%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment