Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(QENG-7134) Individualize cisco IOS platforms #153

Merged
merged 1 commit into from
May 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 59 additions & 4 deletions lib/beaker-hostgenerator/data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -252,26 +252,81 @@ def osinfo
'template' => 'cisco-nxos_hw-9k-x86_64'
}
},
'ciscoios-32' => {
'ciscoiosc2960-ARM32' => {
:general => {
'platform' => 'cisco_ios-12-arm32',
'ssh' => {
'user' => 'admin'
}
},
:abs => {
'template' => 'cisco-ios-12-arm'
'template' => 'cisco-iosc2960-arm'
}
},
'ciscoiosxe-32' => {
'ciscoiosc3750-ARM32' => {
:general => {
'platform' => 'cisco_ios-12-arm32',
'ssh' => {
'user' => 'admin'
}
},
:abs => {
'template' => 'cisco-iosc3750-arm'
}
},
'ciscoiosc4507r-ARM32' => {
:general => {
'platform' => 'cisco_ios-12-arm32',
'ssh' => {
'user' => 'admin'
}
},
:abs => {
'template' => 'cisco-iosc4507r-arm'
}
},
'ciscoiosc4948-ARM32' => {
:general => {
'platform' => 'cisco_ios-12-arm32',
'ssh' => {
'user' => 'admin'
}
},
:abs => {
'template' => 'cisco-iosc4948-arm'
}
},
'ciscoiosc6503-ARM32' => {
:general => {
'platform' => 'cisco_ios-12-arm32',
'ssh' => {
'user' => 'admin'
}
},
:abs => {
'template' => 'cisco-iosc6503-arm'
}
},
'ciscoiosxec3605-ARM32' => {
:general => {
'platform' => 'cisco_iosxec3605-arm32',
'ssh' => {
'user' => 'admin'
}
},
:abs => {
'template' => 'cisco-iosxec3605-arm'
}
},
'ciscoiosxec4503-ARM32' => {
:general => {
'platform' => 'cisco_iosxe-3-arm32',
'ssh' => {
'user' => 'admin'
}
},
:abs => {
'template' => 'cisco-iosxe-3-arm'
'template' => 'cisco-iosxec4503-arm'
}
},
'ciscoxr-64' => {
Expand Down
22 changes: 22 additions & 0 deletions test/fixtures/generated/default/ciscoiosc2960-ARM32u
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
arguments_string: ciscoiosc2960-ARM32u
environment_variables: {}
expected_hash:
HOSTS:
ciscoiosc2960-ARM32-1:
pe_dir:
pe_ver:
pe_upgrade_dir:
pe_upgrade_ver:
platform: cisco_ios-12-arm32
ssh:
user: admin
hypervisor: vmpooler
roles:
- agent
- ca
CONFIG:
nfs_server: none
consoleport: 443
pooling_api: http://vmpooler.delivery.puppetlabs.net/
expected_exception:
22 changes: 22 additions & 0 deletions test/fixtures/generated/default/ciscoiosc3750-ARM32l
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
arguments_string: ciscoiosc3750-ARM32l
environment_variables: {}
expected_hash:
HOSTS:
ciscoiosc3750-ARM32-1:
pe_dir:
pe_ver:
pe_upgrade_dir:
pe_upgrade_ver:
platform: cisco_ios-12-arm32
ssh:
user: admin
hypervisor: vmpooler
roles:
- agent
- classifier
CONFIG:
nfs_server: none
consoleport: 443
pooling_api: http://vmpooler.delivery.puppetlabs.net/
expected_exception:
22 changes: 22 additions & 0 deletions test/fixtures/generated/default/ciscoiosc4507r-ARM32c
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
arguments_string: ciscoiosc4507r-ARM32c
environment_variables: {}
expected_hash:
HOSTS:
ciscoiosc4507r-ARM32-1:
pe_dir:
pe_ver:
pe_upgrade_dir:
pe_upgrade_ver:
platform: cisco_ios-12-arm32
ssh:
user: admin
hypervisor: vmpooler
roles:
- agent
- dashboard
CONFIG:
nfs_server: none
consoleport: 443
pooling_api: http://vmpooler.delivery.puppetlabs.net/
expected_exception:
22 changes: 22 additions & 0 deletions test/fixtures/generated/default/ciscoiosc4948-ARM32d
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
arguments_string: ciscoiosc4948-ARM32d
environment_variables: {}
expected_hash:
HOSTS:
ciscoiosc4948-ARM32-1:
pe_dir:
pe_ver:
pe_upgrade_dir:
pe_upgrade_ver:
platform: cisco_ios-12-arm32
ssh:
user: admin
hypervisor: vmpooler
roles:
- agent
- database
CONFIG:
nfs_server: none
consoleport: 443
pooling_api: http://vmpooler.delivery.puppetlabs.net/
expected_exception:
22 changes: 22 additions & 0 deletions test/fixtures/generated/default/ciscoiosc6503-ARM32f
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
arguments_string: ciscoiosc6503-ARM32f
environment_variables: {}
expected_hash:
HOSTS:
ciscoiosc6503-ARM32-1:
pe_dir:
pe_ver:
pe_upgrade_dir:
pe_upgrade_ver:
platform: cisco_ios-12-arm32
ssh:
user: admin
hypervisor: vmpooler
roles:
- agent
- frictionless
CONFIG:
nfs_server: none
consoleport: 443
pooling_api: http://vmpooler.delivery.puppetlabs.net/
expected_exception:
22 changes: 22 additions & 0 deletions test/fixtures/generated/default/ciscoiosxec3605-ARM32m
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
arguments_string: ciscoiosxec3605-ARM32m
environment_variables: {}
expected_hash:
HOSTS:
ciscoiosxec3605-ARM32-1:
pe_dir:
pe_ver:
pe_upgrade_dir:
pe_upgrade_ver:
platform: cisco_iosxec3605-arm32
ssh:
user: admin
hypervisor: vmpooler
roles:
- agent
- master
CONFIG:
nfs_server: none
consoleport: 443
pooling_api: http://vmpooler.delivery.puppetlabs.net/
expected_exception:
27 changes: 27 additions & 0 deletions test/fixtures/generated/default/ciscoiosxec4503-ARM32aulcdfm
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
arguments_string: ciscoiosxec4503-ARM32aulcdfm
environment_variables: {}
expected_hash:
HOSTS:
ciscoiosxec4503-ARM32-1:
pe_dir:
pe_ver:
pe_upgrade_dir:
pe_upgrade_ver:
platform: cisco_iosxe-3-arm32
ssh:
user: admin
hypervisor: vmpooler
roles:
- agent
- ca
- classifier
- dashboard
- database
- frictionless
- master
CONFIG:
nfs_server: none
consoleport: 443
pooling_api: http://vmpooler.delivery.puppetlabs.net/
expected_exception:
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
arguments_string: ciscoiosc2960-ARM32u-windows2012r2_core-6432-ciscoiosc2960-ARM32m
environment_variables: {}
expected_hash:
HOSTS:
ciscoiosc2960-ARM32-1:
pe_dir:
pe_ver:
pe_upgrade_dir:
pe_upgrade_ver:
platform: cisco_ios-12-arm32
ssh:
user: admin
hypervisor: vmpooler
roles:
- agent
- ca
windows2012r2_core-6432-1:
pe_dir:
pe_ver:
pe_upgrade_dir:
pe_upgrade_ver:
platform: windows-2012r2-64
packaging_platform: windows-2012-x64
ruby_arch: x86
template: win-2012r2-core-x86_64
hypervisor: vmpooler
roles:
- agent
ciscoiosc2960-ARM32-2:
pe_dir:
pe_ver:
pe_upgrade_dir:
pe_upgrade_ver:
platform: cisco_ios-12-arm32
ssh:
user: admin
hypervisor: vmpooler
roles:
- agent
- master
CONFIG:
nfs_server: none
consoleport: 443
pooling_api: http://vmpooler.delivery.puppetlabs.net/
expected_exception:
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
arguments_string: ciscoiosc3750-ARM32l-windows2012r2_core-64-ciscoiosc3750-ARM32f
environment_variables: {}
expected_hash:
HOSTS:
ciscoiosc3750-ARM32-1:
pe_dir:
pe_ver:
pe_upgrade_dir:
pe_upgrade_ver:
platform: cisco_ios-12-arm32
ssh:
user: admin
hypervisor: vmpooler
roles:
- agent
- classifier
windows2012r2_core-64-1:
pe_dir:
pe_ver:
pe_upgrade_dir:
pe_upgrade_ver:
platform: windows-2012r2-64
packaging_platform: windows-2012-x64
ruby_arch: x64
template: win-2012r2-core-x86_64
hypervisor: vmpooler
roles:
- agent
ciscoiosc3750-ARM32-2:
pe_dir:
pe_ver:
pe_upgrade_dir:
pe_upgrade_ver:
platform: cisco_ios-12-arm32
ssh:
user: admin
hypervisor: vmpooler
roles:
- agent
- frictionless
CONFIG:
nfs_server: none
consoleport: 443
pooling_api: http://vmpooler.delivery.puppetlabs.net/
expected_exception:
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
arguments_string: ciscoiosc4507r-ARM32c-windows2012r2_fr-6432-ciscoiosc4507r-ARM32d
environment_variables: {}
expected_hash:
HOSTS:
ciscoiosc4507r-ARM32-1:
pe_dir:
pe_ver:
pe_upgrade_dir:
pe_upgrade_ver:
platform: cisco_ios-12-arm32
ssh:
user: admin
hypervisor: vmpooler
roles:
- agent
- dashboard
windows2012r2_fr-6432-1:
pe_dir:
pe_ver:
pe_upgrade_dir:
pe_upgrade_ver:
platform: windows-2012r2-64
packaging_platform: windows-2012-x64
ruby_arch: x86
template: win-2012r2-fr-x86_64
user: Administrateur
hypervisor: vmpooler
roles:
- agent
ciscoiosc4507r-ARM32-2:
pe_dir:
pe_ver:
pe_upgrade_dir:
pe_upgrade_ver:
platform: cisco_ios-12-arm32
ssh:
user: admin
hypervisor: vmpooler
roles:
- agent
- database
CONFIG:
nfs_server: none
consoleport: 443
pooling_api: http://vmpooler.delivery.puppetlabs.net/
expected_exception:
Loading