public class P4Device extends Object
Modifier and Type | Class and Description |
---|---|
static class |
P4Device.Builder |
public boolean getConnectState()
public boolean isConfigured()
public String getNodeId()
public Long getDeviceId()
public String getIp()
public Integer getPort()
public SetForwardingPipelineConfigResponse setPipelineConfig()
public GetForwardingPipelineConfigResponse getPipelineConfig()
public WriteResponse addTableEntry(TableEntry inputEntry)
public WriteResponse modifyTableEntry(TableEntry inputEntry)
public WriteResponse deleteTableEntry(TableEntryKey inputEntryKey)
public WriteResponse addActionProfileMember(ActionProfileMember inputMember)
public WriteResponse modifyActionProfileMember(ActionProfileMember inputMember)
public WriteResponse deleteActionProfileMember(ActionProfileMemberKey inputMemberKey)
public WriteResponse addActionProfileGroup(ActionProfileGroup inputGroup)
public WriteResponse modifyActionProfileGroup(ActionProfileGroup inputGroup)
public WriteResponse deleteActionProfileGroup(ActionProfileGroupKey inputGroupKey)
public WriteResponse write(WriteRequest request)
public Iterator<ReadResponse> read(ReadRequest request)
public void transmitPacket(byte[] payload)
public void connectToDevice()
public void shutdown()
public TableEntry toProtoEntry(TableEntry entry)
public TableEntry toProtoEntry(TableEntryKey entryKey)
public ActionProfileMember toProtoMember(ActionProfileMember member)
public ActionProfileMember toProtoMember(ActionProfileMemberKey memberKey)
public ActionProfileGroup toProtoGroup(ActionProfileGroup group)
public ActionProfileGroup toProtoGroup(ActionProfileGroupKey groupKey)
public String toStringEntry(TableEntry entry)
public String toStringMember(ActionProfileMember member)
public String toStringGroup(ActionProfileGroup group)
public static P4Device.Builder newBuilder()
Copyright © 2018 OpenDaylight. All rights reserved.