701 Commits

Author SHA1 Message Date
Thomas Vachuska
6b7920ddaf Measuring topology performance. Fixing a defect that caused us to run w/o accumulator when config file was not present.
Change-Id: I5ad538b8a441cd6ff2aefea49a0def10b8e0f4d5
2014-11-26 09:02:50 +00:00
Thomas Vachuska
e4b6bb2515 Intents are now removed after being withdrawn.
Change-Id: I7574fe94add00abf58c71c6122bb3dc5aafa0f79
2014-11-26 04:31:14 +00:00
Pavlin Radoslavov
119fd5c5a5 Javadoc fixes.
Change-Id: Ic2cef19a6f1af9916c8615c9319cc122d9da5383
2014-11-26 03:17:20 +00:00
Thomas Vachuska
5bde31ffec Fixing various issues and re-tuning.
Change-Id: I8822fcf77cfa507788241c5bda98ef4741b284b4
2014-11-26 00:25:14 +00:00
Ray Milkey
37f6a381e1 Unit test refactoring
- removed tests no longer useful now that all Intent objects are unique
- fixed intent object equality tests
- enabled several immutable base class tests
- renamed several Test....java classes to ...Test.Java to
  match project best practices

Change-Id: Ic829d6d39556d2f63323f5e82f3807dba86c62ec
2014-11-25 23:19:34 +00:00
Sho SHIMIZU
75a5bd9007 Change return type of groupId() in FlowRule not to misusing underlying type
Change-Id: Ide90973380f79046650bc372b9ecee00cb290f6a
2014-11-25 21:53:26 +00:00
Sho SHIMIZU
e3cc0b9f45 Enhance StatisticService to allow filtering by Application ID and Group ID
Resolve ONOS-205

Change-Id: Ie9318a5ade943bd8e47fb92ee856b7ebead5022e
2014-11-25 21:53:26 +00:00
Ray Milkey
e97ede9548 ONOS-239 Retrigger compilation when new resources are available
When an intent is withdrawn and frees up resources, trigger
recompilation of any failed intents to allow the ones waiting
for resources to be installed.

Change-Id: Ic15678378ce41516a7eab890b4b4898aeb901f78
2014-11-25 21:52:58 +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
Yuta HIGUCHI
a22f69f28a Slice out MetricsHelper/Util
Change-Id: Ic6848f47d38550b78ebd6cdcf414305e54408882
2014-11-25 06:49:43 +00:00
Yuta HIGUCHI
fe4367a708 IntentManager: lower log level to dump details
Change-Id: Ib0e1d34d45c9df9369b6ad28c6c86e47987f9366
2014-11-25 05:50:48 +00:00
Brian O'Connor
520c052e36 Changing Intent Ids to use explicit id assignment
Change-Id: I5a4bff87842c37a869e7691b353529eaefc929db
2014-11-25 05:49:35 +00:00
alshabib
2be9bea97d adding specified treatments when uninstalling intents
Change-Id: I4a200a6df9fce048321846c6df9b9e79457f7dfd
2014-11-24 17:27:17 -08:00
Jonathan Hart
7466d61447 Null checking in packet-out mechanism.
If the switch has recently disconnected, we can get some NullPointerExceptions.

Change-Id: Ia5a854ed5cd6a933974c855e7297faa542626d9e
2014-11-24 17:09:53 -08:00
Ray Milkey
a505e4f175 Fix typo in path not found exception text
Change-Id: Ia964a60c25eab2372d0d788c13fb1314f1a17279
2014-11-24 11:54:08 -08:00
Yuta HIGUCHI
6a46283219 metrics command to dump all the Metric in the system.
- Add probe to measure the time spent querying for Mastership.

Change-Id: I48fe37568a3261ee5b6229a3884e42a3a741b407
2014-11-24 08:32:19 -08:00
Michele Santuari
4a33807957 SinglePoint to MultiPoint Intent initial implementation
Change-Id: I1010997ce4ea993ae34afb8dab4b6c0ae112448d
2014-11-23 18:09:11 -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
Sho SHIMIZU
3908fde0c5 Fix ONOS-151 to support installation of PointToPointIntent
- Now support installation of PointToPointIntent that specifies the same
  switches as source element ID and destination element ID

Change-Id: If206f3fde77ca198fe1df078e7292a05e5bd7424
2014-11-21 14:52:45 -08:00
Ayaka Koshibe
ccfa94caef LLDPLinkProvider listens to MastershipEvents
Change-Id: Iaa3655c680a8fc93921f0b83dc4fc16311222bf9
2014-11-20 20:48:40 -08:00
Brian O'Connor
392619e5aa adding group id for intent flows
Change-Id: I256e15fe53834b2604fe3466fc0bf415abb46872
2014-11-20 14:49:30 -08:00
alshabib
5c05f86154 only apply passed actions to last flowrule in p2pintent
Change-Id: I7a9fbc0c9abdd709aef22f0ccdbf6437b3d7907e
2014-11-19 18:31:53 -08:00
alshabib
c3de1bc62d fix in the point to point intent to take into account existing treatments
Change-Id: I9e2fdde93a435a383bbab5dc1bb890e1f0d88433
2014-11-19 17:59:09 -08:00
Praseed Balakrishnan
00dd1f9a6c Fix for optical re-reoute
Change-Id: Iad3ca0e175cb76f66ac276981f4e36bb580566c8
2014-11-19 17:22:26 -08:00
Ayaka Koshibe
78bcbc1227 remove dependency on Devices for handling MastershipEvents
Change-Id: Ie1670e77d3eee5dbd597f574ebe16d687e7b551e
2014-11-19 15:39:08 -08:00
Brian O'Connor
e2ff25a13c Serializing batch execution on per-instance basis for intents
Change-Id: Idda3f4a65e78567302d91ba0070e78d435eea8fd
2014-11-19 11:02:18 -08:00
Jonathan Hart
c9d7673be5 Cleaned up inconsistency in OpticalConnectivityIntent API.
Change-Id: I76b629aa8f4cf95a224da49780b3eca275b9acfc
2014-11-18 11:21:17 -08:00
Brian O'Connor
772852ac32 Some fixes for the optical app
Change-Id: Ib3e317ad080d822ac41b1cf113ba388a7ce78316
2014-11-17 16:07:43 -08:00
Thomas Vachuska
912bdd5450 Adding configurability to the even accumulator for the topology provider.
Change-Id: I35ede9a62782dc6a2e55b8895aeec6ece8836960
2014-11-17 15:23:47 -08:00
Brian O'Connor
fa81eaef06 Refactored intent framework to deal with batches.
There is still work to be done, but for now, submit, withdraw and reroute are working.

Change-Id: Ib94cf8c4be03786cc070f402d1f296f5dfa6588b
2014-11-17 14:46:09 -08:00
weibit
00c94f5533 update and get available link resource consindering existing linkAllocations
Change-Id: Iee93253d253ff38d23630a2c5ac9c0a14329d92f
2014-11-16 16:14:13 -08:00
Thomas Vachuska
57126feac1 Sketching out what link-state addition would look like; quite easy until we get to the distributed store.
Added unit tests to provide durable-nondurable transitions.
FIxed issue where link could be accidentally activated.
Renamed parameter.

Change-Id: I8aa19a6583ec50dbf28769995f0a8ea9be9a4daa
2014-11-15 11:14:47 -08:00
Yuta HIGUCHI
72669c4713 DeviceManager: lowering harmless log level
Change-Id: I0913b0c7b352d4a53a72ee7cc8a4781da722973c
2014-11-13 14:54:16 -08:00
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