Sho SHIMIZU
de8e6b5040
WIP: Fix ONOS-151 bug that raises exception when the same switch is designated
...
Now PointToPointIntentCompiler can handle the intent designates two
different ports belonging to the same switch.
Change-Id: Ie1ef4463fec0fc45a216bdb384792cc453a582c8
2014-11-13 14:18:28 -08:00
Jonathan Hart
1f793a71f2
Fix for proxy ARP to allow multiple ports on the same external subnet
...
Change-Id: I892d14d7181b5f50e05c6b1b6bcce514700273c5
2014-11-13 10:54:59 -08:00
Yuta HIGUCHI
2210282957
ONOS-197: Ignore Link with missing Device
...
- Catch, log, and skip Link edge creation failure.
- log topology error details
Change-Id: I3cd44a86ed6641c49923f6ed4d2dbaf1f97511d0
2014-11-13 09:59:35 -08:00
Yuta HIGUCHI
adac04a72d
Support LinkResource related serialization
...
- DefaultLinkResourceRequest
- DefaultLinkResourceAllocations
Change-Id: I8ebb32d5cb96c8465a23a9a512d2e8a56b6fce56
2014-11-13 00:42:17 -08:00
alshabib
aa7e7deae5
adding getFlowRulesByGroupId to the flowservice
...
Change-Id: Idfcc86277b28af99e201f3bdfdf139217d77244c
2014-11-12 19:20:44 -08:00
Ray Milkey
c4100e9529
Flow id test was in the wrong package
...
Change-Id: Id2d155500fe9f25051f82fe550ca41ac64d671ef
2014-11-12 15:54:04 -08:00
Thomas Vachuska
98ebd1bb6d
Merge "Unit tests for FlowId class."
2014-11-12 15:43:01 -08:00
Thomas Vachuska
c379fa54d4
Merge "Remove null check because of guarantee of non-null"
2014-11-12 15:42:26 -08:00
Ray Milkey
506455f368
Unit tests for FlowId class.
...
Change-Id: Ic281d5a17da9d8623473a0dfe2b29ba3cd07724f
2014-11-12 15:19:42 -08:00
Ray Milkey
02093df742
Move unit tests to be in the same package as the classes they are testing
...
Change-Id: I785d70753dd9e02083ac32ed78ecba5515aa9f71
2014-11-12 14:27:43 -08:00
Sho SHIMIZU
aaaa9630a6
Remove null check because of guarantee of non-null
...
Change-Id: I447532cae2f8cf801a8560e20e74df94f2f5e5ec
2014-11-12 13:34:05 -08:00
Yuta HIGUCHI
9e11ac0c46
MastershipManager: lower log level
...
Change-Id: Iad51d87740ca08d3286be9bbb02b408cf8c4e97d
2014-11-12 10:40:59 -08:00
Yuta HIGUCHI
f1ccee8d59
FlowRule : handle Future failure and timeouts.
...
Change-Id: Ie945b7ee936ae48ec3205592c309baebe8538ce0
2014-11-11 20:40:40 -08:00
Thomas Vachuska
dee20dd35a
Merge "Filter paths not satisfying the specified constraints"
2014-11-11 19:17:33 -08:00
Yuta HIGUCHI
63323fd036
DeviceManager: background process checking mastership
...
Change-Id: I215a2f6b585077847821b9e36953c53e43fde6c3
2014-11-11 18:47:48 -08:00
Sho SHIMIZU
9909d177f5
Filter paths not satisfying the specified constraints
...
Change-Id: I683ba7cdfa3b792dda51a0bb45d7b000666c8c54
2014-11-11 18:34:45 -08:00
Thomas Vachuska
2498c0b549
Merge "Fixing flow rule batches"
2014-11-11 17:16:51 -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
Ray Milkey
930fc663c5
Add unit tests fir DefaultFlowEntry class
...
Also fixed a bug where the error DefaultFlowEntry was not setting the
timestamp.
Change-Id: Ic23e91926605ea7c166b244d8352b58347844a5f
2014-11-11 16:13:28 -08:00
Ray Milkey
1e20711a9c
Unit tests for the DefaultFlowRule class
...
- added a method to the immutable class checker for
immutable classes used as base classes
- fixed a typo in spelling of a constructor parameter
in DefaultFlowRule
Change-Id: I8991c1eadcc990040bb97a02c1027b4708a4f58d
2014-11-11 11:11:05 -08:00
Thomas Vachuska
6acd3bbc83
Miscellaneous clean-up of provider IDs.
...
Change-Id: If7b3adf96425f8a655ea9af07b6da27a1a66a6f2
2014-11-10 20:35:16 -08:00
Thomas Vachuska
2683761416
Merge "Refactor: Improve null safety and simplify branch conditioin"
2014-11-10 20:05:13 -08:00
Ray Milkey
8d3ce43a84
Unit Tests for Bandwidth and Lambda allocations
...
These tests are for checking the valid path calculation logic
in the intent compilers and the PathIntent installer.
Change-Id: I2986729ae27202a2f42a71e64a53026383ddfb0b
2014-11-10 17:32:29 -08:00
Sho SHIMIZU
5653151088
Refactor: Improve null safety and simplify branch conditioin
...
Change-Id: I0b8fdf34dcdd1914175ab21f7542d8e85cea7047
2014-11-10 15:27:49 -08:00
Thomas Vachuska
4830d390a9
Added server-side code to create host-to-host intent. Still WIP.
...
Change-Id: I80626aa9ecb38802ddca4be3bce3def85ccfdb88
2014-11-09 18:17:24 -08:00
Thomas Vachuska
10ac63b61e
Decreasing event accummulator times.
...
Change-Id: Ida8d6d63286eedb96ef8d9bc777d6cf392e32511
2014-11-07 16:19:45 -08:00
Ray Milkey
40f50b96a6
Reenable tests cases that were turned off
...
Change-Id: I4211d0e5ed92e7e4e66e2a8391e917d43dcef97c
2014-11-07 15:29:25 -08:00
Yuta HIGUCHI
0c6e184044
Trigger MastershipEvent on no more master case
...
Change-Id: Iaac7b7d021802e7470df061dad719dcdf0e4b73e
2014-11-05 23:49:24 -08:00
Thomas Vachuska
65d1294434
Merge "Make logger static final variable"
2014-11-05 18:46:37 -08:00
Ray Milkey
460f40251c
ONOS-22 - Add Constraints to CLI Commands
...
Added optional --lambda and --bandwidth operations to command
line for host to host, point to point, and multi point to
single point intents
Fixed intent compilers to add constraints to the PathIntents they
create
Change-Id: I25510d401118feba493f51ecddc72d770d8ae3e3
2014-11-05 16:45:47 -08:00
Sho SHIMIZU
8b5051d202
Make logger static final variable
...
Change-Id: I1ea7f3bb9a74a1b1f139512f3d253a1916b30c3e
2014-11-05 15:22:03 -08:00
Pavlin Radoslavov
5b5dc48d9c
Updated the ProxyArpManager to use Ip4Address instead of
...
the more generic IpAddress.
The ProxyArpManager is defined and works only for IPv4, hence
we should use the concrete IPv4 addresses.
Change-Id: Ie43ca17ce03ea86d2efb6b33f55a5dcafb2ab985
2014-11-05 14:48:08 -08:00
Thomas Vachuska
b14c77af79
Fixed a number of javadoc warnings and cleaned up aggregate javadocs.
2014-11-04 18:08:01 -08:00
Thomas Vachuska
edc944c3fc
adding constaints to intent API
2014-11-04 15:42:52 -08:00
Jonathan Hart
a887ba8ae0
Refactored the HostStore to allow multiple MAC addresses bound to a single port
...
Change-Id: Icd3b2e483b15486251ac1cca107478a012d1a3e7
2014-11-03 17:14:10 -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
2fcb40ce06
FlowRule subsystem bugfixes
...
- RULE_ADDED will be posted when the Flow was confirmed by stats,
even if they were installed as a batch
- Properly handle batch in Simple store
Change-Id: I0a0e15b29ff9c0d56d5a646e0751511d73c8f552
2014-11-03 14:49:27 -08:00
Yuta HIGUCHI
3e848a8eb8
add methods to directly set MacAddress
...
Change-Id: Idab9dce493927d8943789177830df630f3b1326a
2014-11-03 09:29:59 -08:00
Brian O'Connor
fe0f4b1c3a
Adding resource-{available,allocated} CLI commands and lots of toStrings
...
Change-Id: Ib23eda2d9feb523e23dc33fb437994267b4cc555
2014-11-02 00:34:10 -07: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
d26354db11
revisiting DeviceManager role handling
...
Change-Id: If7765b38e2eda99ca210316429a8e65d482c2791
2014-10-31 23:21:39 -07:00
Yuta HIGUCHI
2d3cd31c61
log message fixes in DeviceManager
...
Change-Id: Ia07cfa936d171a31c619e1ee13d6df5f80d7e629
2014-10-31 23:21:38 -07:00
Yuta HIGUCHI
13c0b87df5
Add API in DeviceClock*Service to check if Timestamp can be issued.
...
- check local DeviceClockProviderService before trying to
store Port update information.
Change-Id: I22c94cb712d7001a227497b723780b6db3fbdf04
2014-10-31 23:21:38 -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
Brian O'Connor
41718fced1
Applied some fixes to Intents
...
- Use classname instead of class in IntentId
- Added hashcode and equals to LambdaResourceAllocation
- Untrack resources in IntentManger during uninstall
- Refactored common code in OpticalPathIntentInstaller
- Copied SimpleLinkResourceStore to DistributedLinkResourceStore
- Added a few unserializable files to KryoNamespaces
Change-Id: Ic35d102244972d5cf0c64482fd99e8c9bb1293a6
2014-10-30 16:59:19 -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
Yuta HIGUCHI
d40e950c71
use termService field
...
Change-Id: I56998905db4f0403e8c244937a788555dea37823
2014-10-30 15:43:45 -07:00
Thomas Vachuska
96f4d47578
Merge remote-tracking branch 'origin/master'
2014-10-30 14:10:57 -07:00