3538 Commits

Author SHA1 Message Date
Sho SHIMIZU
9f4aa09490 Apply multi-catch to reduce duplication
Change-Id: Ic42335acadb3422034d9396066fc92791632af61
2015-01-27 23:21:16 +00:00
Thomas Vachuska
683b31b7f9 Creating tools to aid in ONOS release process.
Change-Id: I6fba9c6cfbd943fead7005fa09eba2d7af6ac821
2015-01-27 22:29:02 +00:00
Thomas Vachuska
d9813e66b1 Fixing and enhancing the build and release tools.
Change-Id: Ia780762d70bc681751749ef0fd5a1954d6a637e1
2015-01-27 20:15:51 +00:00
Bri Prebilic Cole
4c89177cd0 GUI -- Updated TableService to use d3 table creation methods.
Change-Id: I318ee4e81624118a82c52efe380213c661b743c5
2015-01-27 12:01:39 -08:00
Simon Hunt
fd1231a0a6 GUI -- Refactored Topo View to move websocket code into TopoEventService.
- now it is more properly encapsulated.

Change-Id: Ib5cb88acf63e78be648ff45e737c76041b53e44b
2015-01-26 22:14:51 -08:00
Simon Hunt
bb596362db GUI -- First pass at TopoEventService - to encapsulate sending/receiving events from server.
Change-Id: I604d63a715f1ee25ca7ed05bacccb9eb8d65a0f4
2015-01-26 21:27:42 -08:00
Bri Prebilic Cole
5c2cab98ab GUI -- TableService can take a div, config object, and data object in order to programmatically render and load data into a table. Test functions added.
Change-Id: I585cee8331612be984ca7ead2829525af7f3d3e5
2015-01-26 15:42:42 -08:00
Jonathan Hart
23b5a763bc Add resources into intent toString() outputs.
Change-Id: Id3903a89e77073c5fa74b48851716b95adfc72de
2015-01-26 23:21:30 +00:00
Simon Hunt
c4ae83038d GUI -- Fixed broken table-spec unit tests.
Change-Id: I3b4d777a3f514759a2b19e442ad320280f46e5b4
2015-01-26 14:22:48 -08:00
Simon Hunt
54442fac5f GUI -- Implemented Panel Service.
Change-Id: I5e60c6ffa5676bc11f7312681af7bca85b4f8036
2015-01-26 14:17:45 -08:00
Jonathan Hart
229794bebc Fixed couple of GossipIntentStore bugs.
* Register Collections.emptyList() in Kryo (some intents contain this)
 * Other stores set INSTALL_REQ state implicitly when a CREATE_INTENT
   batchwrite is received, so we should do this too. 

Change-Id: I19167ab0d3c7b98c32d5af9198843ff33b7c8a23
2015-01-26 22:07:12 +00:00
Ray Milkey
521d3709dc Removed prototype REST resource
Change-Id: I3edf7b7e1b4f8e7b1d26b3c5945e614da328014d
2015-01-26 12:29:41 -08:00
Ray Milkey
3f02569dde Use JsonBodyWriter directly rather than converting JSON to strings first
Change-Id: I2facf51d0bf9b6ea4ccb47b0ac4214af203982a1
2015-01-26 11:50:49 -08:00
Ray Milkey
c401e6e3c6 ONOS-792 Unit tests for Topology REST GET APIs
Change-Id: I2e82b9b9b6133ba80aa8f02df582f867b924a641
2015-01-26 19:07:56 +00:00
Bri Prebilic Cole
aa8d2ed957 GUI -- TableService can take a div, config object, and data object in order to programmatically render and load data into a table. Test functions added.
Change-Id: I95f82108d7bb4f84a701b49e0e419afbdbac6f14
2015-01-26 10:18:16 -08:00
Thomas Vachuska
9ea3e6f477 ONOS-841 Renaming ONOS threads to simplify profiling.
Change-Id: I83a96bd875a0af9f3b78c06a9f9107c093b8e64e
2015-01-23 16:34:22 -08:00
Ray Milkey
f25d1353d3 Fix Javadoc warnings
Change-Id: I857d8bd7d9fc0862f3c0097d3e65cbedfb997b0f
2015-01-23 15:47:00 -08:00
Ray Milkey
82e5031545 ONOS-792 - topology related REST GET APIs
- GET /topology
- GET /topology/clusters
- GET /topology/cluster/{clusterId}
- GET /topology/cluster/{clusterId}/devices
- GET /topology/cluster/{clusterId}/links
- GET /topology/broadcast/{connectPoint}
- GET /topology/infrastructure/{connectPoint}

Change-Id: I2a5053b9e7f8bb7f4e3daa4b82b31376a47578cf
2015-01-23 21:51:12 +00:00
Thomas Vachuska
c31d9f1dcc ONOS-745 Refactoring topology to compute only broadcast tree and not pre-compute paths.
ONOS-744 Refactoring graph search to allow requesting max number of paths.

Change-Id: I28467246b92df32ebb3155c45774ecc051fdd3dd
2015-01-23 12:57:34 -08:00
Simon Hunt
988934ec2d GUI -- Start of implementation of Panel Service.
Change-Id: I2729acc88c7130172587856f1af80ca0d66e4c5b
2015-01-23 11:49:24 -08:00
Simon Hunt
3b0916b2e7 GUI -- Implemented sendEvent() in WsEventService.
Change-Id: Iac4833e66e7688e490b24b4cbaca3514a59ce618
2015-01-23 11:06:56 -08:00
Bri Prebilic Cole
093739a751 GUI -- Created onosWidget module and TableService with respective Karma Test file.
Change-Id: I0b164877bcd70503d126ccfe19e03a96d6b84b56
2015-01-23 10:29:51 -08:00
Jonathan Hart
dac3008f5f Remove unused IntentStore write APIs.
All write operations now come through the batchWrite API.

Change-Id: I982c5f785bf108dc2c9716db5ed744882d88aa55
2015-01-23 18:26:41 +00:00
Simon Hunt
acf410ba9d GUI -- Cleaned up websocket callback wrapping and beefed up unit tests.
Change-Id: I3457e7d8009d0c7ebb900d06ae01c59cf7370cba
2015-01-23 10:05:54 -08:00
Ayaka Koshibe
8851ed97c7 Trim whitespaces before and after .cfg file arguments.
Change-Id: Iaf165b4e289075376deab806d3c7c15169e3dca7
2015-01-23 17:47:04 +00:00
Ray Milkey
82895d772b Fix typo in help string
Change-Id: I86b774dfe59ef8659657bbbad295fd8840f80f5e
2015-01-23 08:46:49 -08:00
Ayaka Koshibe
0cd4282c8e NullLinkProvider only generates links between local devices.
Reference: ONOS-835

Change-Id: Icc378a053e54f2a3ffa0f29abd01782b80588239
2015-01-23 06:56:00 +00:00
Pavlin Radoslavov
492cc3ab10 Fix startup dependency between features onos-app-config and onos-app-sdnip:
* Expose NetworkConfigReader as a service - NetworkConfigService
 * Add reference within SdnIp to NetworkConfigService

This fixes bug ONOS-735

Change-Id: I85cdd0ce0a4f6293e8a5633bddd140a23ecddc10
2015-01-23 06:33:02 +00:00
Sho SHIMIZU
7446da93e0 Modify unit test for serializing FlowRuleBatchEntry
Change-Id: Ifdd3b7fcbb37a9d304154c46ad2628aead626a00
2015-01-23 04:38:18 +00:00
Sho SHIMIZU
346609609a Fix typo in Javadoc comment
Change-Id: I7b99179a9e4b5a0e2249b802a940532004c8969c
2015-01-22 17:58:44 -08:00
Simon Hunt
970e7fda20 GUI -- WebSocket object now decodes message payload as JSON on behalf of the consumer.
Change-Id: If27679b2c4d3beaed6aee96233ca4856b673ab72
2015-01-22 17:46:28 -08:00
Simon Hunt
bb920fdd5a GUI -- Added ability to define an alternate port for WS - used to connect to mock web-socket server. Topo view can use query string '?wsport=8123' for example.
Change-Id: Ie34d557b9580d58239380010e8d58233998a78ca
2015-01-22 17:06:39 -08:00
Jonathan Hart
5573d3243d Initial implementation of GossipIntentStore.
Create/update operations are implemented and working in 2-node cluster.
No remove operations yet.

Change-Id: Ief68c9d5c3bb483823b6f92d29fa83df0ab7b58f
2015-01-23 00:58:08 +00:00
Simon Hunt
a7a129cd08 GUI -- Oops! Location of map data changed...
Change-Id: I4a7ed7c9797a791d4b6ca42b5fb6532c6d032dc6
2015-01-23 00:55:37 +00:00
Bri Prebilic Cole
e7399f3bd3 GUI -- Cleaned up code for practice scrollable table, added tableHeight as a parameter to the directive.
Change-Id: I2f2187e0b1a8a4fdb2d05187bb1d708724aeca99
2015-01-23 00:54:42 +00:00
Sho SHIMIZU
c0e8bfa98e Revert "Use Optional instead of null to remove FIXME comment"
This reverts commit 9639df7bcf1bda1ebb22fe7d2850708992ccc38b.
This is due to the regression described in ONOS-825.

Change-Id: I2909ed3e3461439596f99bf0cd94da3792a0ff64
2015-01-23 00:47:58 +00:00
Kunihiro Ishiguro
c470e10c74 ONOS-639 SDN-IP tutorial script for IPv6
IPv6 netowrk is advertised.
IPv6 address is used for BGP peering.
Still using IPv4 address for ONOS peering.
*.json files are updated correspondingly.

Change-Id: I8fdac12d2d25b840dcadfb261667a9f98eb9f6be
2015-01-23 00:37:36 +00:00
Bri Prebilic Cole
d36a90fa41 GUI -- Scrollable table working!
Change-Id: I77eb1a620cfa64e44996e8eed09a6be9c9cda202
2015-01-22 16:19:27 -08:00
Simon Hunt
354c8c9df5 GUI -- Mock WebSocket server : fixed bug where args were not repeated.
Change-Id: Ie6c6e0e1bf0b29b6182cac9d0cf5a4ee450024d6
2015-01-22 15:33:34 -08:00
Simon Hunt
711ee247a8 GUI -- Mock WebSocket server now serves up scenario events.
Change-Id: I469550362b2215bbc054cb58a157c2ef5f4479ca
2015-01-22 23:12:03 +00:00
Bri Prebilic Cole
4f0d977e1d GUI -- Device table now scrolls with a fixed height.
Created a table scrolling test page to try out having a fixed table header. - WIP

Change-Id: Ia957173d0cb46c526af3da311b441802ac5cb292
2015-01-22 23:11:57 +00:00
Jonathan Hart
205f4b165c Start instances in debug mode
Change-Id: I024c1626d73adbc35706655629bd97428ac65a15
2015-01-22 23:00:11 +00:00
Simon Hunt
a25cdcde31 GUI -- Created Mock WebSocket Server (runs with node.js)
- moved test scenario events to directory in test branch.

Change-Id: I1f94a9b4c844be1ea2633de0c74d49ebf5a770a7
2015-01-22 13:13:00 -08:00
Sho SHIMIZU
d7d18005e8 Prohibit null for resources field in Intent
Change-Id: I128c6e63ccccaf817e83ff1c440a731fb98b42f7
2015-01-22 19:03:58 +00:00
Sho SHIMIZU
166e61e47f Fix ONOS-815: register Optional class to Kryo
Change-Id: Iab40b3c02b54634452006bbaae18e450d91de347
2015-01-22 16:54:29 +00:00
Jonathan Hart
6cd2f3594b Implemented VLAN-to-VLAN routing support for SDN-IP.
SDN-IP can now support peering and routing between hosts that are connected
on VLANs.

Changes include:
 * Updated NetworkConfigReader app to read (optional) VLAN configuration
 * Updated VlanId to support the 'VLAN present' value - in a match this means
   that a VLAN tag must be present, but it can contain any value.
 * Updated SDN-IP to set destination VLAN tag values if appropriate
 * Updated FlowModBuilder and FlowEntryBuilder to support 'VLAN present' value
 * Slew of test updates.

Change-Id: Ief48cede5c1fd50e1efa851da5a97fb4a8edda29
2015-01-22 03:28:52 +00:00
Ayaka Koshibe
7dc1d04879 NullPacketProvider that generates PacketEvents at a specified rate
and behaves as a sink for network-bound events.

Reference: ONOS-665

Change-Id: I4e84929028094213baf0e9c27cef3a0b62ca1afb
2015-01-22 01:25:20 +00:00
alshabib
14233379e7 implementation of NullFlowProvider
Change-Id: Ieeb1006fac2aa14e7f225b7efe95d76fc485d56e
2015-01-22 01:15:07 +00:00
Simon Hunt
584122a63a GUI -- Further work on web socket service. Still WIP.
Change-Id: Ib787a72abed3d8bd1cce7efe110c584a04fe0cd4
2015-01-21 15:32:50 -08:00
Ray Milkey
04c78321db ONOS-812 - incorrect default values in CLI help
Change-Id: Ia7e3e9d2ace870e4d6cde240087b2235308719af
2015-01-21 14:57:58 -08:00