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:
parent
34628427ec
commit
1eb2628dc4
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user