3538 Commits

Author SHA1 Message Date
Srikanth Vavilapalli
10e75cd1dc ONOS-1443: Group bucket statistics support and group CLI formatting
Change-Id: Iaa6d8ae1f9222eb9c29d14bf1615a7449e50c4d3
2015-04-14 21:06:44 +00:00
Srikanth Vavilapalli
4db76e300f ONOS-685: Network Configuration Manager support for Segment Routing application
Change-Id: Ia15bfd24559dd5542633c8b76d500b2d31362340
2015-04-14 21:06:43 +00:00
Ayaka Koshibe
fd26a3055c Create local storage for topic candidates mapping. This also includes:
- using Optional in Leadership, and some commenting.
 - using MutableBooleans + compute()

    part of: Device Mastership store on top of LeadershipService
    Reference: ONOS-76

Conflicts:
	core/api/src/main/java/org/onosproject/cluster/LeadershipService.java
	core/store/dist/src/main/java/org/onosproject/store/consistent/impl/DistributedLeadershipManager.java

Change-Id: I7f090abb123cf23bb5126a935a6e72be00f3e3ce
2015-04-14 20:58:10 +00:00
Thomas Vachuska
9ed335bad1 GUI -- Added facility to upload and track various sprite JSON definitions. WIP
Change-Id: I5629e07d84b91d2d885737a9011acc4e13538cf2
2015-04-14 12:07:47 -07:00
Jonathan Hart
43d9f7a7a5 Remove deprecated openflow host and link providers
Change-Id: I9dbaa28a70998b6265a178bb459a56221f458b75
2015-04-14 17:24:04 +00:00
Ray Milkey
b0352416ed ONOS-1602 - JSON output for cfg command in CLI
Change-Id: I439ea0982cc487417cd1d1a797d7f671ae6797f8
2015-04-14 17:23:32 +00:00
Thomas Vachuska
583bc63a60 Consolidated link list into bidirectional links. Re-ordered views. Took-out builtin views from injected html snippets.
Change-Id: I8de62b50e437ee6f49a9f2ce9ce6f26bb1e0a6a5
2015-04-14 10:10:57 -07:00
Bri Prebilic Cole
9fb594aea9 GUI -- Base Link View added -- WIP.
Change-Id: Iad0bb3d4a796b420d0fcb071812d320c35941b6b
2015-04-14 09:15:54 -07:00
Marc De Leenheer
171c2e863d PortNumber also backed by port name
Change-Id: Id47781be714bf1efe7d008c8e97ab172177a85f9
2015-04-14 08:33:44 +00:00
Thomas Vachuska
c40d463c27 Consolidating null providers and making them fully configurable and integrated with the ConfigProvider to allow arbitrary topologies.
Change-Id: I899e27a9771af4013a3ce6da7f683a4927ffb438
2015-04-14 01:23:24 -07:00
alshabib
a28f69af70 FlowObjectiveManager not activated by default.
Caused the Corsa Driver to be triggered and provision
incorrect set of rules.

Change-Id: I96eadeb0eeac9ef94e6187be08faf68b0aa8caaf
2015-04-14 05:12:14 +00:00
Simon Hunt
2052e5da2f GUI -- Cleaned up sprite definition format in JSON.
- Implemented sprite layer in topology view.

Change-Id: I0861641684df12202d6ccd069d89375a8005d4a8
2015-04-13 17:40:58 -07:00
Madan Jampani
ec5ae341db Use the Executor interface when specifying where to handle incoming messages
This is done so that one can simply specify a direct executor.
Change-Id: I1c3ea977dd7c2d604588d587fd67f7012355eedf
2015-04-13 23:43:52 +00:00
Madan Jampani
22fa5cbcec Fix Kryo serialization memory leak
Change-Id: I122cb811971aef1a70a73c3335b485125125c66b
2015-04-13 23:42:46 +00:00
Saurav Das
cfd63d2783 Adding more filtering objectives from the router application and handling them
in the corsa-pipeline driver

Change-Id: I3598b84ce25df97c10b33c6f1fdfc76421499046
2015-04-13 23:29:44 +00:00
Bri Prebilic Cole
384e8dc157 GUI -- Base Cluster View implemented. Bug fixed of table bodies not being wide enough.
Change-Id: Iebf43c87c91404eb443ae1a098b56575ca9959fe
2015-04-13 15:51:14 -07:00
Bri Prebilic Cole
b699a162da GUI -- Finished Device Details Panel.
- Cleaned up front and backend
- modified table row select callback to take the click $event (in app and device view)
- panel has device glyph
- closing panel deselects clicked on row

Change-Id: I42c372c74fd9fd417ceff01e424f754ea2559595
2015-04-13 12:01:52 -07:00
Madan Jampani
2bfa94cf15 Revamped ClusterCommunicationService API
Change-Id: I9326369de3d2413b0882b324979d10483c093de9
2015-04-13 16:51:24 +00:00
Bri Prebilic Cole
0feedc0260 GUI -- WIP Device View details panel. Egress Links backend added, updated FnService, added CSS for panel, populates panel with properties and a close button.
Change-Id: Ia510b1e47fecc9140adcb1596c365a4114784b88
2015-04-12 23:29:06 +00:00
Thomas Vachuska
f9e0d17d5a Enhanced application name completer to consider the command context.
Change-Id: Ib77a53830d4b6d14ef99115309ea25707a8281b4
2015-04-12 08:29:14 -07:00
Simon Hunt
9c1c45e144 GUI -- Revamp of the Glyph Service to allow for custom viewboxes to be defined for registered glyphs/sprites.
- Also, initial sketch for externally injected sprite definition and placement.
- Added 'cloud' sprite data.

Change-Id: I1c38d50212a6d67e00e9b7c15427f6e0af40b539
2015-04-11 02:31:52 +00:00
Thomas Vachuska
facc3f5ba8 Enhancing the driver subsystem to allow retrieving originating data/handler contexts from the behaviours.
Change-Id: I973888190d569e7e147376b5ae4da9d2f2d9c620
2015-04-11 00:42:17 +00:00
Ray Milkey
1cdfd8edc7 More ONOS-1612 - Fix NPEs if compenent lookup fails
Change-Id: Icc881cc79e75b7c44bcaa925b266396a93b60dbe
2015-04-11 00:40:20 +00:00
Sho SHIMIZU
fcf861a06a Refactor: Flip condition to reduce the depth of indentation
Change-Id: I572a989730a8dd93b5ab7ee63b37bc9d728c17e7
2015-04-11 00:39:18 +00:00
Sho SHIMIZU
2c05f91d66 Refactor: Use descriptive methods when comparing Timestamps
Change-Id: I938f1db98c3d6868da73b5f3e8e01e7a787260c1
2015-04-11 00:38:59 +00:00
Sho SHIMIZU
94b03b11cd Sweep deprecated todo comment
Change-Id: I6140aa38aff475424e44c6597599703776530f4d
2015-04-11 00:38:41 +00:00
Sho SHIMIZU
25d843cf7c Insert a blank line after the description in Javadoc
Change-Id: Id83ef1bf434e3f99fd2aedd91f10da0d7f98e4cb
2015-04-11 00:38:04 +00:00
alshabib
a3a476d1c4 reinstating the key field in FilterObjectives
Change-Id: I25f7d105edd562785cb213f747e7d9e0650f2635
2015-04-11 00:37:36 +00:00
alshabib
1097c978fb Only process pending objectives if there are any.
Change-Id: Ibb34dce32e0bfc55b317036130ead2c1babbaeac
2015-04-11 00:37:06 +00:00
Sho SHIMIZU
d2e78f9804 Remove unnecessary modifiers to follow the convention
Change-Id: Ie8ff539252df6ed9df5ff827d639166a78fbf18d
2015-04-10 23:03:19 +00:00
Sho SHIMIZU
d493625192 Fix typo
Change-Id: I4ad0311a9d54f4bf7bb8b58e0e57a8f51839f091
2015-04-10 15:03:57 -07:00
Ray Milkey
fb6655e138 ONOS-1612 - CLI completer for property names
Change-Id: Id3667f885d5d473385531308ffd486991136bfde
2015-04-10 10:51:46 -07:00
Jon Hall
e3f0fcf112 Avoid NPE in cfg command
- Avoid NPE when a component has no configurable property or doesn't exist
    - Specificly use a numeric value for SharedExecutors.DEFAULT_POOL_SIZE so
      the value appears in cfg command
    - Also use print instead of system.err since it is being redirected
      away from the console

Change-Id: Ib73016b1a9282493f0c5c8c217dd33292eac4ba4
2015-04-10 09:40:36 -07:00
alshabib
910aff10a7 WIP: Initial implementation of filterObjectives using driver subsystem.
Incomplete implementation

Change-Id: I3745d481027659d4ca44b72139e5461c02e8c3ef
2015-04-09 16:57:18 -07:00
sangho
538108bae8 ONOS-1440: Implements port statistics feature, which polls port statistics of all devices every 10 seconds. Also, implemented a simple portstats ONOS CLI command to show the statistics.
Change-Id: I57e046ae2c2463a58b478d3a5b523422cde71ba2
2015-04-09 22:43:41 +00:00
Simon Hunt
ee7a3ce33f GUI -- toggle state for some of the topo buttons, now persisted via cookie.
Change-Id: Ie80c840635fcc7b87705d73abf77b7bc6df03f18
2015-04-09 20:33:18 +00:00
alshabib
975617b709 ImmutableMap.Builder does not allow for duplicate keys, causes build() to fail.
Change-Id: I235ec0f802b3befbfa3e6338e8bd28814eb868c4
2015-04-09 13:26:53 -07:00
Srikanth Vavilapalli
6a9d4e4447 ONOS-1433: Avoid two EC maps for same data with different keys
Change-Id: I2377507e52fa1942cbea247c2f9d08d8f0587f22
2015-04-09 19:30:52 +00:00
Jonathan Hart
cc36be8bb0 Don't use exceptions for commonly-used logic
+ javadocs

Change-Id: Ib4d886e10996273855ab5784dc4a0d86f5b11103
2015-04-09 11:56:54 -07:00
sangho
b35a619131 ONOS-686, 687, 1344 : The first commit for the Segment Routing application
- ICMP/ARP/IP handlers are implemented as a part of the application for now
 - Default routing and link add/failure/recovery are also supprted
 - Temporary NetworkConfigHandler, which is hardcoded to support only 6 router FISH topology, is used for test
 - Some fixes on GroupHanlder app to support transit routers
 - Supports multi-instance (tested with two instances)

Change-Id: Idfa67903e59e1c4cac4da430f89cd4c50e821420
2015-04-09 18:24:33 +00:00
Jonathan Hart
ca335e9366 Add persistence option to ECMap
Work towards ONOS-1337

Change-Id: I24e6a42e2f8856b363e79786829c51344797b81b
2015-04-09 18:17:45 +00:00
Thomas Vachuska
5c2f813575 Device driver framework enhancements and CLI.
Change-Id: I5dea67620259797eff89a985718934034a86d63e
2015-04-09 18:17:09 +00:00
Thomas Vachuska
b0317c6a3f Fixed javadoc warning; added shared executor/timer wrappers to prevent inadvertent shutdown; added shutdown to CoreManager.deactivate.
Change-Id: I27f31b5d41050d6d87cd6419ab863201c4585843
2015-04-09 18:11:17 +00:00
alshabib
429477825c implemented a distributed default flow registration mechanism to avoid duplicate requests from other onos instances
Change-Id: Ib2abb483456538e3e08e9790c4b4b0d50db8b384

implemented a distributed default flow registration mechanism to avoid
duplicate requests from other onos instances

Change-Id: I620cc51ac29cddaffa73cdbb20e9a9acbdd9ea69
2015-04-09 18:01:02 +00:00
Jonathan Hart
af53b601c2 Use initctl commands rather than service to control the ONOS service.
This supports a wider variety of OSes other than just Ubuntu.

Change-Id: Ib8505aa504f568ffdc556b20fb1d07a082d90229
2015-04-09 18:00:32 +00:00
Ayaka Koshibe
c19b8b84fd DistributedLeadershipManager tracks topic election candidates in addition to
leaders. Includes update to leaders CLI command to list candidates.

part of: Device Mastership store on top of LeadershipService
Reference: ONOS-76

Conflicts:
	core/store/dist/src/main/java/org/onosproject/store/consistent/impl/DistributedLeadershipManager.java

Change-Id: I587bb9e9ad16a9c8392969dde45001181053e5e6
2015-04-09 17:57:51 +00:00
Ray Milkey
a0cecdc9cf Fix for ONOS-1595 - return proper status (405) when using an unsupported method
Change-Id: I66fe2d4783364d5a5b8cccba15115c818ed3a3b3
2015-04-09 17:55:52 +00:00
Charles M.C. Chan
197a012bf4 Refactor org.onlab.packet.{TCP,UDP,ICMP6}
- ONOS-1012: Fix TCP checksum when using IPv6
- ONOS-1013: Fix UDP checksum when using IPv6
- ONOS-1593: Remove get/setTcpChecksum
- Remove unnecessary parameter of getUrgentPointer() in TCP
- Complete javadoc for TCP
- Add unit test for {TCP,UDP,ICMP6}

Change-Id: Iad5eeb35812ede6764a9a9a4a57b9837e5ea5dd6
2015-04-09 17:47:03 +00:00
HIGUCHI Yuta
5bb99a4015 Add support to decode Device, Port, Link JSON.
- Device, Port, Link can now be encoded and decoded back to Java Object,
  which will be Object#equals to the original.
- Modified DeviceServiceAdapter to be null-safe when possible
- Modified JSON assertion/matcher not to check for exact number of attributes

Change-Id: I7cf02e2254cf17f6265fb15847912519e564b14f
2015-04-09 06:08:29 +00:00
alshabib
4313d10f47 fix bug when a device disconnects. Issue was due to null roleinfo in event
Change-Id: I12d371382931ef4ab93f25f32ed6e4786735f55a
2015-04-08 21:54:07 -07:00