Feature: 0016 - Create activation keys
Description: In order to register systems to the server
As the testing user
I want to use activation keys
File name: srv_create_activationkey.feature
Relative path: reposync/srv_create_activationkey.feature
When
I create an activation key with id "SUSE-KEY-x86_64", description "SUSE Test Key x86_64", limit of 20 and contact method "default"
00:00:02.935
Then
I should get the new activation key "1-SUSE-KEY-x86_64"
00:00:01.019
When
I create an activation key with id "RH-LIKE-KEY", description "RedHat like Test Key", base channel "fake-base-channel-rh-like", limit of 20 and contact method "default"
00:00:02.090
Then
I should get the new activation key "1-RH-LIKE-KEY"
00:00:00.959
When
I create an activation key with id "DEBLIKE-KEY", description "Debian-like Test Key", base channel "fake-base-channel-debian-like", limit of 20 and contact method "default"
00:00:02.154
Then
I should get the new activation key "1-DEBLIKE-KEY"
00:00:01.460
When
I create an activation key with id "SUSE-SSH-KEY-x86_64", description "SUSE SSH Test Key x86_64", limit of 20 and contact method "ssh-push"
00:00:02.228
Then
I should get the new activation key "1-SUSE-SSH-KEY-x86_64"
00:00:00.967
@ssh_minion
Scenario: Create an activation key with a channel for salt-ssh via tunnel
When
I create an activation key with id "SUSE-SSH-TUNNEL-KEY-x86_64", description "SUSE SSH Tunnel Test Key x86_64", limit of 20 and contact method "ssh-push-tunnel"
00:00:02.048
Then
I should get the new activation key "1-SUSE-SSH-TUNNEL-KEY-x86_64"
00:00:00.969
When
I create an activation key with id "BUILD-HOST-KEY-x86_64", description "Build host Key x86_64"
00:00:02.101
And
I set the entitlements of the activation key "1-BUILD-HOST-KEY-x86_64" to "container_build_host, osimage_build_host"
00:00:01.012
Then
I should get the new activation key "1-BUILD-HOST-KEY-x86_64"
00:00:00.987