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:03.601
Then
I should get the new activation key "1-SUSE-KEY-x86_64"
00:00:01.360
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.708
Then
I should get the new activation key "1-RH-LIKE-KEY"
00:00:01.287
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.958
Then
I should get the new activation key "1-DEBLIKE-KEY"
00:00:01.393
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.611
Then
I should get the new activation key "1-SUSE-SSH-KEY-x86_64"
00:00:01.286
@sshminion
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.580
Then
I should get the new activation key "1-SUSE-SSH-TUNNEL-KEY-x86_64"
00:00:01.293
When
I create an activation key with id "BUILD-HOST-KEY-x86_64", description "Build host Key x86_64"
00:00:02.569
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.276
Then
I should get the new activation key "1-BUILD-HOST-KEY-x86_64"
00:00:01.266