2019-05-05 19:23:45 +02:00
|
|
|
# URL of the API
|
|
|
|
URL="https://ipam.example.conf/api/${USER_IPAM}"
|
|
|
|
|
2019-09-09 14:28:22 +02:00
|
|
|
# Bridge used by VMs
|
2019-05-05 19:23:45 +02:00
|
|
|
VM_BRIDGE_DEV="vmbr99"
|
2019-09-09 14:28:22 +02:00
|
|
|
|
|
|
|
# IPv6 gateway for the VM
|
2019-05-05 19:23:45 +02:00
|
|
|
IPV6_GATEWAY="fe80::123:123:123:123"
|
|
|
|
|
2019-09-09 14:28:22 +02:00
|
|
|
# If multiple DNS nameservers, seperate each of them vy a space
|
|
|
|
DNS_NAMESERVERS_IPV4='1.2.3.4 2.3.4.5'
|
|
|
|
DNS_NAMESERVERS_IPV6='1111:2222::3333 2222:3333::4444'
|
|
|
|
|
|
|
|
# ID of the ranges, you can put multiple ranges per AFI, these values will be use to check if the new VM_ID is already registered or not in IPAM
|
2019-05-05 19:23:45 +02:00
|
|
|
ID_RANGES_V4='123 234'
|
|
|
|
ID_RANGES_V6='345'
|
|
|
|
|
|
|
|
# Only one value in next params
|
|
|
|
ID_RANGE_V4_TO_CREATE_VM='123'
|
|
|
|
ID_RANGE_V6_TO_CREATE_VM='345'
|
|
|
|
|
2019-09-09 14:28:22 +02:00
|
|
|
# Set the limit for possible disk size (Giga)
|
2019-05-05 19:23:45 +02:00
|
|
|
VM_DISK_MIN=32
|
|
|
|
VM_DISK_MAX=64
|
|
|
|
|
2019-09-09 14:28:22 +02:00
|
|
|
# Set the limit for possible vCPU number
|
2019-05-05 19:23:45 +02:00
|
|
|
VM_CPU_MIN=1
|
|
|
|
VM_CPU_MAX=4
|
|
|
|
|
2019-09-09 14:28:22 +02:00
|
|
|
# Set the limit for possible RAM size (Mega)
|
2019-05-05 19:23:45 +02:00
|
|
|
VM_RAM_MIN=512
|
|
|
|
VM_RAM_MAX=2048
|