Sha256: 8c5a891325ae81b69f1c614105c111142c971a79b1b82cc11488b6d6da20e6bd

Contents?: true

Size: 655 Bytes

Versions: 7

Compression:

Stored size: 655 Bytes

Contents

Feature: The link DSL directive.
  @sudo
  Scenario: phut run with "link ..."
    Given a file named "network.conf" with:
    """
    vswitch { dpid '0xabc' }
    vhost { ip '192.168.0.1' }
    link '0xabc', '192.168.0.1'
    """
    When I do phut run "network.conf"
    Then a link is created between "0xabc" and "192.168.0.1"

  @sudo
  Scenario: phut run with "link alias1, alias2"
    Given a file named "network.conf" with:
    """
    vswitch('my_switch') { dpid '0xabc' }
    vhost('host1') { ip '192.168.0.1' }
    link 'my_switch', 'host1'
    """
    When I do phut run "network.conf"
    Then a link is created between "my_switch" and "host1"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
phut-0.3.1 features/dsl_link.feature
phut-0.3.0 features/dsl_link.feature
phut-0.2.4 features/dsl_link.feature
phut-0.2.3 features/dsl_link.feature
phut-0.2.2 features/dsl_link.feature
phut-0.2.0 features/dsl_link.feature
phut-0.1.0 features/dsl_link.feature