2.138. vpp_ip module

IP Types

class vpp_ip.DpoProto

Bases: object

DPO_PROTO_BIER = 4
DPO_PROTO_ETHERNET = 3
DPO_PROTO_IP4 = 0
DPO_PROTO_IP6 = 1
DPO_PROTO_MPLS = 2
DPO_PROTO_NSH = 5
class vpp_ip.VppIpAddressUnion(addr)

Bases: object

property address
property bytes
encode()
property length
property version
class vpp_ip.VppIpMPrefix(saddr, gaddr, glen)

Bases: object

encode()
property length
property version
vpp_ip.get_dpo_proto(addr)