alshabib
5dc5a343c2
kick off link discovery only for available devices
...
Change-Id: Ibdec36f5f44a84fa692250d84fdb21c7ddaa42b6
2014-12-04 06:48:24 +00:00
Pavlin Radoslavov
369c643802
Use two thread pools for handling the OpenFlow STATS and BARRIER messages.
...
This fixes a problem where a large number of incoming STATS messages
is practically using all available threds from the pool (16), and
there are no available threads to handle the BARRIER messages.
Change-Id: I1130eb8f3b5a17d5d3a7825f32da68eacb99569a
fixing other threadpool issues, ie. not using cachedThreadPool
Change-Id: I40ef10e1f704aef779b2a23c0497dfb7992520eb
2014-12-04 02:06:53 +00:00
Praseed Balakrishnan
db8a9d21f9
Fix serializer exception while using optical intent on distributed store
...
Change-Id: If19a0c12eb0d88d2daa57c16fb1b626b7c0f428f
2014-12-03 21:44:22 +00:00
alshabib
fd629e8584
Devices should not be disconnected when an instance shuts down.
...
Change-Id: I0864c1f79b52e021c4ebbcd3a5bdb3eb7c3f1614
2014-12-03 21:39:32 +00:00
alshabib
64def641af
aggregate flow replies on io thread
...
Change-Id: I622290f213ee830cfab7e4bd4ad7a52f612b475e
2014-12-03 09:07:40 +00:00
Brian O'Connor
abafb50f58
Changing org.onlab.onos package to org.onosproject
...
Change-Id: Ic81421faa27acdcff045add47d9e0a715cd4f575
2014-12-02 22:26:20 -08:00
Brian O'Connor
03defe7939
Moving org/onlab/onos to org/onosproject
...
Change-Id: I742627fe0862cac78391cf70010f99dc26dce1e6
2014-12-02 22:22:39 -08:00
alshabib
afc514afde
when a switch vapourizes so must its ports
...
Change-Id: Ibcbcc47f691c24897985978a39da9dba6411ba2a
disable a port which is deleted
Change-Id: Ic6e0cb0a9901a6589b587aeb89bfc1b302d17516
2014-12-02 01:06:00 +00:00
Thomas Vachuska
82041f5ec7
Added a number of demo-related artifacts. Enhanced GUI a bit.
...
Change-Id: I4501cb338f9eab07420fb60e347167deda5074be
2014-12-01 07:34:01 +00:00
alshabib
bfc6b72eb0
small fix to unregister devicelistener in HostLocationProvider to avoid an NPE
...
Change-Id: Ib14a484713f07d6ce5275fe10404aa9714467945
2014-11-29 21:02:24 +00:00
Yuta HIGUCHI
82e5326b23
For ONOS-356
...
- Add current InstallationFuture information on TimeoutException
- Set timeout values propotional to batch size
- Fix for ConcurrentModificationException
- Check if src/dst is part of the graph before path computation
Change-Id: Iabeac7939c52502b83bf9ebcbe2023539de3ae99
2014-11-28 19:00:56 -08:00
Yuta HIGUCHI
804a4bb06a
InstallationFuture: latch after setting error info
...
Change-Id: Ib7d1f01228a792707a865f71f19c0d3fa96dc1f0
2014-11-28 19:00:56 -08:00
Yuta HIGUCHI
f1f2ac051d
Construct GraphDescription with online/active Device/Link only
...
Change-Id: I9312c0c8ae190bf0200bd040823b6f7a3e7a15e1
2014-11-27 04:08:49 +00:00
Pavlin Radoslavov
119fd5c5a5
Javadoc fixes.
...
Change-Id: Ic2cef19a6f1af9916c8615c9319cc122d9da5383
2014-11-26 03:17:20 +00:00
Jonathan Hart
1f8e0d760c
Add a case to handle 1.3 set-field actions when parsing flow entries.
...
The handling is not actually implemented, I just want to suppress the log
message for now. I have a task on Jira to actually implement this: ONOS-333
Change-Id: I9b230e7c602a61f3c2a0c35ae04ae06e305cd439
2014-11-25 23:57:50 +00:00
Jonathan Hart
58682ddc5e
Lower log level of frequently-executed flow stats code
...
Change-Id: I2901a8ede86531677d506c54f7ee2878ef62bb49
2014-11-25 18:01:21 +00:00
Jonathan Hart
cf7832077b
Changed back to used Apply Actions to find the actions
...
Change-Id: Ia08d60d623656bb12c8380d7ca0597a7fc4e89ce
2014-11-24 19:16:25 -08:00
Yuta HIGUCHI
bcac4995df
Flatten MastershipTermService
...
Change-Id: Ic75b7376f7436c76f69127d6137577ec2fc09d2b
2014-11-23 16:17:07 -08:00
Brian O'Connor
427a1760d4
Updating Intent Manager to deal with failures.
...
Added ids to Flow batch futures.
Adding some basic unit tests for IntentManger
Adding failedIds to the completedOperation in FlowRuleManager
Change-Id: I7645cead193299f70d319d254cd1e82d96909e7b
2014-11-23 16:16:34 -08:00
Yuta HIGUCHI
91768e30e5
Kryo related fixes
...
- KryoNamespace to allow control over registration id
Change-Id: Idc2a0e27a09916657c725ee97e4366109144cc66
2014-11-22 19:35:28 -08:00
Ayaka Koshibe
ccfa94caef
LLDPLinkProvider listens to MastershipEvents
...
Change-Id: Iaa3655c680a8fc93921f0b83dc4fc16311222bf9
2014-11-20 20:48:40 -08:00
Yuta HIGUCHI
faf9e1c3b0
Lower log level
...
- periodic non-error log to trace
- Host event to debug
Change-Id: I1a3e746f4cafe72dbaa648ac379a0548a93445e4
2014-11-20 10:08:43 -08:00
Ayaka Koshibe
78bcbc1227
remove dependency on Devices for handling MastershipEvents
...
Change-Id: Ie1670e77d3eee5dbd597f574ebe16d687e7b551e
2014-11-19 15:39:08 -08:00
Thomas Vachuska
33601601f3
Added ability to remove host by CLI and by the provider on device/port down events.
...
Change-Id: I28de4b6b5bbfb5a00f35e1808bcd916369d7d1a4
2014-11-19 15:04:43 -08:00
Yuta HIGUCHI
ac2972a4a4
OpenFlowDeviceProvider: tolerate initial switch-add failures
...
- Initial switch add error should not prevent OFDProvider from activating
Change-Id: Id965aeaf8262a8b6a06c7d3f4af15593660f2f06
2014-11-18 15:17:32 -08:00
Ray Milkey
241b96accd
Fix high priority findbugs reported issues
...
Fixed some code that was reporting findbugs errors
Implemented a suppression mechanism for findbugs
reported errors and a suppression file.
Change-Id: Ie8a2e84cc57ec6ddfa14d782ee89feb095b9dd59
2014-11-17 16:38:30 -08:00
Praseed Balakrishnan
8c67d17142
MPLS label selector and treatment
...
Change-Id: Id1fba1e04155e6d97de4c8fd95573641537f1b7a
2014-11-15 10:42:36 -08:00
Thomas Vachuska
9b2da21522
Fixing flow rule batches
...
Problem should now be fixed. Hashing on enums last is a bad
idea because the enum value could be 0.
Change-Id: Ib29e90b393b5285be2807729b52e69b121340f09
2014-11-11 17:08:14 -08:00
Yuta HIGUCHI
34198588c2
LinkDiscovery: check if Stopped before starting scheduled task.
...
Change-Id: I6c967525e61d1942efbe6aa221f89f9adebbd464
2014-11-10 16:24:58 -08:00
Brian O'Connor
e4adf24970
remove actions from flowmod delete
...
Change-Id: I8cf6e940faf28b4f796e820827c307bf3c65ef16
2014-11-09 02:46:26 -08:00
Pavlin Radoslavov
ff894a2fcb
Use Ip4Address and Ip4Prefix inside FlowEntryBuilder when dealing
...
with IPv4 source or destination.
Change-Id: Ia9084c2361b296d8636052e859c2a2d1516a4a11
2014-11-05 16:09:35 -08:00
Pavlin Radoslavov
23e398d804
Updated the Flow Mod builders (FlowModBuilder, FlowModBuilderVer10,
...
and FlowModBuilderVer13) to use Ip4Address and Ip4Prefix
instead of the generic IpAddress and IpPrefix when handling
IPv4 source and destination.
Change-Id: If35d735efe4cf557c79dc04eccf38f6a909e4506
2014-11-05 15:17:57 -08:00
Ray Milkey
7808105d8c
Add unit test for Instructions class and improve Criteria toString() test
...
Change-Id: Ie1ffb4ca0c0bcd168625213fecbdb3818a61704e
2014-11-05 12:36:36 -08:00
Pingping
32fa30cce1
port SdnIpTest.java to onos-next
...
Change-Id: Iec9de810b168e3fbc8f1aa447778d3883fba03a1
2014-11-05 10:43:38 -08:00
Yuta HIGUCHI
3225578be4
LinkDiscovery: only reschedule if not requested to stop
...
Change-Id: If2ac04fbc81afec95137fbdbe22afa0c7f826e4a
2014-11-04 22:48:45 -08:00
Yuta HIGUCHI
5c94727a3c
javadoc fixes
...
Change-Id: I3b4fc2d99f42b2413a535fb411b9c19bdd186ad8
2014-11-03 21:39:21 -08:00
Praseed Balakrishnan
5c324331e3
Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next
2014-11-03 14:56:44 -08:00
Praseed Balakrishnan
2dd5abd17f
Optical Treatment to include SigType
2014-11-03 14:56:28 -08:00
Yuta HIGUCHI
3e848a8eb8
add methods to directly set MacAddress
...
Change-Id: Idab9dce493927d8943789177830df630f3b1326a
2014-11-03 09:29:59 -08:00
Yuta HIGUCHI
548153202c
Changed argument from Device -> DeviceId
...
- roleChanged(), isReachable()
Eventually consistent nature of Device store was
interfering with mastership control.
Change-Id: I9c0dd846a4e30863f922f6706c6cb62fd7c83f29
2014-11-01 09:45:23 -07:00
Yuta HIGUCHI
802d0e81f3
check switch connection before probing
...
Change-Id: I7f53866d8863e7335bb19a5bee80967c4ce0070c
2014-10-31 23:21:39 -07:00
Yuta HIGUCHI
69a27353f0
move isConnected to OpenFlowSwitch interface
...
Change-Id: I08d1746dc05464135cabe31888f6bb3eac9c15d5
2014-10-31 23:21:39 -07:00
Yuta HIGUCHI
d19f6706a6
extract DeviceId
...
Change-Id: I1379ca26846e75b1c60fc523cae87539b3fa22db
2014-10-31 23:21:39 -07:00
Pavlin Radoslavov
d0e32d7486
Added support for IPv6 addresses to class IpAddress:
...
- For some of the methods, the IP Version needs to be specified by the
caller. This applies to the IpPrefix API as well.
- For now, everywhere IpAddress is used and the IP version has to be
explicitly specified by the caller, we assume/specify IPv4.
- Added unit test for class IpAddress: for both IPv4 and IPv6 addresses.
2014-10-31 18:11:43 -07:00
Ayaka Koshibe
3ef2b0db6c
vertical feedback path for Role replies
...
Change-Id: I31bdb85f90901ec79147adeea0df8ceae00ed1dc
2014-10-31 14:02:54 -07:00
Thomas Vachuska
4b42077418
Cleaned up a slew of Javadoc errors in preparation for switch over to Java 8.
2014-10-30 16:46:17 -07:00
Pavlin Radoslavov
855ea2d5b9
Refactor the IpPrefix API and implementation:
...
* Now IpPrefix uses IpAddress to represent the subnet address
* The IpPrefix subnet address is masked-out by the prefix length.
E.g., IpPrefix("1.2.3.4/24") is now stored as IpPrefix("1.2.3.0/24")
* Removed IpPrefix methods that are not used or don't apply anymore
* Replaced usage of IpPrefix with IpAddress where appropriate
2014-10-30 15:32:39 -07:00
Jonathan Hart
4f1ba09655
Lowered log level for common log
...
Change-Id: I4b60a4537a1398517ce403a37d2e6513bfb0b963
2014-10-29 17:50:48 -07:00
Thomas Vachuska
98eda53b6b
Added back the MBPS divisor for port speeds.
2014-10-29 17:31:02 -07:00
Thomas Vachuska
1e426e9e37
Added Port.Type and plumbed it throughout.
2014-10-29 17:26:25 -07:00