openstack 3.3.5 → 3.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/openstack/compute/address.rb +4 -1
- 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: 65d048a9a5bd186c9c34af63106fc7acb97cdb8b
|
4
|
+
data.tar.gz: f2e50d2ebf417413e7fc00b2278cb1b4b1a56e6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b527e1c504082db4b3b2fce8c3e7753557913ea00ca6f0eed63314de2b39cf1ce0cd452688a96ce5e354588fc175a0d0f7f883bafac66c2f2b7857e2abb552be
|
7
|
+
data.tar.gz: 2ce19b05b5653196e22acb34706b47dceccd0ab5d3da3de36d2dfcdf0f71bc07247b65444d2664334822160945ddba922591634dedd4c47627aeb44625fd7634
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.3.
|
1
|
+
3.3.6
|
@@ -22,16 +22,19 @@ module Compute
|
|
22
22
|
|
23
23
|
attr_reader :address
|
24
24
|
attr_reader :label
|
25
|
+
attr_reader :mac
|
25
26
|
attr_reader :version
|
26
27
|
|
27
|
-
def initialize(label, address, version = 4)
|
28
|
+
def initialize(label, address, version = 4, mac = nil)
|
28
29
|
@label = label
|
29
30
|
if address.class == Hash then
|
30
31
|
@address = address["addr"]
|
31
32
|
@version = address["version"]
|
33
|
+
@mac = address["OS-EXT-IPS-MAC:mac_addr"]
|
32
34
|
else
|
33
35
|
@address = address
|
34
36
|
@version = version
|
37
|
+
@mac = mac
|
35
38
|
end
|
36
39
|
end
|
37
40
|
|