1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Feature #4446: Show IPAM in onevnet

This commit is contained in:
Ruben S. Montero 2016-08-23 20:32:29 +02:00
parent 34628427ec
commit 1eb2628dc4
2 changed files with 2 additions and 1 deletions

View File

@ -254,6 +254,7 @@ class OneVNetHelper < OpenNebulaHelper::OneHelper
puts str % ["SIZE", ar["SIZE"]]
puts str % ["LEASES", ar["USED_LEASES"]]
puts str % ["VN_MAD", ar["VN_MAD"]] if ar["VN_MAD"]
puts str % ["IPAM_MAD", ar["IPAM_MAD"]] if ar["IPAM_MAD"]
puts
format = "%-10s %34s %34s"

View File

@ -105,7 +105,7 @@ HOST_ID=$RANDOM
let "HOST_ID %= $AR_SIZE"
cat << EOT
ADDRESS = [ IP=$BASE_IP.$HOST_ID, SIZE=$SIZE ]
ADDRESS = [ IP=$BASE_IP.$HOST_ID, SIZE=$ADDR_SIZE ]
EOT
exit 0