New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bridge: T3137: Let VLAN aware bridge approach the behavior of professional equipment #677
Conversation
Due to the migration command line, you need to configure the migration device, please handle it at the same time vyos/vyatta-cfg-system#134 |
d3cb07a
to
bcd0a3e
Compare
Local test passed |
a26c78b
to
bb1018a
Compare
62fdb03
to
3c5153c
Compare
As this feature has never been released to any LTS or stable version, we can skip the migrator part. |
…ional equipment According to the consensus, the specific behavior of a VLAN aware bridge should conform to the behavior of professional equipment. This commit makes a significant change to the behavior of VLAN aware bridge, and has the following behaviors: 1. Disable `vif 1` configuration 2. When the VLAN aware bridge is enabled, the parent interface is always VLAN 1 3. When `native-vlan` is not configured, the default behavior of the device is `native-vlan 1` 4. The VLAN ids forwarded by the bridge are determined by `vif` 5. It has an `enable-vlan` node to enable VLAN awareness 6. VLAN configuration is allowed only when VLAN aware bridge is activated
This reverts commit 0f9f275.
The PR has been updated, the Migrator has been deleted, the smoke test has been modified, and the smoke test has passed |
Please also add a new custom validator for the The custom validator (see https://github.com/vyos/vyos-1x/tree/current/src/validators as reference) should validate the passed string if it is within a given range. The range should be an argument to the validator itself. Maybe the numeric validator can be re-used with some small bash shim which splits the input value if a sting in the form of "10-30" is passed? Besides this change the rest looks ok to me. |
Change Summary
Let VLAN aware bridge approach the behavior of professional equipment
Types of changes
Related Task(s)
https://phabricator.vyos.net/T3137
Component(s) name
bridge
Proposed changes
According to the consensus, the specific behavior of a VLAN aware bridge should conform
to the behavior of professional equipment. This commit makes a significant change to the
behavior of VLAN aware bridge, and has the following behaviors:
vif 1
configurationnative-vlan
is not configured, the default behavior of the device isnative-vlan 1
vif
enable-vlan
node to enable VLAN awarenessHow to test
See smoke test for details
Checklist:
vyos/vyos-documentation#424