summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/system/nova/compute/nfv
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2017-05-26 12:12:15 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2017-05-26 14:27:47 +0400
commitf85c84133c2f8d6aec3c707cfb92cb03db543bd6 (patch)
tree00ed2d88b364ad39366a8fa6f7f0a27d89d1a283 /mcp/reclass/classes/system/nova/compute/nfv
parent27d968bc35ef4f622acd171ada778a4e0f4c76fb (diff)
[mcp] Replace reclass system models with submodule
Change-Id: Id693f7b0f3542d605b0f71601f3bd21eb882c7ba Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/reclass/classes/system/nova/compute/nfv')
-rw-r--r--mcp/reclass/classes/system/nova/compute/nfv/cpu_pinning.yml8
-rw-r--r--mcp/reclass/classes/system/nova/compute/nfv/hugepages.yml18
-rw-r--r--mcp/reclass/classes/system/nova/compute/nfv/sriov.yml21
3 files changed, 0 insertions, 47 deletions
diff --git a/mcp/reclass/classes/system/nova/compute/nfv/cpu_pinning.yml b/mcp/reclass/classes/system/nova/compute/nfv/cpu_pinning.yml
deleted file mode 100644
index 3e97838cd..000000000
--- a/mcp/reclass/classes/system/nova/compute/nfv/cpu_pinning.yml
+++ /dev/null
@@ -1,8 +0,0 @@
-parameters:
- nova:
- compute:
- vcpu_pin_set: ${_param:nova_cpu_pinning}
- linux:
- system:
- kernel:
- isolcpu: ${_param:compute_kernel_isolcpu} \ No newline at end of file
diff --git a/mcp/reclass/classes/system/nova/compute/nfv/hugepages.yml b/mcp/reclass/classes/system/nova/compute/nfv/hugepages.yml
deleted file mode 100644
index 6778f9481..000000000
--- a/mcp/reclass/classes/system/nova/compute/nfv/hugepages.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-parameters:
- _param:
- compute_hugepages_size: 1G
- compute_hugepages_mount: /mnt/hugepages_1G
- linux:
- system:
- kernel:
- hugepages:
- large:
- default: true
- size: ${_param:compute_hugepages_size}
- count: ${_param:compute_hugepages_count}
- mount_point: ${_param:compute_hugepages_mount}
- nova:
- compute:
- hugepages:
- mount_points:
- - path: ${_param:compute_hugepages_mount} \ No newline at end of file
diff --git a/mcp/reclass/classes/system/nova/compute/nfv/sriov.yml b/mcp/reclass/classes/system/nova/compute/nfv/sriov.yml
deleted file mode 100644
index b93363c80..000000000
--- a/mcp/reclass/classes/system/nova/compute/nfv/sriov.yml
+++ /dev/null
@@ -1,21 +0,0 @@
-parameters:
- _param:
- sriov_nic01_physical_network: physnet1
- sriov_unsafe_interrupts: False
- nova:
- compute:
- sriov:
- sriov_nic01:
- devname: ${_param:sriov_nic01_device_name}
- physical_network: ${_param:sriov_nic01_physical_network}
- linux:
- system:
- kernel:
- sriov: True
- unsafe_interrupts: ${_param:sriov_unsafe_interrupts}
- rc:
- local: |
- #!/bin/sh -e
- # Enabling ${_param:sriov_nic01_numvfs} VFs on ${_param:sriov_nic01_device_name} PF
- echo ${_param:sriov_nic01_numvfs} > /sys/class/net/${_param:sriov_nic01_device_name}/device/sriov_numvfs; sleep 2; ip link set ${_param:sriov_nic01_device_name} up
- exit 0 \ No newline at end of file