Commit d8c2ee01 authored by douomo's avatar douomo
Browse files

added temporaty script for S-VLAN provisioning

parent 01cf76f2
Loading
Loading
Loading
Loading
+45 −0
Original line number Original line Diff line number Diff line
Feature: Simple VLAN management
    As a Network Controller,
    I want to deploy and remove VLANs on network elements.

Scenario: C-VLAN deployment
    Given the network mentioned in network.csv
    When the controller deploys VLAN 101
    Then the traffic should pass on this VLAN
     And the VLAN 101 should be in the configuration


Scenario: C-VLAN Removal
    Given the network mentioned in network.csv
    When the controller removes VLAN 101
    Then the traffic should not pass on this VLAN
     And the VLAN 101 should not be in the configuration

Scenario: S-VLAN PB deployment
    Given the network mentioned in network.csv
    When the controller deploys VLAN 201
    Then the traffic should pass on this VLAN
     And the VLAN 201 should be in the configuration


Scenario: S-VLAN PB Removal
    Given the network mentioned in network.csv
    When the controller removes VLAN 201
    Then the traffic should not pass on this VLAN
     And the VLAN 201 should not be in the configuration

Scenario: S-VLAN PEB deployment
    Given the network mentioned in network.csv
    When the controller deploys VLAN 301
     And the controller register the CVLAN 302 and 303 to the VLAN 301
    Then the traffic should pass on this VLAN
     And the VLAN 201 should be in the configuration


Scenario: S-VLAN PEB Removal
    Given the network mentioned in network.csv
    When the controller unregister the CVLAN 302 and 303 to the VLAN 301
     And the controller removes VLAN 301
    Then the traffic should not pass on this VLAN
     And the VLAN 301 should not be in the configuration
+1 −1
Original line number Original line Diff line number Diff line
<interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
<interfaces xmlns:if="urn:ietf:params:xml:ns:yang:ietf-interfaces">
    <interface>
    <interface>
        <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:microwaveCarrierTermination</type>
        <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:microwaveCarrierTermination</type>
        <name>{{ name }}</name>
        <name>{{ name }}</name>