1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00

18 Commits

Author SHA1 Message Date
roopa
37c0543d34 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
2014-01-30 22:36:41 -08:00
roopa
7ac4828157 minor init.d fixes
Ticket: CM-1438
Reviewed By:
Testing Done:
2014-01-30 19:54:05 -08:00
roopa
cca03c30c5 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
2014-01-30 19:53:49 -08:00
roopa
739f665baa 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
2014-01-30 19:53:25 -08:00
roopa
f407f5cfe8 Update TODO lists
Ticket:
Reviewed By:
Testing Done:

Conflicts:
	packages/ifupdown2/TODO
2014-01-30 19:51:51 -08:00
roopa
9ffc685540 Update TODO lists
Ticket:
Reviewed By:
Testing Done:

Conflicts:
	packages/ifupdown2/TODO
2014-01-30 19:49:49 -08:00
roopa
97fbe42e15 Update TODO
Ticket: CM-1438
Reviewed By:
Testing Done:
2014-01-30 19:47:09 -08:00
roopa
47cd15c473 Update examples file
Ticket: CM-1438
Reviewed By:
Testing Done:
2014-01-30 19:46:52 -08:00
roopa
9792ab06ce Update TODO lists
Ticket:
Reviewed By:
Testing Done:
2014-01-30 19:46:35 -08:00
John Berezovik
4bec729f5a 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
2014-01-10 13:31:25 -08:00
roopa
579b3f255d 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).
2013-12-20 13:59:37 -08:00
roopa
551a3627d4 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
2013-11-30 23:52:30 -08:00
Wilson Kok
66e49e4c3e 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
2013-11-20 16:41:40 -08:00
roopa
10720a537d cleanup ifquery for interfaces that were configured but got deleted or
went away

Ticket: CM-1438
Reviewed By:
Testing Done:
2013-11-13 23:00:02 -08:00
roopa
3e8ee54f30 more fixes + cleanup + support for --exclude argument
Ticket: CM-1438
Reviewed By:
Testing Done:
2013-11-13 16:07:15 -08:00
roopa
eab25b7c62 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
2013-11-11 10:56:36 -08:00
roopa
4716e0e5c9 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
2013-11-10 22:35:40 -08:00
roopa
a6f80f0e0b 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
2013-11-04 06:06:11 -08:00