MCPcopy Create free account
hub / github.com/FDio/vpp / update

Method update

test/test_bfd.py:673–703  ·  view source on GitHub ↗

update BFD parameters associated with session

(
        self,
        my_discriminator=None,
        your_discriminator=None,
        desired_min_tx=None,
        required_min_rx=None,
        required_min_echo_rx=None,
        detect_mult=None,
        diag=None,
        state=None,
        auth_type=None,
    )

Source from the content-addressed store, hash-verified

671 self.our_seq_number += 1
672
673 def update(
674 self,
675 my_discriminator=None,
676 your_discriminator=None,
677 desired_min_tx=None,
678 required_min_rx=None,
679 required_min_echo_rx=None,
680 detect_mult=None,
681 diag=None,
682 state=None,
683 auth_type=None,
684 ):
685 """update BFD parameters associated with session"""
686 if my_discriminator is not None:
687 self.my_discriminator = my_discriminator
688 if your_discriminator is not None:
689 self.your_discriminator = your_discriminator
690 if required_min_rx is not None:
691 self.required_min_rx = required_min_rx
692 if required_min_echo_rx is not None:
693 self.required_min_echo_rx = required_min_echo_rx
694 if desired_min_tx is not None:
695 self.desired_min_tx = desired_min_tx
696 if detect_mult is not None:
697 self.detect_mult = detect_mult
698 if diag is not None:
699 self.diag = diag
700 if state is not None:
701 self.state = state
702 if auth_type is not None:
703 self.auth_type = auth_type
704
705 def fill_packet_fields(self, packet):
706 """set packet fields with known values in packet"""

Callers 15

bfd_session_upFunction · 0.45
bfd_session_downFunction · 0.45
test_session_up_by_ipMethod · 0.45
test_echoMethod · 0.45
test_echo_failMethod · 0.45
test_echo_stopMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected