-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add microversion to expose virtual device tags
This change adds a new microversion to expose virtual device tags for volumes and ports attached to a server. Implements blueprint expose-virtual-device-tags-in-rest-api Change-Id: I09420ff7134874dfe4dc399931c7740e81ecc2d0
- Loading branch information
Showing
32 changed files
with
459 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
doc/api_samples/os-attach-interfaces/v2.70/attach-interfaces-create-net_id-req.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"interfaceAttachment": { | ||
"fixed_ips": [ | ||
{ | ||
"ip_address": "192.168.1.3" | ||
} | ||
], | ||
"net_id": "3cb9bc59-5699-4588-a4b1-b87f96708bc6", | ||
"tag": "public" | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
doc/api_samples/os-attach-interfaces/v2.70/attach-interfaces-create-req.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"interfaceAttachment": { | ||
"port_id": "ce531f90-199f-48c0-816c-13e38010b442", | ||
"tag": "public" | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
doc/api_samples/os-attach-interfaces/v2.70/attach-interfaces-create-resp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"interfaceAttachment": { | ||
"fixed_ips": [ | ||
{ | ||
"ip_address": "192.168.1.3", | ||
"subnet_id": "f8a6e8f8-c2ec-497c-9f23-da9616de54ef" | ||
} | ||
], | ||
"mac_addr": "fa:16:3e:4c:2c:30", | ||
"net_id": "3cb9bc59-5699-4588-a4b1-b87f96708bc6", | ||
"port_id": "ce531f90-199f-48c0-816c-13e38010b442", | ||
"port_state": "ACTIVE", | ||
"tag": "public" | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
doc/api_samples/os-attach-interfaces/v2.70/attach-interfaces-list-resp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"interfaceAttachments": [ | ||
{ | ||
"fixed_ips": [ | ||
{ | ||
"ip_address": "192.168.1.3", | ||
"subnet_id": "f8a6e8f8-c2ec-497c-9f23-da9616de54ef" | ||
} | ||
], | ||
"mac_addr": "fa:16:3e:4c:2c:30", | ||
"net_id": "3cb9bc59-5699-4588-a4b1-b87f96708bc6", | ||
"port_id": "ce531f90-199f-48c0-816c-13e38010b442", | ||
"port_state": "ACTIVE", | ||
"tag": "public" | ||
} | ||
] | ||
} |
15 changes: 15 additions & 0 deletions
15
doc/api_samples/os-attach-interfaces/v2.70/attach-interfaces-show-resp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"interfaceAttachment": { | ||
"fixed_ips": [ | ||
{ | ||
"ip_address": "192.168.1.3", | ||
"subnet_id": "f8a6e8f8-c2ec-497c-9f23-da9616de54ef" | ||
} | ||
], | ||
"mac_addr": "fa:16:3e:4c:2c:30", | ||
"net_id": "3cb9bc59-5699-4588-a4b1-b87f96708bc6", | ||
"port_id": "ce531f90-199f-48c0-816c-13e38010b442", | ||
"port_state": "ACTIVE", | ||
"tag": "public" | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
doc/api_samples/os-volumes/v2.70/attach-volume-to-server-req.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"volumeAttachment": { | ||
"volumeId": "a26887c6-c47b-4654-abb5-dfadf7d3f803", | ||
"tag": "foo" | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
doc/api_samples/os-volumes/v2.70/attach-volume-to-server-resp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"volumeAttachment": { | ||
"device": "/dev/vdd", | ||
"id": "a26887c6-c47b-4654-abb5-dfadf7d3f803", | ||
"serverId": "521b9e49-4855-4a9a-8474-759a86c1b12d", | ||
"tag": "foo", | ||
"volumeId": "a26887c6-c47b-4654-abb5-dfadf7d3f803" | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
doc/api_samples/os-volumes/v2.70/list-volume-attachments-resp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"volumeAttachments": [ | ||
{ | ||
"device": "/dev/sdd", | ||
"id": "a26887c6-c47b-4654-abb5-dfadf7d3f803", | ||
"serverId": "fb6077e6-c10d-4e81-87fa-cb0f8c103051", | ||
"tag": "foo", | ||
"volumeId": "a26887c6-c47b-4654-abb5-dfadf7d3f803" | ||
}, | ||
{ | ||
"device": "/dev/sdc", | ||
"id": "a26887c6-c47b-4654-abb5-dfadf7d3f804", | ||
"serverId": "fb6077e6-c10d-4e81-87fa-cb0f8c103051", | ||
"tag": null, | ||
"volumeId": "a26887c6-c47b-4654-abb5-dfadf7d3f804" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"volumeAttachment": { | ||
"volumeId": "a26887c6-c47b-4654-abb5-dfadf7d3f805" | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
doc/api_samples/os-volumes/v2.70/volume-attachment-detail-resp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"volumeAttachment": { | ||
"device": "/dev/sdd", | ||
"id": "a26887c6-c47b-4654-abb5-dfadf7d3f803", | ||
"serverId": "a26887c6-c47b-4654-abb5-dfadf7d3f803", | ||
"tag": "foo", | ||
"volumeId": "a26887c6-c47b-4654-abb5-dfadf7d3f803" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.