- Fixed IT tests.
- Address review comments: removed some commented out lines
- Modified schema files to use Set<Long> instead of Set<Integer>
- Modified user files to use new schema
Change-Id: I471d5c69d9b6f03df97fabbae5ab743b4b9772a5
Signed-off-by: Sam Hague <shague@redhat.com>
Bridge bridge = client.createTypedRowWrapper(Bridge.class);
bridge.setName(testBridgeName);
bridge.setStatus(ImmutableMap.of("key","value"));
- bridge.setFloodVlans(Sets.newHashSet(34));
+ bridge.setFloodVlans(Sets.newHashSet(34L));
OpenVSwitch openVSwitch = client.createTypedRowWrapper(OpenVSwitch.class);
openVSwitch.setBridges(Sets.newHashSet(new UUID(testBridgeName)));
Bridge bridge = connection.getClient().createTypedRowWrapper(Bridge.class);
bridge.setName("br_test1");
bridge.setStatus(ImmutableMap.of("key", "value"));
- bridge.setFloodVlans(Sets.newHashSet(34));
+ bridge.setFloodVlans(Sets.newHashSet(34L));
return ovsdbConfigService.insertRow(node, bridge.getSchema().getName(), parentUuid, bridge.getRow());
}
*/
package org.opendaylight.ovsdb.neutron;
-import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
}
OVSDBConfigService ovsdbTable = (OVSDBConfigService)ServiceHelper.getGlobalInstance(OVSDBConfigService.class, this);
Port port = ovsdbTable.createTypedRow(node, Port.class);
- OvsDBSet<BigInteger> tags = new OvsDBSet<BigInteger>();
- tags.add(BigInteger.valueOf(vlan));
+ OvsDBSet<Long> tags = new OvsDBSet<Long>();
+ tags.add(Long.valueOf(vlan));
port.setTag(tags);
ovsdbTable.updateRow(node, port.getSchema().getName(), null, portUUID, port.getRow());
if (enableContainer) this.addPortToTenantNetworkContainer(node, portUUID, network);
for (UUID intfUUID : interfaces) {
Interface intf = (Interface)ovsdbTable.getRow(node,ovsdbTable.getTableName(node, Interface.class), intfUUID.toString());
if (intf == null) continue;
- Set<Integer> of_ports = intf.getOpenFlowPortColumn().getData();
+ Set<Long> of_ports = intf.getOpenFlowPortColumn().getData();
if (of_ports == null) continue;
- for (Integer of_port : of_ports) {
+ for (Long of_port : of_ports) {
ContainerConfig config = new ContainerConfig();
config.setContainer(BaseHandler.convertNeutronIDToKey(network.getID()));
logger.debug("Adding Port {} to Container : {}", port.toString(), config.getContainer());
List<String> ncList = new ArrayList<String>();
Node ofNode = new Node(Node.NodeIDType.OPENFLOW, dpidLong);
NodeConnector nc = NodeConnector.fromStringNoNode(Node.NodeIDType.OPENFLOW.toString(),
- Long.valueOf(of_port.longValue()).intValue()+"",
+ of_port.intValue()+"",
ofNode);
ncList.add(nc.toString());
config.addNodeConnectors(ncList);
for (Row row : intfs.values()) {
Interface patchIntf = ovsdbTable.getTypedRow(node, Interface.class, row);
if (patchIntf.getName().equalsIgnoreCase(patchInt)) {
- Set<Integer> of_ports = patchIntf.getOpenFlowPortColumn().getData();
+ Set<Long> of_ports = patchIntf.getOpenFlowPortColumn().getData();
if (of_ports == null || of_ports.size() <= 0) {
logger.error("Could NOT Identified Patch port {} on {}", patchInt, node);
continue;
for (Row row : intfs.values()) {
Interface tunIntf = (Interface)row;
if (tunIntf.getName().equals(this.getTunnelName(tunnelType, segmentationId, dst))) {
- Set<Integer> of_ports = tunIntf.getOpenFlowPortColumn().getData();
+ Set<Long> of_ports = tunIntf.getOpenFlowPortColumn().getData();
if (of_ports == null || of_ports.size() <= 0) {
logger.warn("Could not Identify Tunnel port {} on {}. Don't panic. It might get converged soon...", tunIntf.getName(), node);
continue;
for (Row row : intfs.values()) {
Interface patchIntf = ovsdbTable.getTypedRow(node, Interface.class, row);
if (patchIntf.getName().equalsIgnoreCase(patchInt)) {
- Set<Integer> of_ports = patchIntf.getOpenFlowPortColumn().getData();
+ Set<Long> of_ports = patchIntf.getOpenFlowPortColumn().getData();
if (of_ports == null || of_ports.size() <= 0) {
logger.error("Could NOT Identified Patch port {} on {}", patchInt, node);
continue;
for (Row row : intfs.values()) {
Interface tunIntf = ovsdbTable.getTypedRow(node, Interface.class, row);
if (tunIntf.getName().equals(this.getTunnelName(tunnelType, segmentationId, dst))) {
- Set<Integer> of_ports = tunIntf.getOpenFlowPortColumn().getData();
+ Set<Long> of_ports = tunIntf.getOpenFlowPortColumn().getData();
if (of_ports == null || of_ports.size() <= 0) {
logger.error("Could NOT Identify Tunnel port {} on {}", tunIntf.getName(), node);
continue;
for (Row row : intfs.values()) {
Interface intf = ovsdbTable.getTypedRow(node, Interface.class, row);
if (intf.getName().equalsIgnoreCase(portName)) {
- Set<Integer> of_ports = intf.getOpenFlowPortColumn().getData();
+ Set<Long> of_ports = intf.getOpenFlowPortColumn().getData();
if (of_ports == null || of_ports.size() <= 0) {
logger.error("Could not identify patch port {} on {}", portName, node);
continue;
return;
}
- Set<Integer> of_ports = intf.getOpenFlowPortColumn().getData();
+ Set<Long> of_ports = intf.getOpenFlowPortColumn().getData();
if (of_ports == null || of_ports.size() <= 0) {
logger.error("Could NOT Identify OF value for port {} on {}", intf.getName(), node);
return;
return;
}
- Set<Integer> of_ports = intf.getOpenFlowPortColumn().getData();
+ Set<Long> of_ports = intf.getOpenFlowPortColumn().getData();
if (of_ports == null || of_ports.size() <= 0) {
logger.error("Could NOT Identify OF value for port {} on {}", intf.getName(), node);
return;
}
OVSDBConfigService ovsdbTable = (OVSDBConfigService) ServiceHelper.getGlobalInstance(OVSDBConfigService.class, this);
- Set<Integer> of_ports = intf.getOpenFlowPortColumn().getData();
+ Set<Long> of_ports = intf.getOpenFlowPortColumn().getData();
if (of_ports == null || of_ports.size() <= 0) {
logger.error("Could NOT Identify OF value for port {} on {}", intf.getName(), node);
return;
}
OVSDBConfigService ovsdbTable = (OVSDBConfigService) ServiceHelper.getGlobalInstance(OVSDBConfigService.class, this);
- Set<Integer> of_ports = intf.getOpenFlowPortColumn().getData();
+ Set<Long> of_ports = intf.getOpenFlowPortColumn().getData();
if (of_ports == null || of_ports.size() <= 0) {
logger.error("Could NOT Identify OF value for port {} on {}", intf.getName(), node);
return;
}
OVSDBConfigService ovsdbTable = (OVSDBConfigService) ServiceHelper.getGlobalInstance(OVSDBConfigService.class, this);
- Set<Integer> of_ports = intf.getOpenFlowPortColumn().getData();
+ Set<Long> of_ports = intf.getOpenFlowPortColumn().getData();
int timeout = 6;
while ((of_ports == null) && (timeout > 0)) {
of_ports = intf.getOpenFlowPortColumn().getData();
}
OVSDBConfigService ovsdbTable = (OVSDBConfigService) ServiceHelper.getGlobalInstance(OVSDBConfigService.class, this);
- Set<Integer> of_ports = intf.getOpenFlowPortColumn().getData();
+ Set<Long> of_ports = intf.getOpenFlowPortColumn().getData();
if (of_ports == null || of_ports.size() <= 0) {
logger.error("Could NOT Identify OF value for port {} on {}", intf.getName(), node);
return;
import static org.opendaylight.ovsdb.lib.operations.Operations.op;
-import java.math.BigInteger;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.ArrayList;
Map<String, String> options = null;
String type = null;
- Set<BigInteger> tags = null;
+ Set<Long> tags = null;
if (configs != null) {
type = (String) configs.get(ConfigConstants.TYPE);
Map<String, String> customConfigs = (Map<String, String>) configs.get(ConfigConstants.CUSTOM);
if (type != null) {
logger.debug("Port type : " + type);
if (type.equalsIgnoreCase(OvsVswitchdSchemaConstants.PortType.VLAN.name())) {
- tags = new HashSet<BigInteger>();
- tags.add(BigInteger.valueOf(Integer.parseInt((String)configs.get(ConfigConstants.VLAN))));
+ tags = new HashSet<Long>();
+ tags.add(Long.parseLong((String)configs.get(ConfigConstants.VLAN)));
}
}
public void setExternalIds(Map<String, String> externalIds);
@TypedColumn(name="flood_vlans", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Set<Integer>> getFloodVlansColumn();
+ public Column<GenericTableSchema, Set<Long>> getFloodVlansColumn();
@TypedColumn(name="flood_vlans", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setFloodVlans(Set<Integer> vlans);
+ public void setFloodVlans(Set<Long> vlans);
@TypedColumn(name="flow_tables", method=MethodType.GETCOLUMN, fromVersion="6.5.0")
- public Column<GenericTableSchema, Map<Integer, UUID>> getFlowTablesColumn();
+ public Column<GenericTableSchema, Map<Long, UUID>> getFlowTablesColumn();
@TypedColumn(name="flow_tables", method=MethodType.SETDATA, fromVersion="6.5.0")
- public void setFlowTables(Map<Integer, UUID> flowTables);
+ public void setFlowTables(Map<Long, UUID> flowTables);
}
public void setTarget(Set <String> target);
@TypedColumn (name = "controller_burst_limit", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
- public Column<GenericTableSchema, Integer> getBurstLimitColumn();
+ public Column<GenericTableSchema, Long> getBurstLimitColumn();
@TypedColumn (name = "controller_burst_limit", method = MethodType.SETDATA, fromVersion = "1.0.0")
- public void setBurstLimit(Integer burstLimit);
+ public void setBurstLimit(Long burstLimit);
@TypedColumn (name = "controller_rate_limit", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
- public Column<GenericTableSchema, Integer> getRateLimitColumn();
+ public Column<GenericTableSchema, Long> getRateLimitColumn();
@TypedColumn (name = "controller_rate_limit", method = MethodType.SETDATA, fromVersion = "1.0.0")
- public void setRateLimit(Integer rateLimit);
+ public void setRateLimit(Long rateLimit);
@TypedColumn (name = "connection_mode", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
public Column<GenericTableSchema, Set<String>> getConnectionModeColumn();
public void setRole(Set<String> role);
@TypedColumn (name = "inactivity_probe", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
- public Column<GenericTableSchema, Set<Integer>> getInactivityProbeColumn();
+ public Column<GenericTableSchema, Set<Long>> getInactivityProbeColumn();
@TypedColumn (name = "inactivity_probe", method = MethodType.SETDATA, fromVersion = "1.0.0")
- public void setInactivityProbe(Set<Integer> inactivityProbe);
+ public void setInactivityProbe(Set<Long> inactivityProbe);
@TypedColumn (name = "is_connected", method = MethodType.GETCOLUMN, fromVersion = "1.1.0")
public Column<GenericTableSchema, Boolean> getIsConnectedColumn();
public void setOtherConfig(Map<String, String> otherConfig);
@TypedColumn (name = "max_backoff", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
- public Column<GenericTableSchema, Integer> getMaxBackoffColumn();
+ public Column<GenericTableSchema, Long> getMaxBackoffColumn();
@TypedColumn (name = "max_backoff", method = MethodType.SETDATA, fromVersion = "1.0.0")
- public void setMaxBackoff(Integer maxBackoff);
+ public void setMaxBackoff(Long maxBackoff);
@TypedColumn (name = "local_ip", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
public Column<GenericTableSchema, Set<String>> getLocalIpColumn();
public interface FlowSampleCollectorSet extends TypedBaseTable<GenericTableSchema> {
@TypedColumn(name="id", method=MethodType.GETCOLUMN, fromVersion="7.1.0")
- public Column<GenericTableSchema, Integer> getIdColumn();
+ public Column<GenericTableSchema, Long> getIdColumn();
@TypedColumn(name="id", method=MethodType.SETDATA, fromVersion="7.1.0")
- public void setId(Integer id);
+ public void setId(Long id);
@TypedColumn(name="bridge", method=MethodType.GETCOLUMN, fromVersion="7.1.0")
public Column<GenericTableSchema, UUID> getBridgeColumn();
public interface FlowTable extends TypedBaseTable<GenericTableSchema> {
@TypedColumn(name="flow_limit", method=MethodType.GETCOLUMN, fromVersion="6.5.0")
- public Column<GenericTableSchema, Set<Integer>> getFlowLimitColumn() ;
+ public Column<GenericTableSchema, Set<Long>> getFlowLimitColumn() ;
@TypedColumn(name="flow_limit", method=MethodType.SETDATA, fromVersion="6.5.0")
- public void setFlowLimit(Set<Integer> flowLimit) ;
+ public void setFlowLimit(Set<Long> flowLimit) ;
@TypedColumn(name="overflow_policy", method=MethodType.GETCOLUMN, fromVersion="6.5.0")
public Column<GenericTableSchema, Set<String>> getOverflowPolicyColumn() ;
public void setTargets(Set<String> targets);
@TypedColumn(name="sampling", method=MethodType.GETCOLUMN, fromVersion="7.1.0")
- public Column<GenericTableSchema, Set<Integer>> getSamplingColumn();
+ public Column<GenericTableSchema, Set<Long>> getSamplingColumn();
@TypedColumn(name="sampling", method=MethodType.SETDATA, fromVersion="7.1.0")
- public void setSampling(Set<Integer> sampling);
+ public void setSampling(Set<Long> sampling);
@TypedColumn(name="obs_domain_id", method=MethodType.GETCOLUMN, fromVersion="7.1.0")
- public Column<GenericTableSchema, Set<Integer>> getObsDomainIdColumn();
+ public Column<GenericTableSchema, Set<Long>> getObsDomainIdColumn();
@TypedColumn(name="obs_domain_id", method=MethodType.SETDATA, fromVersion="7.1.0")
- public void setObsDomainId(Set<Integer> obs_domain_id);
+ public void setObsDomainId(Set<Long> obs_domain_id);
@TypedColumn(name="obs_point_id", method=MethodType.GETCOLUMN, fromVersion="7.1.0")
- public Column<GenericTableSchema, Set<Integer>> getObsPointIdColumn();
+ public Column<GenericTableSchema, Set<Long>> getObsPointIdColumn();
@TypedColumn(name="obs_point_id", method=MethodType.SETDATA, fromVersion="7.1.0")
- public void setObsPointId(Set<Integer> obsPointId);
+ public void setObsPointId(Set<Long> obsPointId);
@TypedColumn(name="cache_active_timeout", method=MethodType.GETCOLUMN, fromVersion="7.3.0")
- public Column<GenericTableSchema, Set<Integer>> getCacheActiveTimeoutColumn();
+ public Column<GenericTableSchema, Set<Long>> getCacheActiveTimeoutColumn();
@TypedColumn(name="cache_active_timeout", method=MethodType.SETDATA, fromVersion="7.3.0")
- public void setCacheActiveTimeout(Set<Integer> cacheActiveTimeout);
+ public void setCacheActiveTimeout(Set<Long> cacheActiveTimeout);
@TypedColumn(name="cache_max_flows", method=MethodType.GETCOLUMN, fromVersion="7.3.0")
- public Column<GenericTableSchema, Set<Integer>> getCacheMaxFlowsColumn();
+ public Column<GenericTableSchema, Set<Long>> getCacheMaxFlowsColumn();
@TypedColumn(name="cache_max_flows", method=MethodType.SETDATA, fromVersion="7.3.0")
- public void setCacheMaxFlows(Set<Integer> cacheMaxFlows);
+ public void setCacheMaxFlows(Set<Long> cacheMaxFlows);
@TypedColumn(name="external_ids", method=MethodType.GETCOLUMN, fromVersion="7.1.0")
public Column<GenericTableSchema, Map<String, String>> getExternalIdsColumn();
*/
package org.opendaylight.ovsdb.schema.openvswitch;
-import java.math.BigInteger;
import java.util.Map;
import java.util.Set;
public void setOptions(Map<String, String> options);
@TypedColumn(name="ingress_policing_rate", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Set<Integer>> getIngressPolicingRateColumn();
+ public Column<GenericTableSchema, Set<Long>> getIngressPolicingRateColumn();
@TypedColumn(name="ingress_policing_rate", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setIngressPolicingRate(Set<Integer> ingressPolicingRate);
+ public void setIngressPolicingRate(Set<Long> ingressPolicingRate);
@TypedColumn(name="ingress_policing_burst", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Set<Integer>> getIngressPolicingBurstColumn();
+ public Column<GenericTableSchema, Set<Long>> getIngressPolicingBurstColumn();
@TypedColumn(name="ingress_policing_burst", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setIngressPolicingBurst(Set<Integer> ingressPolicingBurst);
+ public void setIngressPolicingBurst(Set<Long> ingressPolicingBurst);
@TypedColumn(name="mac_in_use", method=MethodType.GETCOLUMN, fromVersion="7.1.0")
public Column<GenericTableSchema,Set<String>> getMacInUseColumn();
public void setMac(Set<String> mac);
@TypedColumn(name="ifindex", method=MethodType.GETCOLUMN, fromVersion="7.2.1")
- public Column<GenericTableSchema, BigInteger> getIfIndexColumn();
+ public Column<GenericTableSchema, Long> getIfIndexColumn();
@TypedColumn(name="ifindex", method=MethodType.SETDATA, fromVersion="7.2.1")
- public void setIfIndex(BigInteger ifIndex);
+ public void setIfIndex(Long ifIndex);
@TypedColumn(name="external_ids", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
public Column<GenericTableSchema, Map<String, String>> getExternalIdsColumn();
public void setExternalIds(Map<String, String> externalIds);
@TypedColumn(name="ofport", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Set<Integer>> getOpenFlowPortColumn();
+ public Column<GenericTableSchema, Set<Long>> getOpenFlowPortColumn();
@TypedColumn(name="ofport", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setOpenFlowPort(Set<Integer> openFlowPort);
+ public void setOpenFlowPort(Set<Long> openFlowPort);
@TypedColumn(name="ofport_request", method=MethodType.GETCOLUMN, fromVersion="6.2.0")
- public Column<GenericTableSchema, Set<Integer>> getOpenFlowPortRequestColumn();
+ public Column<GenericTableSchema, Set<Long>> getOpenFlowPortRequestColumn();
@TypedColumn(name="ofport_request", method=MethodType.SETDATA, fromVersion="6.2.0")
public void setOpenFlowPortRequest(String openFlowPortRequest);
public void setMonitor(String monitor);
@TypedColumn(name="cfm_mpid", method=MethodType.GETCOLUMN, fromVersion="4.0.0")
- public Column<GenericTableSchema, Set<Integer>> getCfmMpidColumn();
+ public Column<GenericTableSchema, Set<Long>> getCfmMpidColumn();
@TypedColumn(name="cfm_mpid", method=MethodType.SETDATA)
- public void setCfmMpid(Set<Integer> cfmMpid);
+ public void setCfmMpid(Set<Long> cfmMpid);
@TypedColumn(name="cfm_remote_mpid", method=MethodType.GETCOLUMN, fromVersion="4.0.0", untilVersion="5.2.0")
- public Column<GenericTableSchema, Set<Integer>> getCfmRemoteMpidColumn();
+ public Column<GenericTableSchema, Set<Long>> getCfmRemoteMpidColumn();
@TypedColumn(name="cfm_remote_mpid", method=MethodType.SETDATA, fromVersion="4.0.0", untilVersion="5.2.0")
- public void setCfmRemoteMpid(Set<Integer> cfmRemoteMpid);
+ public void setCfmRemoteMpid(Set<Long> cfmRemoteMpid);
@TypedColumn(name="cfm_remote_mpids", method=MethodType.GETCOLUMN, fromVersion="6.0.0")
- public Column<GenericTableSchema, Set<Integer>> getCfmRemoteMpidsColumn();
+ public Column<GenericTableSchema, Set<Long>> getCfmRemoteMpidsColumn();
@TypedColumn(name="cfm_remote_mpids", method=MethodType.SETDATA, fromVersion="6.0.0")
- public void setCfmRemoteMpids(Set<Integer> cfmRemoteMpids);
+ public void setCfmRemoteMpids(Set<Long> cfmRemoteMpids);
@TypedColumn(name="cfm_flap_count", method=MethodType.GETCOLUMN, fromVersion="7.3.0")
- public Column<GenericTableSchema, Set<Integer>> getCfmFlapCountColumn();
+ public Column<GenericTableSchema, Set<Long>> getCfmFlapCountColumn();
@TypedColumn(name="cfm_flap_count", method=MethodType.SETDATA, fromVersion="7.3.0")
- public void setCfmFlapCount(Set<Integer> cfmFlapCount);
+ public void setCfmFlapCount(Set<Long> cfmFlapCount);
@TypedColumn(name="cfm_fault", method=MethodType.GETCOLUMN, fromVersion="4.0.0")
public Column<GenericTableSchema, Set<Boolean>> getCfmFaultColumn();
public void setCfmRemoteOpState(Set<String> cfmRemoteOpState);
@TypedColumn(name="cfm_health", method=MethodType.GETCOLUMN, fromVersion="6.9.0")
- public Column<GenericTableSchema, Set<Integer>> getCfmHealthColumn();
+ public Column<GenericTableSchema, Set<Long>> getCfmHealthColumn();
@TypedColumn(name="cfmHealth", method=MethodType.SETDATA, fromVersion="6.9.0")
- public void setCfmHealth(Set<Integer> cfmHealth);
+ public void setCfmHealth(Set<Long> cfmHealth);
@TypedColumn(name="lacp_current", method=MethodType.GETCOLUMN, fromVersion="3.3.0")
public Column<GenericTableSchema, Set<Boolean>> getLacpCurrentColumn();
public void setOtherConfig(Map<String, String> otherConfig);
@TypedColumn(name="statistics", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Map<String, Integer>> getStatisticsColumn();
+ public Column<GenericTableSchema, Map<String, Long>> getStatisticsColumn();
@TypedColumn(name="statistics", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setStatistics(Map<String, Integer> statistics);
+ public void setStatistics(Map<String, Long> statistics);
@TypedColumn(name="status", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
public Column<GenericTableSchema, Map<String, String>> getStatusColumn();
public void setLinkResets(Set<String> linkResets);
@TypedColumn(name="link_speed", method=MethodType.GETCOLUMN, fromVersion="1.0.6")
- public Column<GenericTableSchema, Set<Integer>> getLinkSpeedColumn();
+ public Column<GenericTableSchema, Set<Long>> getLinkSpeedColumn();
@TypedColumn(name="link_speed", method=MethodType.SETDATA, fromVersion="1.0.6")
- public void setLinkSpeed(Set<Integer>linkSpeed);
+ public void setLinkSpeed(Set<Long>linkSpeed);
@TypedColumn(name="duplex", method=MethodType.GETCOLUMN, fromVersion="1.0.6")
public Column<GenericTableSchema, Set<String>> getDuplexColumn();
@TypedColumn(name="duplex", method=MethodType.SETDATA, fromVersion="1.0.6")
- public void setDuplex(Set<Integer> duplex);
+ public void setDuplex(Set<Long> duplex);
@TypedColumn(name="mtu", method=MethodType.GETCOLUMN, fromVersion="1.0.6")
- public Column<GenericTableSchema, Set<Integer>> getMtuColumn();
+ public Column<GenericTableSchema, Set<Long>> getMtuColumn();
@TypedColumn(name="mtu", method=MethodType.SETDATA, fromVersion="1.0.6")
- public void setMtu(Set<Integer> mtu);
+ public void setMtu(Set<Long> mtu);
@TypedColumn(name="error", method=MethodType.GETCOLUMN, fromVersion="7.7.0")
public Column<GenericTableSchema, Set<String>> getErrorColumn();
public void setExternalIds(Map<String, String> externalIds);
@TypedColumn (name = "max_backoff", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
- public Column<GenericTableSchema, Set<Integer>> getMaxBackoffColumn();
+ public Column<GenericTableSchema, Set<Long>> getMaxBackoffColumn();
@TypedColumn (name = "max_backoff", method = MethodType.SETDATA, fromVersion = "1.0.0")
- public void setMaxBackoff(Set<Integer> maxBackoff);
+ public void setMaxBackoff(Set<Long> maxBackoff);
@TypedColumn (name = "status", method = MethodType.GETCOLUMN, fromVersion = "1.1.0")
public Column<GenericTableSchema, Map<String, String>> getStatusColumn();
public void setStatus(Map<String, String> status);
@TypedColumn (name = "inactivity_probe", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
- public Column<GenericTableSchema, Set<Integer>> getInactivityProbeColumn();
+ public Column<GenericTableSchema, Set<Long>> getInactivityProbeColumn();
@TypedColumn (name = "inactivity_probe", method = MethodType.SETDATA, fromVersion = "1.0.0")
- public void setInactivityProbe(Set<Integer> inactivityProbe);
+ public void setInactivityProbe(Set<Long> inactivityProbe);
@TypedColumn (name = "connection_mode", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
public Column<GenericTableSchema, Set<String>> getConnectionModeColumn();
public void setSelectDstPort(Set<UUID> selectDstPrt);
@TypedColumn(name="select_vlan", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Set<Integer>> getSelectVlanColumn();
+ public Column<GenericTableSchema, Set<Long>> getSelectVlanColumn();
@TypedColumn(name="select_vlan", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setSelectVlan(Set<Integer> selectVlan);
+ public void setSelectVlan(Set<Long> selectVlan);
@TypedColumn(name="output_port", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
public Column<GenericTableSchema, Set<UUID>> getOutputPortColumn();
public void setOutputPort(Set<UUID> outputPort);
@TypedColumn (name="output_vlan", method= MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Set<Integer>> getOutputVlanColumn();
+ public Column<GenericTableSchema, Set<Long>> getOutputVlanColumn();
@TypedColumn (name="output_vlan", method= MethodType.SETDATA, fromVersion="1.0.0")
- public void setOutputVlan(Set<Integer> outputVlan);
+ public void setOutputVlan(Set<Long> outputVlan);
@TypedColumn (name="statistics", method= MethodType.GETCOLUMN, fromVersion="6.4.0")
- public Column<GenericTableSchema, Map<String, Integer>> getStatisticsColumn();
+ public Column<GenericTableSchema, Map<String, Long>> getStatisticsColumn();
@TypedColumn (name="statistics", method= MethodType.SETDATA, fromVersion="6.4.0")
- public void setStatistics(Map<String, Integer> statistics);
+ public void setStatistics(Map<String, Long> statistics);
@TypedColumn (name="external_ids", method= MethodType.GETCOLUMN, fromVersion="1.0.0")
public Column<GenericTableSchema, Map<String, String>> getExternalIdsColumn();
*/
package org.opendaylight.ovsdb.schema.openvswitch;
-import java.math.BigInteger;
import java.util.Map;
import java.util.Set;
public void setTargets(Set<String> targets);
@TypedColumn(name="active_timeout", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Set<Integer>> getActiveTimeoutColumn();
+ public Column<GenericTableSchema, Set<Long>> getActiveTimeoutColumn();
@TypedColumn(name="active_timeout", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setActiveTimeout(Integer activeTimeout);
+ public void setActiveTimeout(Long activeTimeout);
@TypedColumn(name="engine_type", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Set<BigInteger>> getEngineTypeColumn();
+ public Column<GenericTableSchema, Set<Long>> getEngineTypeColumn();
@TypedColumn(name="engine_type", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setEngineType(Set<BigInteger> engineType);
+ public void setEngineType(Set<Long> engineType);
@TypedColumn(name="external_ids", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
public Column<GenericTableSchema, Map<String, String>> getExternalIdsColumn();
public void setExternalIds(Map<String, String> externalIds);
@TypedColumn(name="active_timeout", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Set<Integer>> getActivityTimeoutColumn();
+ public Column<GenericTableSchema, Set<Long>> getActivityTimeoutColumn();
@TypedColumn(name="active_timeout", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setActivityTimeout(Set<Integer> activityTimeout);
+ public void setActivityTimeout(Set<Long> activityTimeout);
@TypedColumn(name="add_id_to_interface", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
public Column<GenericTableSchema, Set<Boolean>> getAddIdToInterfaceColumn();
public void setAddIdToInterface(Boolean addIdToInterface);
@TypedColumn(name="engine_id", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Set<BigInteger>> getEngineIdColumn();
+ public Column<GenericTableSchema, Set<Long>> getEngineIdColumn();
@TypedColumn(name="engine_id", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setEngineId(Set<BigInteger> engineId);
+ public void setEngineId(Set<Long> engineId);
}
public void setExternalIds(Map<String, String> externalIds);
@TypedColumn(name="next_cfg", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Integer> getNextConfigColumn();
+ public Column<GenericTableSchema, Long> getNextConfigColumn();
@TypedColumn(name="next_cfg", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setNextConfig(Integer nextConfig);
+ public void setNextConfig(Long nextConfig);
@TypedColumn(name="cur_cfg", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Integer> getCurrentConfigColumn();
+ public Column<GenericTableSchema, Long> getCurrentConfigColumn();
@TypedColumn(name="cur_cfg", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setCurrentConfig(Integer currentConfig);
+ public void setCurrentConfig(Long currentConfig);
@TypedColumn(name="capabilities", method=MethodType.GETCOLUMN, fromVersion="1.0.0", untilVersion="6.7.0")
public Column<GenericTableSchema, Map<String, UUID>> getCapabilitiesColumn();
public void setCapabilities(Map<String, UUID> capabilities);
@TypedColumn(name="statistics", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Map<String, Integer>> getStatisticsColumn();
+ public Column<GenericTableSchema, Map<String, Long>> getStatisticsColumn();
@TypedColumn(name="statistics", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setStatistics(Map<String, Integer> statistics);
+ public void setStatistics(Map<String, Long> statistics);
@TypedColumn(name="ovs_version", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
public Column<GenericTableSchema, Set<String>> getOvsVersionColumn();
*/
package org.opendaylight.ovsdb.schema.openvswitch;
-import java.math.BigInteger;
import java.util.Map;
import java.util.Set;
public void setInterfaces(Set<UUID> interfaces);
@TypedColumn(name="trunks", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Set<BigInteger>> getTrunksColumn();
+ public Column<GenericTableSchema, Set<Long>> getTrunksColumn();
@TypedColumn(name="trunks", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setTrunks(Set<BigInteger> trunks);
+ public void setTrunks(Set<Long> trunks);
@TypedColumn(name="tag", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Set<BigInteger>> getTagColumn();
+ public Column<GenericTableSchema, Set<Long>> getTagColumn();
@TypedColumn(name="tag", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setTag(Set<BigInteger> tag);
+ public void setTag(Set<Long> tag);
@TypedColumn(name="vlan_mode", method=MethodType.GETCOLUMN, fromVersion="6.1.0")
public Column<GenericTableSchema, Set<String>> getVlanModeColumn();
public void setLacp(Set<String> lacp);
@TypedColumn(name="bond_updelay", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Set<BigInteger>> getBondUpDelayColumn();
+ public Column<GenericTableSchema, Set<Long>> getBondUpDelayColumn();
@TypedColumn(name="bond_updelay", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setBondUpDelay(Set<BigInteger> bondUpDelay);
+ public void setBondUpDelay(Set<Long> bondUpDelay);
@TypedColumn(name="bond_downdelay", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Set<BigInteger>> getBondDownDelayColumn();
+ public Column<GenericTableSchema, Set<Long>> getBondDownDelayColumn();
@TypedColumn(name="bond_downdelay", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setBondDownDelay(Set<BigInteger> bondDownDelay);
+ public void setBondDownDelay(Set<Long> bondDownDelay);
@TypedColumn(name="bond_fake_iface", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
public Column<GenericTableSchema, Set<Boolean>> getBondFakeInterfaceColumn();
public void setStatus(Map<String, String> status);
@TypedColumn(name="statistics", method=MethodType.GETCOLUMN, fromVersion="6.3.0")
- public Column<GenericTableSchema, Map<String, BigInteger>> getStatisticsColumn();
+ public Column<GenericTableSchema, Map<String, Long>> getStatisticsColumn();
@TypedColumn(name="statistics", method=MethodType.SETDATA)
- public void setStatistics(Map<String, BigInteger> statistics);
+ public void setStatistics(Map<String, Long> statistics);
@TypedColumn(name="other_config", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
public Column<GenericTableSchema, Map<String, String>> getOtherConfigColumn();
public interface Qos extends TypedBaseTable<GenericTableSchema> {
@TypedColumn (name="queues", method= MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Map<Integer, UUID>> getQueuesColumn() ;
+ public Column<GenericTableSchema, Map<Long, UUID>> getQueuesColumn() ;
@TypedColumn (name="queues", method= MethodType.SETDATA, fromVersion="1.0.0")
- public void setQueues(Map<Integer, UUID> queues) ;
+ public void setQueues(Map<Long, UUID> queues) ;
@TypedColumn (name="type", method= MethodType.GETCOLUMN, fromVersion="1.0.0")
public Column<GenericTableSchema, Set<String>> getTypeColumn() ;
public interface Queue extends TypedBaseTable<GenericTableSchema> {
@TypedColumn (name="dscp", method= MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Set<Integer>> getDscpColumn() ;
+ public Column<GenericTableSchema, Set<Long>> getDscpColumn() ;
@TypedColumn (name="dscp", method= MethodType.SETDATA, fromVersion="6.4.0")
- public void setDscp(Set<Integer> dscp) ;
+ public void setDscp(Set<Long> dscp) ;
@TypedColumn (name="other_config", method= MethodType.GETCOLUMN, fromVersion="1.0.0")
public Column<GenericTableSchema, Map<String, String>> getOtherConfigColumn() ;
public void setExternalIds(Map<String, String> externalIds) ;
@TypedColumn(name="header", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Set<Integer>> getHeaderColumn() ;
+ public Column<GenericTableSchema, Set<Long>> getHeaderColumn() ;
@TypedColumn(name="header", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setHeader(Set<Integer> header) ;
+ public void setHeader(Set<Long> header) ;
@TypedColumn(name="polling", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Set<Integer>> getPollingColumn() ;
+ public Column<GenericTableSchema, Set<Long>> getPollingColumn() ;
@TypedColumn(name="polling", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setPolling(Set<Integer> polling) ;
+ public void setPolling(Set<Long> polling) ;
@TypedColumn(name="sampling", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Set<Integer>> getSamplingColumn() ;
+ public Column<GenericTableSchema, Set<Long>> getSamplingColumn() ;
@TypedColumn(name="sampling", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setSampling(Set<Integer> sampling) ;
+ public void setSampling(Set<Long> sampling) ;
}
\ No newline at end of file
Assert.assertNotNull(bridge);
bridge.setName(TEST_BRIDGE_NAME);
bridge.setStatus(ImmutableMap.of("key", "value"));
- bridge.setFloodVlans(Sets.newHashSet(34));
+ bridge.setFloodVlans(Sets.newHashSet(34L));
OpenVSwitch openVSwitch = this.ovs.createTypedRowWrapper(OpenVSwitch.class);
openVSwitch.setBridges(Sets.newHashSet(new UUID(TEST_BRIDGE_NAME)));
// Don't run this test if the table is not supported
Assume.assumeTrue(schemaVersion.compareTo(flowSampleCollectorSetFromVersion) >= 0);
FlowSampleCollectorSet flowSampleCollectorSet = ovs.createTypedRowWrapper(FlowSampleCollectorSet.class);
- flowSampleCollectorSet.setId(1);
+ flowSampleCollectorSet.setId(Long.valueOf(1));
flowSampleCollectorSet.setExternalIds(ImmutableMap.of("<3", "ovs"));
flowSampleCollectorSet.setBridge(OpenVswitchSchemaSuiteIT.getTestBridgeUuid());
Bridge bridge = ovs.getTypedRowWrapper(Bridge.class, null);
String overflowPolicy = "evict";
String groups = "group name";
String prefixes = "wildcarding prefixes";
- Integer flowLimit = 50000;
- Map<Integer, UUID> flowTableBrRef = new HashMap<>();
- flowTableBrRef.put(1, new UUID(flowTableUuidStr));
+ Long flowLimit = 50000L;
+ Map<Long, UUID> flowTableBrRef = new HashMap<>();
+ flowTableBrRef.put(1L, new UUID(flowTableUuidStr));
FlowTable flowTable = ovs.createTypedRowWrapper(FlowTable.class);
flowTable.setName(ImmutableSet.of(tableName));
flowTable.setOverflowPolicy(ImmutableSet.of(overflowPolicy));
Assume.assumeTrue(schemaVersion.compareTo(ipfixFromVersion) >= 0);
String ipfixUuidStr = "testIpfix";
String ipfixTarget = "172.16.20.1:4739";
- Integer obsDomainId = 112;
- Integer obsPointId = 358;
- Integer cacheMax = 132;
- Integer cacheTimeout = 134;
- Integer sampling = 558;
+ Long obsDomainId = 112L;
+ Long obsPointId = 358L;
+ Long cacheMax = 132L;
+ Long cacheTimeout = 134L;
+ Long sampling = 558L;
IPFIX ipfix = ovs.createTypedRowWrapper(IPFIX.class);
ipfix.setTargets(ImmutableSet.of(ipfixTarget));
OpenVSwitch openVSwitch = ovs.getTypedRowWrapper(OpenVSwitch.class, null);
Manager manager = ovs.createTypedRowWrapper(Manager.class);
- manager.setInactivityProbe(Sets.newHashSet(8192));
- manager.setMaxBackoff(Sets.newHashSet(4094));
+ manager.setInactivityProbe(Sets.newHashSet(8192L));
+ manager.setMaxBackoff(Sets.newHashSet(4094L));
manager.setTarget(Sets.newHashSet("172.16.50.50:6640"));
manager.setExternalIds(externalIds);
String mirrorUuidStr = "testMirror";
String mirrorName = "my_name_is_mirror";
- Integer outputVid = 1024;
- Integer selectVid = 2048;
+ Long outputVid = 1024L;
+ Long selectVid = Long.valueOf(2048);
Mirror mirror = ovs.createTypedRowWrapper(Mirror.class);
mirror.setName(ImmutableSet.of(mirrorName));
import org.slf4j.LoggerFactory;
import java.io.IOException;
-import java.math.BigInteger;
import java.util.List;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeoutException;
public void testCreateTypedNetFlow() throws InterruptedException, ExecutionException, IllegalArgumentException{
String netFlowUuidStr = "testNetFlow";
String netFlowTargets = "172.16.20.200:6343";
- BigInteger engineType = BigInteger.valueOf(128);
- BigInteger engineID = BigInteger.valueOf(32);
- Integer activityTimeout = 1;
+ Long engineType = 128L;
+ Long engineID = 32L;
+ Long activityTimeout = 1L;
NetFlow netFlow = ovs.createTypedRowWrapper(NetFlow.class);
netFlow.setTargets(ImmutableSet.of(netFlowTargets));
netFlow.setEngineType(ImmutableSet.of(engineType));
import org.slf4j.LoggerFactory;
import java.io.IOException;
-import java.math.BigInteger;
import java.util.List;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeoutException;
String intfUuidStr = "testIntf";
Port port = ovs.createTypedRowWrapper(Port.class);
port.setName("testPort");
- port.setTag(ImmutableSet.of(BigInteger.ONE));
+ port.setTag(ImmutableSet.of(1L));
port.setMac(ImmutableSet.of("00:00:00:00:00:01"));
port.setInterfaces(ImmutableSet.of(new UUID(intfUuidStr)));
* since it wouldn't add any conceivable value.
*/
String queueUuidStr = "queueUuidStr";
- Integer dscpVal = 4;
+ Long dscpVal = Long.valueOf(4);
Queue queue = ovs.createTypedRowWrapper(Queue.class);
// Example of explicit ImmutableSet/Map Attribute declaration
- ImmutableSet<Integer> dscp = ImmutableSet.of(dscpVal);
+ ImmutableSet<Long> dscp = ImmutableSet.of(dscpVal);
ImmutableMap<String, String> externalIds = ImmutableMap.of("little", "coat");
// Example of condensing the attributes bindings in one line
queue.setOtherConfig(ImmutableMap.of("war", "onfun"));
// Get the parent Qos table row UUID to insert the queue.
Qos qos = ovs.getTypedRowWrapper(Qos.class, null);
// Queue key that is mapped to the queue record/value/ofp_action_enqueue
- Integer queueKey = Integer.valueOf(0);
+ Long queueKey = 0L;
// The transaction index for the Queue insert is used to store the Queue UUID
int insertQueueOperationIndex = 0;
// Reference the Port row to insert the Queue with UID or Port name
public void testCreateTypedSflow() throws InterruptedException, ExecutionException, IllegalArgumentException{
String sFlowUuidStr = "testSFlow";
String sFlowTarget = "172.16.20.200:6343";
- Integer header = 128;
- Integer obsPointId = 358;
- Integer polling = 10;
+ Long header = 128L;
+ Long obsPointId = 358L;
+ Long polling =10L;
String agent = "172.16.20.210";
- Integer sampling = 64;
+ Long sampling = 64L;
SFlow sFlow = ovs.createTypedRowWrapper(SFlow.class);
sFlow.setTargets(ImmutableSet.of(sFlowTarget));
sFlow.setHeader(ImmutableSet.of(header));
public interface LogicalBindingStats extends TypedBaseTable<GenericTableSchema> {
@TypedColumn(name="bytes_from_local", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Integer> getBytesFromLocalColumn();
+ public Column<GenericTableSchema, Long> getBytesFromLocalColumn();
@TypedColumn(name="bytes_from_local", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setBytesFromLocal(Integer bytesFromLocal);
+ public void setBytesFromLocal(Long bytesFromLocal);
@TypedColumn(name="packets_from_local", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Integer> getPacketsFromLocalColumn();
+ public Column<GenericTableSchema, Long> getPacketsFromLocalColumn();
@TypedColumn(name="packets_from_local", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setPacketsFromLocal(Integer packetsFromLocal);
+ public void setPacketsFromLocal(Long packetsFromLocal);
@TypedColumn(name="bytes_to_local", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Integer> getBytesToLocalColumn();
+ public Column<GenericTableSchema, Long> getBytesToLocalColumn();
@TypedColumn(name="bytes_to_local", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setBytesToLocal(Integer bytesToLocal);
+ public void setBytesToLocal(Long bytesToLocal);
@TypedColumn(name="packets_to_local", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Integer> getPacketsToLocalColumn();
+ public Column<GenericTableSchema, Long> getPacketsToLocalColumn();
@TypedColumn(name="packets_to_local", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setPacketsToLocal(Integer packetsToLocal);
+ public void setPacketsToLocal(Long packetsToLocal);
}
@TypedColumn(name="tunnel_key", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Set<Integer>> getTunnelKeyColumn();
+ public Column<GenericTableSchema, Set<Long>> getTunnelKeyColumn();
@TypedColumn(name="tunnel_key", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setTunnelKey(Set<Integer> tunnelKey);
+ public void setTunnelKey(Set<Long> tunnelKey);
}
\ No newline at end of file
public void setTarget(String target);
@TypedColumn(name="max_backoff", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Set<Integer>> getMaxBackoffColumn();
+ public Column<GenericTableSchema, Set<Long>> getMaxBackoffColumn();
@TypedColumn(name="max_backoff", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setMaxBackoff(Set<Integer> maxBackoff);
+ public void setMaxBackoff(Set<Long> maxBackoff);
@TypedColumn(name="inactivity_probe", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Set<Integer>> getInactivityProbeColumn();
+ public Column<GenericTableSchema, Set<Long>> getInactivityProbeColumn();
@TypedColumn(name="inactivity_probe", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setInactivityProbe(Set<Integer> inactivityProbe);
+ public void setInactivityProbe(Set<Long> inactivityProbe);
@TypedColumn(name="other_config", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
public Column<GenericTableSchema, Map<String, String>> getOtherConfigColumn();
@TypedColumn(name="vlan_bindings", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Map<Integer, UUID>> getVlanBindingsColumn();
+ public Column<GenericTableSchema, Map<Long, UUID>> getVlanBindingsColumn();
@TypedColumn(name="vlan_bindings", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setVlanBindings(Map<Integer, UUID> vlanBindings);
+ public void setVlanBindings(Map<Long, UUID> vlanBindings);
@TypedColumn(name="vlan_stats", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
- public Column<GenericTableSchema, Map<Integer, UUID>> getVlanStatsColumn();
+ public Column<GenericTableSchema, Map<Long, UUID>> getVlanStatsColumn();
@TypedColumn(name="vlan_stats", method=MethodType.SETDATA, fromVersion="1.0.0")
- public void setVlanStats(Map<Integer, UUID> vlanStats);
+ public void setVlanStats(Map<Long, UUID> vlanStats);
@TypedColumn(name="port_fault_status", method=MethodType.GETCOLUMN, fromVersion="1.1.0")