57433da267
Instead of contrail-config, contrail-control contrail-db roles there will be one role, called contrail-controller. Change-Id: I2c472c0b5107b127a8183024c2a1a29aa59deede Signed-off-by: Illia Polliul <ipolliul@mirantis.com>
31 lines
899 B
YAML
31 lines
899 B
YAML
volumes:
|
|
- id: "contrail-db"
|
|
type: "vg"
|
|
min_size:
|
|
generator: "calc_gb_to_mb"
|
|
generator_args: [256]
|
|
label: "Contrail Database"
|
|
volumes:
|
|
- mount: "/var/lib/contrail_db"
|
|
type: "lv"
|
|
name: "cassandra"
|
|
file_system: "ext4"
|
|
size:
|
|
generator: "calc_total_vg"
|
|
generator_args: ["contrail-db"]
|
|
volumes_roles_mapping:
|
|
contrail-controller:
|
|
- {allocate_size: "min", id: "os"}
|
|
- {allocate_size: "min", id: "contrail-db"}
|
|
contrail-analytics-db:
|
|
- {allocate_size: "min", id: "os"}
|
|
- {allocate_size: "all", id: "contrail-db"}
|
|
|
|
# NOTE(gomarivera): It might be needed to specify the partitions
|
|
# since the roles could be used in stand alone nodes.
|
|
# Furthermore, there is a lot of unallocated space left over.
|
|
|
|
contrail-analytics:
|
|
- {allocate_size: "min", id: "os"}
|
|
- {allocate_size: "all", id: "logs"}
|