1. 18 Aug, 2015 3 commits
  2. 17 Aug, 2015 3 commits
  3. 12 Aug, 2015 1 commit
  4. 11 Aug, 2015 1 commit
    • Wolfgang Bumiller's avatar
      bridgevlanport: replace sed pipe with substitution · 0bba4496
      Wolfgang Bumiller authored
      The previous code stripped *all* combinations of zero or
      more letters and digits followed by a dot of an interface
      name to retrieve the VLANID. At the same time the supposedly
      opposite code for IF_VLAN_RAW_DEVICE only actually extracts
      the part up to the *first* dot. Thus an interface named
      'a.b.0' would have a VLANID of 0 and a raw device name of
      just 'a'.
      I also don't see a reason to limit the removed portions to
      alphanumeric characters. I.e. an interface named tap-test.0
      would result in a VLANID of 'tap-0' and an
      IF_VLAN_RAW_DEVICE of 'test'.
      
      A simple shell substitution seems to do a much better job
      and is more efficient than forking out two processes with a
      pipe.
      0bba4496
  5. 10 Aug, 2015 2 commits
  6. 07 Aug, 2015 2 commits
  7. 06 Aug, 2015 3 commits
  8. 31 Jul, 2015 2 commits
  9. 30 Jul, 2015 7 commits
  10. 29 Jul, 2015 2 commits
    • Dietmar Maurer's avatar
      control.in: add replaces/provides for vlan · 50169fe4
      Dietmar Maurer authored
      So that we can upgrade without problems (automatically remove old vlan package).
      50169fe4
    • Alexandre Derumier's avatar
      add vlan aware ifupdown script v3 · 312ce780
      Alexandre Derumier authored
      This add support to enable vlan aware bridge,
      and management interfaces
      
      example: 1 bridge and 1 administration port on vlan 100
      
      auto vmbr0
      iface vmbr0 inet manual
              bridge_ports eth0
              bridge_stp off
              bridge_fd 0
              bridge_vlan_aware yes
              bridge_vids 10-15
      
      auto vmbr0.100
      iface vmbr0.100 inet static
              address X.X.X.X
              netmask 255.255.255.0
              gateway X.X.X.X
      
      bridge_vids is optional, and allow on the specified vlans.(current take 1 value or range, need to be improve with list)
      If not specified, the allowed vlan are 2-4094.
      vlan 1 is the default pvid. (all untagged traffic is going to this vlan).
      
      scripts:
      - /etc/network/if-up.d/bridgevlan
      
      manage bridge vlan aware configuration
      
      - /etc/network/if-up.d/bridgevlanport
      
      manage bridge vlan admin port
      
      -/etc/network/if-pre-up.d/vlan
      -/etc/network/if-post-down.d/vlan
      
      replace current vlan package, without vconfig usage and cleanups
      It's only needed to create vlan interface from bridge_ports.
      Signed-off-by: 's avatarAlexandre Derumier <aderumier@odiso.com>
      312ce780
  11. 28 Jul, 2015 3 commits
  12. 27 Jul, 2015 4 commits
  13. 24 Jul, 2015 3 commits
  14. 23 Jul, 2015 1 commit
  15. 22 Jul, 2015 3 commits