ConnectionsList - Flexible InterConnect API リファレンス (2.0.0)
Download OpenAPI specification:Download
本APIでは、Flexible InterConnectが提供するリソースの参照・操作が可能です。
指定したFIC-Port/FIC-Port(XaaS)/FIC-Router/FIC-Router(XaaS)に紐づくコネクション情報の参照操作に関するAPIドキュメントです。
List Connections to Port
指定したFIC-Port/FIC-Port(XaaS)に紐づくすべてのコネクション情報の一覧と、割り当て済み帯域の合計値を取得します。
Query ParametersのsrcPortIdとdstPortIdは同時指定はできません。
path Parameters
| id required | string ^F[0-9]{12}$ Example: F010123456789 対象ポートID |
query Parameters
| portId | string ^F[0-9]{12}$ Example: portId=F010123456789 ポートID portId、portName、srcPortId、dstPortIdのいずれか必須 |
| portName | string [ 1 .. 64 ] characters Example: portName=YourConnectionName ポート名 半角英数及び一部記号&()-_ 64文字 portId、portName、srcPortId、dstPortIdのいずれか必須 |
| srcPortId | string ^F[0-9]{12}$ Example: srcPortId=F010123456789 接続元ポートID portId、portName、srcPortId、dstPortIdのいずれか必須 |
| dstPortId | string ^F[0-9]{12}$ Example: dstPortId=F019876543210 接続先ポートID portId、portName、srcPortId、dstPortIdのいずれか必須 |
| toPublicService | boolean Example: toPublicService=true XaaS接続フラグ 各ConnectionのtoPublicSevice 該当Connectionのdestinationがportの場合のみ当属性あり。 |
header Parameters
| Content-Type required | string Value: "application/json" |
| X-Auth-Token required | string ^[0-9a-f]{32}$ Example: dc03494823a841338430052e9ee95e07 クライアントが Keystone を利用して取得した認証 Token |
Responses
OK 成功しました
Bad Request リクエストが不正
Unauthorized 認証エラー
Not Found 未検出エラー
Conflict 競合エラー
Response samples
- 200
{- "connections": [
- {
- "id": "F030123456789",
- "name": "YourConnectionName",
- "bandwidth": "100M",
- "source": {
- "primary": {
- "tenantId": "db8b0e40743f460685040c46167cf19e",
- "portId": "F010123456789",
- "vlan": 113
}
}, - "destination": {
- "publicServiceKey": null,
- "publicServiceId": null,
- "publicServiceName": null,
- "primary": {
- "tenantId": "aaaaae40743f460685040c46167cf19e",
- "portId": "F019876543210",
- "vlan": 114
}
}, - "toPublicService": true
}
], - "allocatedBandwidth": "200M"
}List Connections to Router
指定したFIC-Router/FIC-Router(XaaS)に紐づくすべてのコネクション情報の一覧と、割り当て済み帯域の合計値を取得します。
path Parameters
| id required | string ^F[0-9]{12}$ Example: F020123456789 対象ルーターID |
query Parameters
| routerId | string ^F[0-9]{12}$ Example: routerId=F030123456789 ルーターID routerId、routerNameのどちらか必須 |
| routerName | string [ 1 .. 64 ] characters Example: routerName=YourConnectionName ルーター名 半角英数及び一部記号&()-_ 64文字 routerId、routerNameのどちらか必須 |
header Parameters
| Content-Type required | string Value: "application/json" |
| X-Auth-Token required | string ^[0-9a-f]{32}$ Example: dc03494823a841338430052e9ee95e07 クライアントが Keystone を利用して取得した認証 Token |
Responses
OK 成功しました
Bad Request リクエストが不正
Unauthorized 認証エラー
Not Found 未検出エラー
Conflict 競合エラー
Response samples
- 200
{- "connections": [
- {
- "id": "F030123456789",
- "name": "YourConnectionName",
- "bandwidth": "100M",
- "source": {
- "tenantId": "db8b0e40743f460685040c46167cf19e",
- "routerId": "F020123456789",
- "groupName": "group_1",
- "routeFilter": {
- "in": "noRoute"
}
}
}, - {
- "id": "F039876543210",
- "name": "YourConnectionName",
- "bandwidth": "100M",
- "source": {
- "tenantId": "db8b0e40743f460685040c46167cf19e",
- "routerId": "F020123456789",
- "groupName": "group_1",
- "routeFilter": {
- "in": "fullRoute"
}
}
}
], - "allocatedBandwidth": "200M"
}