Add lvm backend for cinder-volume
Add purge_repos: true to overrides.yaml
Change disk name for lvm
Change-Id: I75a144829d00fa06169c4e4315b2dc9bec796799
diff --git "a/\173\043 interfaces \043\175/bond2_contrail_dpdk_prv" "b/\173\043 interfaces \043\175/bond2_contrail_dpdk_prv"
new file mode 100644
index 0000000..a886064
--- /dev/null
+++ "b/\173\043 interfaces \043\175/bond2_contrail_dpdk_prv"
@@ -0,0 +1,9 @@
+{#- DPDK interface params for vrouter #}
+{#- Requires: #}
+{#- _param:compute_vrouter_dpdk_mac_address #}
+{#- _param:compute_vrouter_dpdk_pci #}
+ # {{ interfaces_role }}
+ {%- for interface_name, interface in interfaces.items() %}
+{{- set_param('compute_vrouter_dpdk_pci', interface['dpdk_pci']) }}
+{{- set_param('compute_vrouter_dpdk_mac_address', interface['dpdk_mac']) }}
+ {%- endfor %}
diff --git "a/\173\043 roles \043\175/features_lvm_backend" "b/\173\043 roles \043\175/features_lvm_backend"
new file mode 100644
index 0000000..61dedbe
--- /dev/null
+++ "b/\173\043 roles \043\175/features_lvm_backend"
@@ -0,0 +1,9 @@
+{#-
+parameters:
+ reclass:
+ storage:
+ node:
+ <reclass_storage_node_name>:
+ classes:
+#}
+ - environment.{{ cookiecutter._env_name }}.features.lvm_backend
diff --git "a/\173\173 cookiecutter._env_name \175\175/features/lvm_backend/init.yml" "b/\173\173 cookiecutter._env_name \175\175/features/lvm_backend/init.yml"
new file mode 100644
index 0000000..9d4208c
--- /dev/null
+++ "b/\173\173 cookiecutter._env_name \175\175/features/lvm_backend/init.yml"
@@ -0,0 +1,31 @@
+#parameters:
+# linux:
+# storage:
+# lvm:
+# cinder-volumes:
+# enabled: true
+# devices:
+# - /dev/vdb
+
+classes:
+- system.cinder.volume.single
+- system.cinder.volume.notification.messagingv2
+
+parameters:
+ _param:
+ cinder_lvm_devices: [ "/dev/sdb" ]
+ linux:
+ storage:
+ lvm:
+ cinder-vg:
+ enabled: true
+ name: cinder-volumes
+ devices: ${_param:cinder_lvm_devices}
+ cinder:
+ volume:
+ default_volume_type: lvm-driver
+ backend:
+ lvm-driver:
+ engine: lvm
+ type_name: lvm-driver
+ volume_group: cinder-volumes
diff --git "a/\173\173 cookiecutter._env_name \175\175/overrides.yml" "b/\173\173 cookiecutter._env_name \175\175/overrides.yml"
index ca9d34a..7fac712 100644
--- "a/\173\173 cookiecutter._env_name \175\175/overrides.yml"
+++ "b/\173\173 cookiecutter._env_name \175\175/overrides.yml"
@@ -19,6 +19,7 @@
user:
root:
password: $6$oV7iKxfx$7DOZUfLw30d/W.pzUf97F0z1JhxgNmFAiKT1HhIodjkWb0M/.dTYAc3uxDCScR3lvCALjRe4/xWtiDyywf8wi1
+ purge_repos: true
salt:
minion:
log: