1515 Commits

Author SHA1 Message Date
Madan Jampani
6677edb07a Reverting back to java 1.7 2014-10-29 15:45:55 -07:00
Jonathan Hart
29858af463 Add an empty topology at initialization so we can never have a null topology
Change-Id: I07921583e107895aeeb627f7d61920fed800e77c
2014-10-29 15:33:18 -07:00
Pavlin Radoslavov
52307e60ba IpAddress and IpPrefix related cleanup:
* Removed IpAddress.MAX_INET_MASK and use IpPrefix.MAX_INET_MASK_LENGTH
   instead
 * Renamed IpAddress.INET_LEN to INET_BYTE_LENGTH
 * Added IpAddress.INET_BIT_LENGTH, INET6_BYTE_LENGTH, and INET6_BIT_LENGTH
 * Removed methods that are semantically incorrect, or are not needed/used
   - IpAddress.prefixLength()
   - IpAddress.toPrefix()
   - IpAddress.mask()
   - IpAddress.netmask()
   - IpAddress.network()
   - IpAddress.host()
   - IpAddress.isMasked()
   - IpAddress.contains()
   - IpPrefix constructor for version and bytes (but no netmask)
   - IpPrefix.valueOf(int)

 * Misc. other cleanup.
2014-10-29 15:07:37 -07:00
Madan Jampani
a5012891b4 Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next 2014-10-29 13:48:03 -07:00
Madan Jampani
5f9ec9ac28 Netty Messaging changes:
1. Lowered the timeout value for expiring unanswered sendAndReceive calls to 10s.
2. Marking the future as complete (with exception) when a entry is evicted due to timeout.
3. Improved exception behavior.
2014-10-29 13:45:52 -07:00
Thomas Vachuska
51c82ba2cf Merge remote-tracking branch 'origin/master' 2014-10-29 13:04:50 -07:00
Thomas Vachuska
88dbd49542 Updated optical.py to allow parametrized topologies. 2014-10-29 13:04:27 -07:00
Yuta HIGUCHI
6a529232f6 Change ProviderId.NONE to none:none
Change-Id: I556f5cdbb555d195950985cdbd4dab538132a154
2014-10-29 12:21:31 -07:00
Thomas Vachuska
6fa1753219 Merge remote-tracking branch 'origin/master' 2014-10-29 12:19:20 -07:00
Tom Tofigh
fad498b06b adding parametrized optical topo to test/topos
Change-Id: I508656e12db611d6e525e37a73f8b1f0faea5e0d
2014-10-29 12:09:35 -07:00
Thomas Vachuska
dcadc2b24c Added a command to upload onos topology JSON configuration. 2014-10-29 12:03:29 -07:00
Thomas Vachuska
ef5a809573 Merge remote-tracking branch 'origin/master' 2014-10-29 11:28:48 -07:00
Thomas Vachuska
425a2d757f Modified intent compilers to only chose paths that are appropriate to the type of intent, i.e. packet or optical. 2014-10-29 11:28:28 -07:00
Ayaka Koshibe
317245a6db add check for duplicate MastershipEvents to DeviceManager
Change-Id: I2753366b29ef32fa77ebcefff4b2202f1afe0006
2014-10-29 11:15:59 -07:00
Ayaka Koshibe
e60d452eda avoid transient changes to MastershipStore from being posted as events
Change-Id: Id033cf50f865e44439138f5b3814ebaedb832b73
2014-10-29 11:15:59 -07:00
Jonathan Hart
61d4ebc7ca Added CLI command to view address bindings
Change-Id: I1f1ac8ec7766691fb7dadee33a6f75cc560b0da8
2014-10-29 11:08:40 -07:00
Simon Hunt
cc26756bf7 Added sample switch data, and augmented selection logic to fetch the detail data from the server.
Also used styled table for displaying properties.
2014-10-29 10:22:17 -07:00
Jonathan Hart
ec2df013ed Fixed a few intent synchronization issues.
Also added a CLI command to test SDN-IP primary switchover.

Change-Id: Id31f79262a2b607f987adad2fdb3eb54eb939fea
2014-10-29 09:39:35 -07:00
Yuta HIGUCHI
b87ef9587d human readable time representation for toString
Example:
 LinkEvent{time=2014-10-28T23:24:23.461, ...

Change-Id: I439cea488afd97dfa4f1c1e5770f2e2d7b64d321
2014-10-28 23:34:23 -07:00
Yuta HIGUCHI
ea15015f7c convert anonymous class to nested class
Change-Id: I2d0770b80ca4806fabf31fd358ecb165d3e9f778
2014-10-28 22:55:14 -07:00
Yuta HIGUCHI
72569d6571 remove synchronized
Change-Id: I1a11e48d042797744a4ac834fd65f6417c700f57
2014-10-28 22:40:01 -07:00
Yuta HIGUCHI
71fa493b96 Add TODO memo
Change-Id: I2ae516383b02516b8d36e1f23331f81b57569ac5
2014-10-28 22:27:49 -07:00
Yuta HIGUCHI
56df70f929 Added debug log
Change-Id: Icc86bb91a382fd2d9bb013b9d6d30e0f45ffad74
2014-10-28 22:26:15 -07:00
Yuta HIGUCHI
4b52444082 DistributedFlowRuleStore related fixes
- handle no master for Device case
- Changed failed item type to FlowRule

Change-Id: If6c85751759cf6ba9ab0ed0384cbe1bf08a5d572
2014-10-28 22:23:57 -07:00
Yuta HIGUCHI
fca9f499d8 fix stats reply handler
Change-Id: Ibd218affcd3c5a2f1467c0954d0ecfdfb4a20baa
2014-10-28 21:45:38 -07:00
Simon Hunt
c586e216a1 Added fly-in detail pane. 2014-10-28 21:24:08 -07:00
Yuta HIGUCHI
087019ba56 register some Intent related classes
Change-Id: I71ec0c7db930ffb9a1f2bc3da7c3de2f598ee5ee
2014-10-28 21:08:33 -07:00
Simon Hunt
f967d51662 Added styling to unpinned nodes.
Also wired up the radio buttons to suppress nodes/links appropriately.
2014-10-28 20:34:29 -07:00
Simon Hunt
9a16c8211c Pin nodes at end of mousedrag.
Allow nodes to be unpinned by hovering over and pressing 'U'.
2014-10-28 17:48:54 -07:00
Simon Hunt
6f376a3f0a Changed hosts to small circles (rather than labeled rectangles), and updated collision prevention code appropriately.
Removed hover-selection mode (will replace with tooltips later).
Added flyout div (hidden for now).
2014-10-28 17:48:54 -07:00
Marc De Leenheer
631ffce5b0 Support optical port status via OFExperimenter type 0x748771 2014-10-28 16:29:07 -07:00
Thomas Vachuska
bd8c988f24 Merge remote-tracking branch 'origin/master' 2014-10-28 15:53:35 -07:00
Thomas Vachuska
c0bbbd4f89 Allowing link stores to create links injected by ancillary providers.
Fixed oe-linc config
2014-10-28 15:53:30 -07:00
Yuta HIGUCHI
10a31c3b85 initial Distributed IntentStore using Hz
Change-Id: Iffb3f5fdfe8ba080fd039e67f8473ea18348f20d
2014-10-28 14:42:06 -07:00
Pingping
f5d90939a7 IntentSync test without state
The current Router class does not check the Intent state.
So I did not add the state in this patch.
I will push another patch for testing the intent state.

Change-Id: Idb44dcace5f33a0144852a999445931bc2189448
2014-10-28 14:05:17 -07:00
Thomas Vachuska
ce2474aa91 Revised copyright message. 2014-10-28 13:40:49 -07:00
Thomas Vachuska
4f1a60c9fd Revised copyright message. 2014-10-28 13:39:11 -07:00
Thomas Vachuska
92f4361692 Merge remote-tracking branch 'origin/master' 2014-10-28 13:09:46 -07:00
Thomas Vachuska
444eda6066 Added JSON for role command. 2014-10-28 13:09:42 -07:00
Jonathan Hart
d4a8bba682 Changed back to using apply-actions in 1.3 because LINC-OE doesn't support write-actions
Change-Id: I5fcd386d329d1d520da31098c81f25c5cd877c1f
2014-10-28 12:44:20 -07:00
Toshio Koide
9be539e079 Preparing implementation of link resource data store. 2014-10-28 11:07:52 -07:00
Yuta HIGUCHI
e550584ab2 Eclipse formatter/clean up action configuration
Change-Id: I88ddd541c7a5bb6930a19c756f5afa8994b34364
2014-10-28 10:55:40 -07:00
Pavlin Radoslavov
444b519327 Replaced the usage of IpPrefix with IpAddress in the context of
Controller Nodes.

Change-Id: Id2b25fb071bb20541db3f77b7afefe886520538e
2014-10-28 10:45:19 -07:00
Simon Hunt
d35961bc18 Added keydown handler.
Some refactoring.
Cleaned up debug configuration.
Links now clipped to edges of node rectangles.
Updated ONOS icon (just a placeholder for now)
2014-10-28 10:31:55 -07:00
Madan Jampani
15cd0b8fd3 Netty bug fix: Do not use weakValues in a cache where we track outstanding responses. 2014-10-28 08:40:23 -07:00
Thomas Vachuska
e0f804aa3f Added application ID store; both trivial and distributed variants. 2014-10-27 23:40:48 -07:00
Yuta HIGUCHI
92891d1c20 add basic backup to DistributedFlowRuleStore
Change-Id: I8eedf0cf30a2555d45145889b5ef210e826b0ac0
2014-10-27 22:52:29 -07:00
Pavlin Radoslavov
e7b5bd768c Updated creation of IpAddress instance inside IpPrefixTest
to exclude specifying the prefix length, because it is not
applicable for IpAddress.
2014-10-27 20:17:24 -07:00
Pavlin Radoslavov
3f4ccb286d Updated the IpAddress serialization/deserialization
inside class IpAddressSerializer to exclude reading/writing
the prefix length for IpAddress, because it is not applicable.
2014-10-27 20:15:10 -07:00
Thomas Vachuska
4e45ccd7d1 Added a standalone utility to convert ONOS topology JSON config to OELinc JSON config. 2014-10-27 20:03:46 -07:00