2.110. 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.VppIpAddress(addr)

Bases: object

address
af
bytes
dpo_proto
encode()
is_ip6
length
version
class vpp_ip.VppIpAddressUnion(addr)

Bases: object

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

Bases: object

encode()
class vpp_ip.VppIpPrefix(addr, len)

Bases: object

address
bytes
encode()
is_ip6
length