]> git.proxmox.com Git - mirror_ifupdown2.git/log
mirror_ifupdown2.git
10 years agoFixes for some corner cases + cleanup
roopa [Wed, 19 Feb 2014 06:25:48 +0000 (22:25 -0800)]
Fixes for some corner cases + cleanup

Ticket: CM-1438
Reviewed By:
Testing Done:

Also includes fix for CM-2307 and some other fixes for primary/secondary
address handling.

10 years agoSupport for manual method + rearrange some code
roopa [Tue, 18 Feb 2014 03:01:37 +0000 (19:01 -0800)]
Support for manual method + rearrange some code

Ticket: CM-1438
Reviewed By:
Testing Done:

- Moved link config to base ifupdown. I had been debating about this,
  this is need to support manual and also the --no-scripts option.
- helps executing only link up/down operations if needed on an interface
- While at it, i also moved the scheduler methods to be classmethods
  instead of instance methods (which again was a pending cleanup task)

10 years agominor fixes + cleanup + update manpage
roopa [Sun, 16 Feb 2014 05:39:13 +0000 (21:39 -0800)]
minor fixes + cleanup + update manpage

Ticket: CM-1438
Reviewed By:
Testing Done:

- simplified the dot generator

10 years agoFix build failure
roopa [Fri, 14 Feb 2014 19:13:09 +0000 (11:13 -0800)]
Fix build failure

Ticket: CM-1438
Reviewed By:
Testing Done:

10 years agocleanup, documentation and enable ifupdown2 by default
roopa [Fri, 14 Feb 2014 17:55:19 +0000 (09:55 -0800)]
cleanup, documentation and enable ifupdown2 by default

Ticket: CM-1438
Reviewed By:
Testing Done:

There are a few known issues listed in the TODO and KNOWN_ISSUES files

10 years agocleanup and some documentation
roopa [Fri, 14 Feb 2014 05:37:26 +0000 (21:37 -0800)]
cleanup and some documentation

Ticket: CM-1438
Reviewed By:
Testing Done:

10 years agoFix l3 lag test failure
roopa [Thu, 13 Feb 2014 06:29:41 +0000 (22:29 -0800)]
Fix l3 lag test failure

Ticket: CM-1438
Reviewed By:
Testing Done: l3 lag test with help from purna

- THe down sequence in the new ifupdown was causing switchd some grief
  (wilson is looking at it). readded the topological sort which i had
removed in favor of only walking the tree. With the fix,i dont see the
switchd problem anymore.
- And another down bug was causing the bond to go away prematurely (only
  with the all depends option). Added a upperdevice list to track upperdev references

10 years agoMerge branch 'CumulusLinux-2.0_br'
John Berezovik [Tue, 11 Feb 2014 22:12:16 +0000 (14:12 -0800)]
Merge branch 'CumulusLinux-2.0_br'

Conflicts:
build-config/conf/snapshot-manifest-powerpc
build-config/make/kernel.make
modules/accton_as5610_52x_cpld.c
packages/cl-platform-config/usr/share/platform-config/accton/as5610_52x/etc/bcm.d/default_config_values
packages/cl-platform-config/usr/share/platform-config/accton/as5610_52x/hw_init.d/S10gpio_init.sh
packages/cl-utilities/dist-packages/cumulus/platformdb.py
packages/cl-utilities/dist-packages/cumulus/platforms/accton.py
packages/ifupdown2-addons/addons/bridge.py
packages/ifupdown2-addons/addons/ifenslave.py
packages/ifupdown2-addons/addons/inet.py
packages/ifupdown2-addons/addons/inet6.py
packages/ifupdown2-addons/addons/mstpctl.py
packages/ifupdown2-addons/addons/vlan.py
packages/ifupdown2-addons/pkg/base.py
packages/ifupdown2-addons/pkg/bridgeutils.py
packages/ifupdown2-addons/pkg/cache.py
packages/ifupdown2-addons/pkg/ifenslaveutil.py
packages/ifupdown2-addons/pkg/iproute2.py
packages/ifupdown2-addons/pkg/modulebase.py
packages/ifupdown2-addons/pkg/mstpctlutil.py
packages/ifupdown2/TODO
packages/ifupdown2/init.d/networking
packages/ifupdown2/pkg/graph.py
packages/ifupdown2/pkg/iface.py
packages/ifupdown2/pkg/ifupdownmain.py
packages/ifupdown2/pkg/networkinterfaces.py
packages/ifupdown2/pkg/scheduler.py
packages/ifupdown2/sbin/ifupdown
patches/kernel/driver-ds100df410-retimer.patch
patches/kernel/platform-accton-as5610_52x.patch
patches/kernel/platform-cel-p2020.patch
patches/kernel/platform-powerpc-85xx-Makefile.patch
patches/kernel/platform-quanta-ly6-p2020.patch
patches/kernel/series
patches/mstpd/igmp_snooop_ifupdown.patch
patches/mstpd/series
patches/quagga/series
switchd/debian/switchd.default
switchd/hal_acl_bcm.c
switchd/hal_bcm.h
switchd/switchd.c

10 years agorename a few options
roopa [Tue, 11 Feb 2014 16:09:28 +0000 (08:09 -0800)]
rename a few options

Ticket: CM-1438
Reviewed By:
Testing Done:

10 years agominor ifquery print fixes
roopa [Tue, 11 Feb 2014 14:00:07 +0000 (06:00 -0800)]
minor ifquery print fixes

Ticket: CM-1438
Reviewed By:
Testing Done:

10 years agoSome compat fixes + some stp precommit test fixes
roopa [Mon, 10 Feb 2014 22:39:18 +0000 (14:39 -0800)]
Some compat fixes + some stp precommit test fixes

Ticket: CM-1438
Reviewed By:
Testing Done:

10 years agoMore fixes and cleanup
roopa [Sat, 8 Feb 2014 17:05:32 +0000 (09:05 -0800)]
More fixes and cleanup

Ticket: CM-1438
Reviewed By:
Testing Done:

10 years agoMore fixes and changes
roopa [Fri, 31 Jan 2014 06:36:41 +0000 (22:36 -0800)]
More fixes and changes

Ticket: CM-1438
Reviewed By:
Testing Done: unit tested with all kinds of interfaces

some high level changes
- moved ipv4/ipv6 address handling in a single module. dhcp
into a separate module.
- new link 'up' module
- igmp fixes
- many other fixes

10 years agominor init.d fixes
roopa [Mon, 20 Jan 2014 20:02:03 +0000 (12:02 -0800)]
minor init.d fixes

Ticket: CM-1438
Reviewed By:
Testing Done:

10 years agosome ifquery fixes + make the default to not follow dependents (
roopa [Sat, 18 Jan 2014 07:10:12 +0000 (23:10 -0800)]
some ifquery fixes + make the default to not follow dependents (
added a --with-depends option)

Ticket: CM-1438
Reviewed By:
Testing Done:

still debating on the default behaviour for following dependents.
for now not following dependents might be better.
When all interfaces are selected, it always follows dependents

10 years agoA whole lot of fixes and some new code (needs some cleanup which will be
roopa [Thu, 16 Jan 2014 14:46:17 +0000 (06:46 -0800)]
A whole lot of fixes and some new code (needs some cleanup which will be
part of subsequent checkins)

Ticket: CM-1438
Reviewed By:
Testing Done: Tested ifup, ifdown and ifquery

Conflicts:
packages/ifupdown2-addons/addons/ifenslave.py

10 years agoUpdate TODO lists
roopa [Wed, 15 Jan 2014 22:42:04 +0000 (14:42 -0800)]
Update TODO lists

Ticket:
Reviewed By:
Testing Done:

Conflicts:
packages/ifupdown2/TODO

10 years agoUpdate TODO lists
roopa [Wed, 15 Jan 2014 22:42:04 +0000 (14:42 -0800)]
Update TODO lists

Ticket:
Reviewed By:
Testing Done:

Conflicts:
packages/ifupdown2/TODO

10 years agoUpdate TODO
roopa [Wed, 15 Jan 2014 23:23:38 +0000 (15:23 -0800)]
Update TODO

Ticket: CM-1438
Reviewed By:
Testing Done:

10 years agoUpdate examples file
roopa [Wed, 15 Jan 2014 22:42:56 +0000 (14:42 -0800)]
Update examples file

Ticket: CM-1438
Reviewed By:
Testing Done:

10 years agoUpdate TODO lists
roopa [Wed, 15 Jan 2014 22:42:04 +0000 (14:42 -0800)]
Update TODO lists

Ticket:
Reviewed By:
Testing Done:

10 years agominor init.d fixes
roopa [Mon, 20 Jan 2014 20:02:03 +0000 (12:02 -0800)]
minor init.d fixes

Ticket: CM-1438
Reviewed By:
Testing Done:

10 years agosome ifquery fixes + make the default to not follow dependents (
roopa [Sat, 18 Jan 2014 07:10:12 +0000 (23:10 -0800)]
some ifquery fixes + make the default to not follow dependents (
added a --with-depends option)

Ticket: CM-1438
Reviewed By:
Testing Done:

still debating on the default behaviour for following dependents.
for now not following dependents might be better.
When all interfaces are selected, it always follows dependents

10 years agoA whole lot of fixes and some new code (needs some cleanup which will be
roopa [Thu, 16 Jan 2014 14:46:17 +0000 (06:46 -0800)]
A whole lot of fixes and some new code (needs some cleanup which will be
part of subsequent checkins)

Ticket: CM-1438
Reviewed By:
Testing Done: Tested ifup, ifdown and ifquery

10 years agoUpdate TODO
roopa [Wed, 15 Jan 2014 23:23:38 +0000 (15:23 -0800)]
Update TODO

Ticket: CM-1438
Reviewed By:
Testing Done:

10 years agoUpdate examples file
roopa [Wed, 15 Jan 2014 22:42:56 +0000 (14:42 -0800)]
Update examples file

Ticket: CM-1438
Reviewed By:
Testing Done:

10 years agoUpdate TODO lists
roopa [Wed, 15 Jan 2014 22:42:04 +0000 (14:42 -0800)]
Update TODO lists

Ticket:
Reviewed By:
Testing Done:

10 years agoMerge branch 'CumulusLinux-2.0_br'
John Berezovik [Fri, 10 Jan 2014 21:31:25 +0000 (13:31 -0800)]
Merge branch 'CumulusLinux-2.0_br'

Conflicts:
build-config/conf/linux.vci.config
build-config/conf/snapshot-manifest-powerpc
build-config/make/images.make
build-config/make/kernel.make
packages/cl-utilities/dist-packages/cumulus/platformdb.py
packages/cl-utilities/dist-packages/cumulus/platforms/accton.py
packages/ifupdown2/pkg/ifupdownmain.py
packages/mstpd/debian/mstpd.postinst
packages/mstpd/debian/mstpd.postrm
packages/mstpd/debian/mstpd.preinst
packages/mstpd/debian/mstpd.prerm
patches/bridge-utils/igmp_snoop_support.patch
patches/bridge-utils/series
patches/kernel/network-bridge-igmp-ifupdown-fixes.patch
patches/kernel/platform-cel-p2020.patch
patches/kernel/platform-powerpc-85xx-Makefile.patch
patches/kernel/platform-quanta-ly6.patch
patches/kernel/series
patches/mstpd/igmp_snooop_ifupdown.patch
patches/mstpd/series
tests/portconfig/test_vectors/cel,redstone@None/default/portsbcm
utilities/packages/autolib/netobjects.py

10 years agosome fixes + template support
roopa [Fri, 20 Dec 2013 21:59:37 +0000 (13:59 -0800)]
some fixes + template support

Ticket: CM-1438
Reviewed By:
Testing Done:

This patch adds support for mako style templates.

Example:
% for v in [20,30,40]:
auto vlan${v}
    iface vlan${v} inet static
    address 10.20.${v}.3/24
    mstpctl_ports  glob swp1-52.${v}
    mstpctl_stp on
% endfor

open items:
    - currently templates will only work if python-mako is installed
      (Its apt-gettable from debian wheezy).

10 years agoSome fixes in dependency handling
roopa [Sun, 1 Dec 2013 07:52:30 +0000 (23:52 -0800)]
Some fixes in dependency handling

Ticket: CM-1438
Reviewed By:
Testing Done: tested with configs involving vlan devices and bridges

- fix dependency handling which i had broken recently with my last
  checkin (nat reported this one)
- In inet pluggins, dont issue ip addr get unless required (saw cpu
  spike up because of CM-1889)
- and some other minor changes lying in my tree

10 years agoMerge remote-tracking branch 'origin/CumulusLinux-2.0_br'
Wilson Kok [Thu, 21 Nov 2013 00:41:40 +0000 (16:41 -0800)]
Merge remote-tracking branch 'origin/CumulusLinux-2.0_br'

Conflicts:
packages/ifupdown2-addons/addons/bridge.py
packages/ifupdown2-addons/addons/cmdhooks.py
packages/ifupdown2-addons/addons/hooks.py
packages/ifupdown2-addons/addons/ifenslave.py
packages/ifupdown2-addons/addons/inet.py
packages/ifupdown2-addons/addons/inet6.py
packages/ifupdown2-addons/addons/usercmds.py
packages/ifupdown2/KNOWN_ISSUES
packages/ifupdown2/sbin/ifupdown
packages/ifupdown2/setup.py
patches/quagga/vtysh-fix-ipv6-afi-node.patch

10 years agocleanup ifquery for interfaces that were configured but got deleted or
roopa [Thu, 14 Nov 2013 07:00:02 +0000 (23:00 -0800)]
cleanup ifquery for interfaces that were configured but got deleted or
went away

Ticket: CM-1438
Reviewed By:
Testing Done:

10 years agomore fixes + cleanup + support for --exclude argument
roopa [Thu, 14 Nov 2013 00:07:15 +0000 (16:07 -0800)]
more fixes + cleanup + support for --exclude argument

Ticket: CM-1438
Reviewed By:
Testing Done:

10 years agoSome fixes + enhancements
roopa [Mon, 11 Nov 2013 06:35:40 +0000 (22:35 -0800)]
Some fixes + enhancements

Ticket: CM-1438
Reviewed By:
Testing Done: Tested installing new ifupdown on the box

- fixed a few things in ifquery
- added new perfmode to skip some of the checks (useful during boot when there is
  no previous state)
- updated doc dir with example
- Added README, TODO and KNOWN_ISSUES file

10 years agoSome fixes + enhancements
roopa [Mon, 11 Nov 2013 06:35:40 +0000 (22:35 -0800)]
Some fixes + enhancements

Ticket: CM-1438
Reviewed By:
Testing Done: Tested installing new ifupdown on the box

- fixed a few things in ifquery
- added new perfmode to skip some of the checks (useful during boot when there is
  no previous state)
- updated doc dir with example
- Added README, TODO and KNOWN_ISSUES file

10 years agopython-ifupdown initial checkin
roopa [Mon, 4 Nov 2013 14:06:11 +0000 (06:06 -0800)]
python-ifupdown initial checkin

Ticket: CM-1438
Reviewed By: TBD
Testing Done:

- Will checkin build files after some more testing and performance
  numbers. It will go into the testing repo for 2.0

- All TODO items are part of the checked in TODO file