

def new(self, neighbor, restarted):
    self._protocol(neighbor)
    self._asn4(neighbor)
    self._addpath(neighbor)
    self._graceful(neighbor, restarted)
    self._refresh(neighbor)
    self._operational(neighbor)
    self._session(neighbor)
    return self

dataset/ETHPy150Open Exa-Networks/exabgp/lib/exabgp/bgp/message/open/capability/capabilities.py Capabilities.new/original