getPendingGroupKeyTable(deviceId); for (Group group:pendingGroupRequests.values()) { GroupDescription tmp = new DefaultGroupDescription( group.deviceId(), group.type(),
GroupDescription groupDescription = new DefaultGroupDescription(deviceId, groupType, buckets, groupKey, groupIdInt, appId);
new DefaultGroupDescription( deviceId, GroupDescription.Type.ALL,
final GroupKey l3MulticastGroupKey = new DefaultGroupKey(Ofdpa2Pipeline.appKryo.serialize(l3MulticastIndex)); GroupDescription l3MulticastGroupDesc = new DefaultGroupDescription(deviceId, GroupDescription.Type.ALL, new GroupBuckets(l3McastBuckets),
case ADD: GroupDescription groupDesc = new DefaultGroupDescription(deviceId, GroupDescription.Type.ALL, new GroupBuckets(Collections.singletonList(bucket)),
Ofdpa2Pipeline.appKryo.serialize(l3ecmpIndex)); GroupDescription l3ecmpGroupDesc = new DefaultGroupDescription( deviceId, GroupDescription.Type.SELECT,
final GroupKey key = new DefaultGroupKey( appKryo.serialize(nextObjective.id())); GroupDescription groupDescription = new DefaultGroupDescription( deviceId, GroupDescription.Type.SELECT, appKryo.serialize(nextObjective .id())); GroupDescription groupDescription = new DefaultGroupDescription( deviceId, GroupDescription.Type.ALL,
}); final GroupKey key = new DefaultGroupKey(APP_ID.getBytes()); GroupDescription groupDescription = new DefaultGroupDescription(deviceId, GroupDescription.Type.ALL, new GroupBuckets(buckets),
/** * Creates a new failover group with the initial ports of the links * from the primary and backup path. * * @param links links from the primary path * @param backupLinks links from the backup path * @param intent intent from which this call originates */ private void createFailoverTreatmentGroup(List<Link> links, List<Link> backupLinks, PointToPointIntent intent) { List<GroupBucket> buckets = new ArrayList<>(); TrafficTreatment.Builder tBuilderIn = DefaultTrafficTreatment.builder(); ConnectPoint src = links.get(0).src(); tBuilderIn.setOutput(src.port()); TrafficTreatment.Builder tBuilderIn2 = DefaultTrafficTreatment.builder(); ConnectPoint src2 = backupLinks.get(0).src(); tBuilderIn2.setOutput(src2.port()); buckets.add(DefaultGroupBucket.createFailoverGroupBucket(tBuilderIn.build(), src.port(), null)); buckets.add(DefaultGroupBucket.createFailoverGroupBucket(tBuilderIn2.build(), src2.port(), null)); GroupBuckets groupBuckets = new GroupBuckets(buckets); GroupDescription groupDesc = new DefaultGroupDescription(src.deviceId(), Group.Type.FAILOVER, groupBuckets, makeGroupKey(intent.id()), null, intent.appId()); log.trace("adding failover group {}", groupDesc); groupService.addGroup(groupDesc); }
new DefaultGroupDescription( deviceId, GroupDescription.Type.SELECT,
DefaultGroupBucket.createIndirectGroupBucket(newTreatment.build()); GroupDescription l2InterfaceGroupDescription = new DefaultGroupDescription( deviceId, GroupDescription.Type.INDIRECT,
final GroupKey key = new DefaultGroupKey(appKryo.serialize(nextObjective.id())); GroupDescription groupDescription = new DefaultGroupDescription(deviceId, GroupDescription.Type.INDIRECT, new GroupBuckets(Collections
Ofdpa2Pipeline.appKryo.serialize(l3vpnIndex)); GroupDescription l3vpnGroupDesc = new DefaultGroupDescription( deviceId, GroupDescription.Type.INDIRECT,
outerGrpDesc = new DefaultGroupDescription( deviceId, GroupDescription.Type.INDIRECT, outerGrpDesc = new DefaultGroupDescription( deviceId, GroupDescription.Type.INDIRECT, DefaultGroupBucket.createIndirectGroupBucket(innerTtb.build()); GroupDescription l2groupDescription = new DefaultGroupDescription( deviceId, GroupDescription.Type.INDIRECT,
outerGrpDesc = new DefaultGroupDescription( deviceId, GroupDescription.Type.INDIRECT, outerGrpDesc = new DefaultGroupDescription( deviceId, GroupDescription.Type.INDIRECT, DefaultGroupBucket.createIndirectGroupBucket(innerTtb.build()); GroupDescription l2groupDescription = new DefaultGroupDescription( deviceId, GroupDescription.Type.INDIRECT,
GroupDescription updatedGroupDesc = new DefaultGroupDescription( oldGroup.deviceId(), oldGroup.type(),