Sha256: bbf900b5fa01291b3756410220b779475a434811dde406345d5b23716809ddb9

Contents?: true

Size: 1.91 KB

Versions: 18

Compression:

Stored size: 1.91 KB

Contents

Feature: Virtual Machine NAT Engine
  As a virtualbox library user
  I want to read and update the NAT engine on a network adapter

  Background:
    Given I find a VM identified by "test_vm_A"
    And the forwarded ports are cleared
    And the adapters are reset
    And the following adapters are set:
      | slot | type |
      |    1 | nat  |
    And the "network_adapters" relationship
    And the "nat_driver" relationship on collection item "1"

  Scenario: Reading the NAT engine
    Then the NAT network should exist

  @unsafe
  Scenario: Reading Forwarded Ports
    Given I read the adapter in slot "1"
    And I create a forwarded port named "ssh" from "22" to "2222" via VBoxManage
    And I reload the VM
    And I read the adapter in slot "1"
    Then the forwarded port "ssh" should exist
    And the forwarded ports should match

  @unsafe
  Scenario: Creating Forwarded Ports
    Given I read the adapter in slot "1"
    When I create a forwarded port named "ssh" from "22" to "2222"
    And I save the relationship
    And I reload the VM info
    Then the forwarded port "ssh" should exist
    And the forwarded ports should match

  @unsafe
  Scenario: Updating Forwarded Ports
    Given I read the adapter in slot "1"
    And I create a forwarded port named "ssh" from "22" to "2222" via VBoxManage
    And I reload the VM
    And I read the adapter in slot "1"
    When I update the forwarded port named "ssh":
      | attribute | value |
      | hostport  | 3333  |
    And I save the relationship
    And I reload the VM info
    Then the forwarded ports should match

  @unsafe
  Scenario: Deleting Forwarded Ports
    Given I read the adapter in slot "1"
    And I create a forwarded port named "ssh" from "22" to "2222" via VBoxManage
    And I reload the VM
    And I read the adapter in slot "1"
    When I delete the forwarded port named "ssh"
    And I reload the VM info
    Then the forwarded port "ssh" should not exist

Version data entries

18 entries across 18 versions & 3 rubygems

Version Path
virtualbox-0.9.2 features/vm_nat_engine.feature
virtualbox-0.9.1 features/vm_nat_engine.feature
virtualbox-0.9.0 features/vm_nat_engine.feature
virtualbox-0.8.6 features/vm_nat_engine.feature
virtualbox-0.8.5 features/vm_nat_engine.feature
virtualbox-0.8.4 features/vm_nat_engine.feature
velir_virtualbox-0.8.4 features/vm_nat_engine.feature
virtualbox-0.8.3 features/vm_nat_engine.feature
virtualbox-0.8.2 features/vm_nat_engine.feature
virtualbox-0.8.1 features/vm_nat_engine.feature
virtualbox-0.8.0 features/vm_nat_engine.feature
virtualbox-0.7.9 features/vm_nat_engine.feature
virtualbox-0.7.8 features/vm_nat_engine.feature
virtualbox-0.7.7 features/vm_nat_engine.feature
virtualbox-0.7.6 features/vm_nat_engine.feature
bbrowning-virtualbox-0.7.6.dev features/vm_nat_engine.feature
virtualbox-0.7.5 features/vm_nat_engine.feature
virtualbox-0.7.4 features/vm_nat_engine.feature