public class P4Switch extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
configFile |
protected Long |
deviceId |
protected String |
gRPCServerIp |
protected Integer |
gRPCServerPort |
protected String |
nodeId |
protected String |
runtimeFile |
protected P4pluginP4runtimeService |
runtimeService |
Modifier | Constructor and Description |
---|---|
protected |
P4Switch(String gRPCServerIp,
Integer gRPCServerPort,
Long deviceId,
String nodeId,
String configFile,
String runtimeFile,
P4pluginP4runtimeService runtimeService) |
Modifier and Type | Method and Description |
---|---|
void |
addTableEntry(AddTableEntryInput entry) |
String |
getConfigFile() |
Long |
getDeviceId() |
String |
getgRPCServerIp() |
Integer |
getgRPCServerPort() |
String |
getNodeId() |
String |
getRuntimeFile() |
P4pluginP4runtimeService |
getRuntimeService() |
void |
openStreamChannel() |
void |
sendPacketOut(List<Metadata> metadataList,
byte[] packet) |
void |
setPipelineConfig() |
protected final String gRPCServerIp
protected final Integer gRPCServerPort
protected final Long deviceId
protected final String nodeId
protected final String configFile
protected final String runtimeFile
protected final P4pluginP4runtimeService runtimeService
public void openStreamChannel()
public void setPipelineConfig()
public void addTableEntry(AddTableEntryInput entry)
public Integer getgRPCServerPort()
public Long getDeviceId()
public P4pluginP4runtimeService getRuntimeService()
public String getConfigFile()
public String getNodeId()
public String getRuntimeFile()
public String getgRPCServerIp()
Copyright © 2018 OpenDaylight. All rights reserved.