Commit Graph

7693 Commits

Author SHA1 Message Date
Martin Winter
362bca980c redhat: fix duplicate Requires: line in spec file
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2017-04-19 18:39:49 -07:00
Martin Winter
b387c334d4 redhat: Fix BuildRequires for FRR/2.0 and duplicate /etc/frr/daemons
- add make & gcc
- remove autoconf and automake (not needed to build from src.rpm)
- fix texi2html version detection for case when no texi2html is installed (broke yum-builddep)
- fix duplicate listing of /etc/frr/daemons

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2017-04-19 18:12:10 -07:00
Donald Sharp
9134c9e958 Merge remote-tracking branch 'origin/stable/3.0' 2017-04-19 07:43:30 -04:00
Russ White
d0c91da4e8 Merge pull request #373 from qlyoung/fix-no-pim-rp
pimd: fix some pim commands
2017-04-19 07:16:22 -04:00
Russ White
ae73184340 Merge pull request #374 from qlyoung/pqueue-linear-remove
lib: add removal by item to pqueue
2017-04-19 07:04:04 -04:00
Russ White
54cd060799 Merge pull request #379 from pguibert6WIND/frrouting_issue309_2
vtysh: remove deprecated HAVE_EVPN flag
2017-04-19 06:58:48 -04:00
Philippe Guibert
d2c1e06d83 vtysh: remove deprecated HAVE_EVPN flag
This flag prevents from entering into evpn address-family node, when
calling command from vtysh.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2017-04-19 09:40:08 +02:00
Donald Sharp
de72643d15 Merge pull request #315 from LabNConsulting/working/master/patch/bgp-startup
Restore functionality broken/overridden by 857b544649
2017-04-18 12:14:58 -04:00
Don Slice
ef01549170 zebra: stop crash on process termination due to stale ifp->node
Problem reported that crash occurred when stopping quagga in certain
circumstances.  Determined that this was due to a stale pointer on the
ifp for a deleted interface.  The ifp->node had been freed but the ifp
still kept a pointer to it, and when later the process was stopped, it
attempted to delete it again.

Ticket: CM-15550
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-18 09:46:19 -04:00
Martin Winter
3630ef2d24 redhat: Update documentation for RPM build and usage
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2017-04-17 18:45:50 -07:00
Martin Winter
19ced9a4b8 redhat: fix upgrade script (%postun), remove invalid mpls package selection (it's always built and auto detected), add ldpd
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2017-04-17 18:34:32 -07:00
Martin Winter
2cdd3d94fc redhat: Add frr.service file for redhat based systemd systems (using init script)
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2017-04-17 18:17:16 -07:00
Donald Sharp
0f5ec54a69 Merge remote-tracking branch 'origin/stable/3.0' 2017-04-17 19:12:44 -04:00
Martin Winter
3060be2af5 Merge pull request #371 from donaldsharp/as_path_fix_3.0
bgpd: Fix 'set as-path prepend last-as 10'
2017-04-17 14:47:08 -07:00
Martin Winter
6491e6303e Merge pull request #370 from donaldsharp/as_path_fix
bgpd: Fix 'set as-path prepend last-as 10'
2017-04-17 14:46:28 -07:00
Quentin Young
9ea49d61d2 pimd: fix 'show ip msdp sa ...'
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2017-04-17 19:24:28 +00:00
Donald Sharp
be81f27278 eigrpd: Save whether or not a interface is passive.
Save whether or not a interface is passive in EIGRP.
More work is needed to actual respect that.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-17 10:01:51 -04:00
Quentin Young
6cbc63316b lib: add removal by item to pqueue
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2017-04-17 00:06:02 +00:00
Donald Sharp
dbc56a10d4 eigrpd: Cleanup cli
The eigrp cli was using a define that was causing some issues
surrounding interface names and detailed information.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-15 14:20:57 -04:00
Donald Sharp
7abc04e686 zebra: Add some more checks to fec [un]registration
Be a bit more rigoruous about what we can receive
from another protocol and attempt to make the code
less likely to crash and to just safely bail
out when an error is received.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-15 13:26:56 -04:00
Donald Sharp
9fbea8d56d bgpd: Fix up several issues in bgp_route.c
1) Some commands were installed in the wrong node
2) Fix output to show labeled information to correctly display
3) Whitespace issue in route-map command

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-15 13:26:56 -04:00
Donald Sharp
9db2da6c59 zebra: Fix whitespace issue with if statement
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-15 13:26:56 -04:00
Donald Sharp
bf995813b2 zebra: Allow explicit-null as a label option
When entering 'mpls label bind ...' command
allow the explicit-null as an option.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-15 13:26:56 -04:00
Donald Sharp
95169c2f78 zebra: Fix crash with dereference of NULL pointer
We only create the v4 and v6 mpls fec tables currently.
Follow the code pattern for the rest of the code and
ensure that the table exists before we attempt to access it.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-15 13:26:56 -04:00
Donald Sharp
b3b3879c3e lib, bgpd: Remove UNDEFINED_NODE
Remove the UNDEFINED_NODE as that it's implementation breaks
our ability in BGP to figure out where we are by allowing
default: in the switch statement.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-15 13:26:56 -04:00
Martin Winter
178b92ceb1 redhat: /etc/frr/daemons needs to be marked as no replace config to be save from overwriting
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2017-04-15 03:29:34 -07:00
Martin Winter
c2953ac5d6 redhat: Add (combined) init.d script for FRR with daemon selection based on /etc/frr/daemons
- Provide new frr init script
- Remove separate per-deamon init.d scripts

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2017-04-15 03:13:07 -07:00
Martin Winter
36d85ca8e3 watchfrr: Remove the HAVE_CUMULUS around the watchfrr.started file. It's always useful
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2017-04-15 02:00:15 -07:00
Quentin Young
529aa94e24 pimd: fix off-by-one in no ip pim rp ...
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2017-04-15 06:23:22 +00:00
Donald Sharp
5260e25d20 bgpd: 'show .... bgp regexp WORD' fixed
The command was always just returning as part of the
bgp_regexp_show function.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-14 20:39:56 -04:00
Donald Sharp
b6ab29296f bgpd: Fix 'set as-path prepend last-as 10'
1) Fix missing newline in help string
2) Make the ability to have 10 be consistent with the stable/2.0 branch.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-14 20:13:26 -04:00
Donald Sharp
5cf5f2033b bgpd: Fix 'set as-path prepend last-as 10'
The route-map compilation function was comparing < 10
instead of <= 10.  While the cli was accepting 1-10.

Fix:
!
route-map FOO permit 44
 set as-path prepend last-as 10
!

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-14 20:05:48 -04:00
Martin Winter
4d3bac5b14 redhat: Add python2 build requirement to pythontools sub package
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2017-04-14 02:21:44 -07:00
Martin Winter
df1a7ae4ce redhat: Fix previously added centos6/redhat6 check
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2017-04-14 02:20:31 -07:00
Martin Winter
33fdbd5efb redhat: Fix install (daemon selection) and make postun scripts compatible with fedora
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2017-04-14 01:28:13 -07:00
Martin Winter
41b86ba421 redhat: Always disable PIMd on CentOS 6 and RedHat 6 systems as they are too old to correctly support the protocol
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2017-04-13 18:54:58 -07:00
Martin Winter
386fcd12a4 redhat: Move frr-reload python script to it's own sub package to avoid the python2 requirement for main frr package
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2017-04-13 17:34:26 -07:00
Martin Winter
a88f3f42f9 redhat: Don't set file attributes for symlinks
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2017-04-13 17:33:24 -07:00
Martin Winter
1b2b123042 redhat: Fix ospf6d typo in frr.spec.in
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2017-04-13 15:00:16 -07:00
Martin Winter
6e38a83973 Merge pull request #366 from pichuang/fixed_add_group
Fixed some document typo
2017-04-13 14:52:16 -07:00
Phil Huang
be9665641d Clean installation guide with Debian/Ubuntu
Signed-off-by: Phil Huang <phil_huang@edge-core.com>
2017-04-13 21:20:53 +08:00
Phil Huang
7caef08c84 Add user frr into group frrvty
Signed-off-by: Phil Huang <phil_huang@edge-core.com>
2017-04-13 19:16:11 +08:00
Martin Winter
58f20b90ee redhat: Fix dependencies for rpm package
- Add bison, flex & autoconf
- Remove systemd for systems without it (i.e. CentOS 6)
- Update doc to reflect dependencies

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2017-04-12 20:23:18 -07:00
Martin Winter
9a581ae412 redhat: Remove tab's with spaces in frr.spec.in to make it better readable
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2017-04-12 19:10:35 -07:00
Martin Winter
94c0033565 redhat: Replace tab's with spaces in README
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2017-04-12 18:54:40 -07:00
Donald Sharp
81a37d8911 Merge pull request #365 from opensourcerouting/snap-doc-fixes
snapcraft: Improve README.usage.md based on feedback received
2017-04-12 21:12:26 -04:00
Martin Winter
2a3a819a9c snapcraft: Improve README.usage.md based on feedback received
- Fix snap connect (it's now called core, not ubuntu-core)
- Add section on MPLS configuration
- Add FAQ topic on ospfd/ospf6d crashing before privs are assigned to snap
- Add pointer to official webpage

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2017-04-12 16:00:43 -07:00
Donald Sharp
64919312d2 Merge pull request #359 from opensourcerouting/bgpd_largecomm_fix
bgpd: fixes for the "show bgp large-community" command
2017-04-10 19:21:05 -04:00
Renato Westphal
5ea207372b Merge pull request #351 from donaldsharp/ospf_fix
Some Issues fixed
2017-04-10 19:06:17 -03:00
Renato Westphal
d536095fd3 bgpd: fixes for the "show bgp large-community" command
* Fix a segfault when the "show bgp large-community" command is given
  without any optional large communities;
* Fix parsing of optional large communities. Without this fix a
  "Large-community malformed" error is shown even for valid large
  communities.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2017-04-10 18:49:38 -03:00