openstack 3.1.0 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/openstack/compute/server.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f864493d851c849bb709231ab61e47e2923dfd5b
|
4
|
+
data.tar.gz: 2e754b1dc07e46a9194861d231db48b7e2b3add6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02dcde3c9f8c56e4027162917c260faa5d0a2286b894724157d9ba586391dd70eae4ab2004de92143b8ad7b8476fc38078b17f9f3c7db8df97bc189bef832cb3
|
7
|
+
data.tar.gz: bd6b76291d03319bc21d3ff5a3673423d548c189bddcabd0b0660e020a36052abc93cb4fd3ad65b5d915785729c5b84416a26a165637a0ee99298287b3e8f779
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.1.
|
1
|
+
3.1.1
|
@@ -361,9 +361,9 @@ module Compute
|
|
361
361
|
|
362
362
|
# Returns all details about the interface on this server.
|
363
363
|
#
|
364
|
-
# >> server.
|
364
|
+
# >> server.interface_details
|
365
365
|
# => array
|
366
|
-
def
|
366
|
+
def interface_details(id)
|
367
367
|
response = @compute.connection.csreq("GET",@svrmgmthost,"#{@svrmgmtpath}/servers/#{URI.encode(self.id.to_s)}/os-interface/#{id}",@svrmgmtport,@svrmgmtscheme,{'content-type' => 'application/json'})
|
368
368
|
OpenStack::Exception.raise_exception(response) unless response.code.match(/^20.$/)
|
369
369
|
JSON::parse(response.body)["interfaceAttachment"]
|