Revision a3d2b515 docs/network-api-guide.rst

b/docs/network-api-guide.rst
112 112

  
113 113
.. code-block:: javascript
114 114

  
115
  GET https://example.com/network/v2.0/networks
115
  GET https://example.org/network/v2.0/networks
116 116

  
117 117

  
118 118
  {
......
126 126
        "user_id": None
127 127
        "links":[
128 128
          {
129
            "href": "https://example.com/network/v2.0/networks/2718"
129
            "href": "https://example.org/network/v2.0/networks/2718"
130 130
            "rel": "self"
131 131
          }, {
132
            "href": "https://example.com/network/v2.0/networks/2718"
132
            "href": "https://example.org/network/v2.0/networks/2718"
133 133
            "rel": "bookmark"
134 134
          }
135 135
        ]
136 136
        "created": "2013-12-17T17:15:48.617049+00:00"
137
        "tenant_i"d: None
137
        "tenant_id": None
138 138
        "admin_state_up": true
139
        "SNF:floating_ip_poo"l: false
140
        "publi"c: true
141
        "subnet"s:[
139
        "SNF:floating_ip_pool": false
140
        "public": true
141
        "subnets":[
142 142
          28
143 143
        ]
144 144
        "type": "IP_LESS_ROUTED",
......
152 152
        "user_id": "s0m3-u5e7-1d", 
153 153
        "links": [
154 154
          {
155
              "href": "https://example.com/network/v2.0/networks/3141", 
155
              "href": "https://example.org/network/v2.0/networks/3141", 
156 156
              "rel": "self"
157 157
          }, 
158 158
          {
159
              "href": "https://example.com/network/v2.0/networks/3141", 
159
              "href": "https://example.org/network/v2.0/networks/3141", 
160 160
              "rel": "bookmark"
161 161
          }
162 162
        ], 
......
213 213

  
214 214
.. code-block:: javascript
215 215

  
216
  GET https://example.com/network/v2.0/networks/3141
216
  GET https://example.org/network/v2.0/networks/3141
217 217

  
218 218

  
219 219
  {
......
226 226
      "user_id": "s0m3-u5e7-1d", 
227 227
      "links": [
228 228
        {
229
            "href": "https://example.com/network/v2.0/networks/3141", 
229
            "href": "https://example.org/network/v2.0/networks/3141", 
230 230
            "rel": "self"
231 231
        }, 
232 232
        {
233
            "href": "https://example.com/network/v2.0/networks/3141", 
233
            "href": "https://example.org/network/v2.0/networks/3141", 
234 234
            "rel": "bookmark"
235 235
        }
236 236
      ], 
......
436 436

  
437 437
.. code-block:: javascript
438 438

  
439
  GET https://example.com/network/v2.0/subnets
439
  GET https://example.org/network/v2.0/subnets
440 440

  
441 441
  {
442 442
    "subnets": [
......
536 536

  
537 537
.. code-block:: javascript
538 538

  
539
  GET https://example.com/network/v2.0/subnets/1413
539
  GET https://example.org/network/v2.0/subnets/1413
540 540

  
541 541

  
542 542
  {
......
734 734

  
735 735
.. code-block:: javascript
736 736

  
737
  GET https://example.com/network/v2.0/ports
737
  GET https://example.org/network/v2.0/ports
738 738

  
739 739
  {
740 740
    "ports": [
......
745 745
        "name": "Port to public network",
746 746
        "links": [
747 747
            {
748
                "href": "https://example.com/network/v2.0/ports/18", 
748
                "href": "https://example.org/network/v2.0/ports/18", 
749 749
                "rel": "self"
750 750
            }, 
751 751
            {
752
                "href": "https://example.com/network/v2.0/ports/18", 
752
                "href": "https://example.org/network/v2.0/ports/18", 
753 753
                "rel": "bookmark"
754 754
            }
755 755
        ], 
......
775 775
        "name": "Port to public network",
776 776
        "links": [
777 777
            {
778
                "href": "https://example.com/network/v2.0/ports/19", 
778
                "href": "https://example.org/network/v2.0/ports/19", 
779 779
                "rel": "self"
780 780
            }, 
781 781
            {
782
                "href": "https://example.com/network/v2.0/ports/19", 
782
                "href": "https://example.org/network/v2.0/ports/19", 
783 783
                "rel": "bookmark"
784 784
            }
785 785
        ], 
......
844 844

  
845 845
.. code-block:: javascript
846 846

  
847
  GET https://example.com/network/v2.0/ports/18
847
  GET https://example.org/network/v2.0/ports/18
848 848

  
849 849

  
850 850
  {
......
855 855
      "name": "Port to public network",
856 856
      "links": [
857 857
        {
858
            "href": "https://example.com/network/v2.0/ports/18", 
858
            "href": "https://example.org/network/v2.0/ports/18", 
859 859
            "rel": "self"
860 860
        }, 
861 861
        {
862
            "href": "https://example.com/network/v2.0/ports/18", 
862
            "href": "https://example.org/network/v2.0/ports/18", 
863 863
            "rel": "bookmark"
864 864
        }
865 865
      ], 
......
1088 1088

  
1089 1089
.. code-block:: javascript
1090 1090

  
1091
  GET https://example.com/network/v2.0/floatingips
1091
  GET https://example.org/network/v2.0/floatingips
1092 1092

  
1093 1093
  {
1094 1094
    "floatingips": [
......
1104 1104
        "floating_network_id": 4178
1105 1105
        "fixed_ip_address": None
1106 1106
        "floating_ip_address": 192.168.1.3
1107
        "port_i"d: 38
1107
        "port_id": 38
1108 1108
      }
1109 1109
    ]
1110 1110
  }
......
1150 1150

  
1151 1151
.. code-block:: javascript
1152 1152

  
1153
  GET https://example.com/network/v2.0/floatingips/19
1153
  GET https://example.org/network/v2.0/floatingips/19
1154 1154

  
1155 1155

  
1156 1156
  {

Also available in: Unified diff