summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_fsm.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-05-20 02:40:42 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-05-20 02:40:42 +0200
commitabc920f85ea2e2e42c6cf1df7c14373ec1226d20 (patch)
treeef5c7d67646f98e6f56f98aee28a21a227131910 /bgpd/bgp_fsm.h
parentReduce the amount of time it takes to bring up a large number of peers (diff)
downloadfrr-abc920f85ea2e2e42c6cf1df7c14373ec1226d20.tar.xz
frr-abc920f85ea2e2e42c6cf1df7c14373ec1226d20.zip
bgpd-maxmed-administrative-onstartup.patch
COMMAND: Possible forms of the command configuration: [no] bgp max-med administrative [no] bgp max-med administrative <max-med-value> [no] bgp max-med on-startup <period> [no] bgp max-med on-startup <period> <max-med-value> DESCRIPTION: 'administrative' takes effect from the time of the config until the config is removed. 'on-startup' is effective only at the startup time for the given '<period>' after the first peer is established. '<max-med-value>' is used as the MED value to be sent out when the max-med is effective. Default max-med value is 4294967294. NOTE: When max-med is active, MED is changed only in the outgoing attributes to the peers, it doesn't modify any MED specific state of the attributes in BGP on the local node. Signed-off-by: Vipin Kumar <vipin@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_fsm.h')
-rw-r--r--bgpd/bgp_fsm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bgpd/bgp_fsm.h b/bgpd/bgp_fsm.h
index a4c5a611d..a1a3ce4d5 100644
--- a/bgpd/bgp_fsm.h
+++ b/bgpd/bgp_fsm.h
@@ -81,6 +81,9 @@ extern void bgp_timer_set (struct peer *);
extern void bgp_fsm_change_status (struct peer *peer, int status);
extern const char *peer_down_str[];
extern void bgp_update_delay_end (struct bgp *);
+extern void bgp_maxmed_update (struct bgp *);
+extern int bgp_maxmed_onstartup_configured (struct bgp *);
+extern int bgp_maxmed_onstartup_active (struct bgp *);
/**
* Start the route advertisement timer (that honors MRAI) for all the