diff options
author | Klement Sekera <ksekera@cisco.com> | 2017-02-02 06:58:07 +0100 |
---|---|---|
committer | Klement Sekera <ksekera@cisco.com> | 2017-02-08 07:47:00 +0100 |
commit | a57a970952be2c3403c57dd7a16cd3d73660ef79 (patch) | |
tree | 89c0aab21b2c5f15d3b3cd355fb54c2c7ae7c66d /test/vpp_papi_provider.py | |
parent | 8ea6d7153b053f1b9bf837ef3a927136f44b41fd (diff) |
BFD: modify session parameters
Change-Id: I666e5c0cc71a3693640960c93cdd1907f84fbe23
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test/vpp_papi_provider.py')
-rw-r--r-- | test/vpp_papi_provider.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py index 2cd02cc7954..39efa9e4c0e 100644 --- a/test/vpp_papi_provider.py +++ b/test/vpp_papi_provider.py @@ -1023,6 +1023,19 @@ class VppPapiProvider(object): 'conf_key_id': conf_key_id, }) + def bfd_udp_mod(self, sw_if_index, desired_min_tx, required_min_rx, + detect_mult, local_addr, peer_addr, is_ipv6=0): + return self.api(self.papi.bfd_udp_mod, + { + 'sw_if_index': sw_if_index, + 'desired_min_tx': desired_min_tx, + 'required_min_rx': required_min_rx, + 'local_addr': local_addr, + 'peer_addr': peer_addr, + 'is_ipv6': is_ipv6, + 'detect_mult': detect_mult, + }) + def bfd_udp_auth_activate(self, sw_if_index, local_addr, peer_addr, is_ipv6=0, bfd_key_id=None, conf_key_id=None, is_delayed=False): |