public class SwitchDefn extends AbstractDefn
| Modifier and Type | Class and Description |
|---|---|
static class |
SwitchDefn.CustomProp
Represents a property from the "custom" section of the
mock switch definition file.
|
EOL, EOLI, EOLI_DASH, reader| Constructor and Description |
|---|
SwitchDefn(String path)
Constructs a switch definition, from the specified definition file.
|
| Modifier and Type | Method and Description |
|---|---|
CfgBase |
getCfgBase()
Returns the base config object.
|
CfgDesc |
getCfgDesc()
Returns the description config object.
|
CfgFeat |
getCfgFeat()
Returns the features config object.
|
CfgHello |
getCfgHello()
Returns the hello config object.
|
List<SwitchDefn.CustomProp> |
getCustomProps()
Returns an unmodifiable view of the custom properties.
|
DataPathId |
getDpid()
Returns the datapath id.
|
String |
toDebugString()
Returns a multi-line string representation of this parsed
switch definition.
|
getPath, toStringpublic SwitchDefn(String path)
path - the definition file path namepublic String toDebugString()
toDebugString in class AbstractDefnpublic DataPathId getDpid()
public CfgHello getCfgHello()
public CfgBase getCfgBase()
public CfgFeat getCfgFeat()
public CfgDesc getCfgDesc()
public List<SwitchDefn.CustomProp> getCustomProps()
Copyright © 2014. All Rights Reserved.