2.94. 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

property address
property af
property bytes
property dpo_proto
encode()
property is_ip6
property length
property version
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
class vpp_ip.VppIpPrefix(addr, len)

Bases: object

property address
property bytes
encode()
property is_ip6
property length
property version