

@classmethod
def new(cls, afi, safi, origin, rt, nexthop=NoNextHop, action=OUT.UNSET):
    instance = cls(afi, safi, action, origin, rt)
    afi.origin = origin
    instance.rt = rt
    instance.nexthop = nexthop
    instance.action = action
    return instance

dataset/ETHPy150Open Exa-Networks/exabgp/lib/exabgp/bgp/message/update/nlri/rtc.py RTC.new/VarMisuse@46/56 `instance`->`afi`