Move AAA app to OLT
Change-Id: Ie1e41353177c8755f25bca1476b41df1f2826288
diff --git a/src/main/java/org/onosproject/aaa/AAA.java b/src/main/java/org/onosproject/aaa/AAA.java
index e7b3603..f46c2fc 100644
--- a/src/main/java/org/onosproject/aaa/AAA.java
+++ b/src/main/java/org/onosproject/aaa/AAA.java
@@ -232,6 +232,14 @@
selector.matchEthType(EthType.EtherType.EAPOL.ethType().toShort());
packetService.requestPackets(selector.build(),
CONTROL, appId);
+
+ TrafficSelector radSelector = DefaultTrafficSelector.builder()
+ .matchEthType(EthType.EtherType.IPV4.ethType().toShort())
+ .matchIPProtocol(IPv4.PROTOCOL_UDP)
+ .matchUdpDst((short) 1812)
+ .matchUdpSrc((short) 1812)
+ .build();
+ packetService.requestPackets(radSelector, CONTROL, appId);
}
/**
@@ -241,6 +249,14 @@
TrafficSelector.Builder selector = DefaultTrafficSelector.builder();
selector.matchEthType(EthType.EtherType.EAPOL.ethType().toShort());
packetService.cancelPackets(selector.build(), CONTROL, appId);
+
+ TrafficSelector radSelector = DefaultTrafficSelector.builder()
+ .matchEthType(EthType.EtherType.IPV4.ethType().toShort())
+ .matchIPProtocol(IPv4.PROTOCOL_UDP)
+ .matchUdpDst((short) 1812)
+ .matchUdpSrc((short) 1812)
+ .build();
+ packetService.cancelPackets(radSelector, CONTROL, appId);
}
/**