3538 Commits

Author SHA1 Message Date
Sho SHIMIZU
9639df7bcf Use Optional instead of null to remove FIXME comment
Change-Id: I21c0cd954eaff4441392205aede95b34285f1402
2015-01-21 22:20:54 +00:00
Simon Hunt
404f6b21c2 GUI -- Removed dependence on jQuery -- it turns out that angular implements extend().
Change-Id: I0cca98975873aa6fa1bf8258a2bedbc508d3c7d7
2015-01-21 22:18:04 +00:00
Ray Milkey
b9a8a18734 ONOS-741 - JSON codecs for constraints
Change-Id: I6eebc2ef5f6c28956f0944524aa90f44cebfcc60
2015-01-21 22:09:45 +00:00
Jonathan Hart
c036367091 Remove deprecated and unused APIs from IntentStore.
IntentStore#createIntent(Intent) and IntentStore#removeIntent(Intent) have
been superseded by IntentStore#batchWrite(BatchWrite)

Change-Id: I0f1c1b8fdc645435a9925bae9370d75965618c7c
2015-01-21 21:52:56 +00:00
Simon Hunt
1e4a0017b1 GUI -- Created skeleton for WebSocketService.
- re-worked UrlFnService.

Change-Id: Ia1184dfd5639a7e1ef2dad54580057e74b1d9fd2
2015-01-21 20:27:54 +00:00
Sho SHIMIZU
d94b477da1 Delete code that is commented out
Change-Id: I3d346dd186b3ef55c25464f207ca687c842f5ddc
2015-01-21 11:34:42 -08:00
Sho SHIMIZU
2b2e681f7e Fix typo
Change-Id: I3f66d3cbfd3e478f019423cd519e1e5321f0a809
2015-01-21 10:50:36 -08:00
Kunihiro Ishiguro
6e2ee15aa2 ONOS-783 Update PeerConnectivityManager to handle IPv6.
Change-Id: I0c8558cec2f7fa5f772cc126c6b74e5d4531676b
2015-01-21 18:02:48 +00:00
Sho SHIMIZU
2bb988bf72 Return immediately when the given BatchWrite is empty
This revision aims to remove empty check of BatchWrite in the caller
side of this method

Change-Id: Ic0d659a6da221a052ad135eba18a783caa81ec42
2015-01-21 17:56:24 +00:00
suibin
abeb7fa4a1 Add clusterID info to Null Device ID so that multiple Null Device Providers can run on different nodes without collision.
Change-Id: I3c834a5f23f4813b9234beed3ae1c0e93e69360e
2015-01-21 17:53:02 +00:00
Sho SHIMIZU
591dc99ba8 Get rid of super type of IntentId
IntentId is no longer treated as BatchOperationTarget

Change-Id: Icf63eb8071113b71146604a740f82cf3eadeef95
2015-01-21 16:55:13 +00:00
Sho SHIMIZU
d58c5b742f Simplify the code by using the constructor initializing a reference
Change-Id: I62335690903fe21cd3400e81e20833b4a1bb7b59
2015-01-21 16:49:17 +00:00
Sho SHIMIZU
d4df608ff0 Use diamond operator to simplify the code
Change-Id: Ia1e02131817a94e2ca86a0bb51924e11d14742e0
2015-01-21 16:47:30 +00:00
Sho SHIMIZU
fce9d4c211 Delete unnecessary semicolon
Change-Id: I19e82ef15c91411184f1bb9ad86dea668f48c63b
2015-01-21 16:47:10 +00:00
Jonathan Hart
29afca36c4 Fixed bug where ONOS sends actions in DELETE flow mods in OF1.0.
Fixes ONOS-787.

Change-Id: Ide8817927fc7a64da79df7998e3baebefb09de40
(cherry picked from commit 18679365afc6eab5cb13f702def99b3f077bf4ba)
2015-01-21 02:26:29 +00:00
Sho SHIMIZU
60e2467091 Add null check in the constructor
Change-Id: I5436324666a77c6c830a44b107eca65b4dea88bb
2015-01-21 00:43:45 +00:00
Bri Prebilic Cole
c006eef515 GUI -- Finished icons test page. Displays all icons and glyphs using Angular constructs.
Change-Id: I65d9195eb5434a49e5d8e6fac7ce3205a72d22dd
2015-01-20 16:24:25 -08:00
Sho SHIMIZU
86f61984e1 Remove TODO comment
Make the constructor of BatchWrite.Operation private

Change-Id: I496ba4502f0f4c147250909cab9123fc5c869f9e
2015-01-20 23:57:56 +00:00
Ray Milkey
3cbfbc4c50 Expose the obstacles Set in a method - needed for REST APIs
Change-Id: Ia688cb7d9407525673006f0fa61eab84eef5edee
2015-01-20 23:39:12 +00:00
Sho SHIMIZU
183b12fdd1 Delete unnecessary semicolon
Change-Id: I56f8c0a5cba3b6ce25230c8d1c3339a4bea8c29f
2015-01-20 23:24:12 +00:00
Jonathan Hart
e46c0411e6 Protect against null pointers during deserializing.
Fixes ONOS-779.

Change-Id: I7e6a57457e287d28dd23946d677d3943443a435f
(cherry picked from commit eec297248bd066ca8b5eda166ca0791c7c6b85f2)
2015-01-20 23:15:57 +00:00
Sho SHIMIZU
16ea69b673 Pass constraints argument to the constructor of super class
Change-Id: I2e689b6391b2a373c716dd1a421c9e1510ecb934
2015-01-20 19:23:28 +00:00
Sho SHIMIZU
a15546f5c6 Passing an empty list instead of null to improve null-safety
Change-Id: I6bef6c4c263a369ed49ea1da12c23528a56dd2c8
2015-01-20 11:16:33 -08:00
Jonathan Hart
43ae2933cb Updated SDN-IP config to support 64-bit port numbers.
Fixes ONOS-776.

Change-Id: I0629a140835cd3277eb362c1909b5b806c6fcec0
2015-01-20 11:08:20 -08:00
Sho SHIMIZU
bd128fa15b Delete code that is commented out
Change-Id: Iea41b7e1634aa3011fb3d5923422baa3c1ed9e9e
2015-01-20 18:51:35 +00:00
Simon Hunt
aa26adf980 GUI -- Corrected path prefix for ui/rs calls.
- fixed broken unit tests.

Change-Id: I52c3f54853a19d7d7d46a7453f540b241593d138
2015-01-20 18:35:43 +00:00
Bri Prebilic Cole
b07c279b03 GUI -- show-icons.html test file is successfully linked with its module and controller
Change-Id: I4d76994949b8cbf834d355e529be4d1a29d31462
2015-01-20 09:58:15 -08:00
Simon Hunt
66f9e6e116 GUI -- glyph.js - removed unnecessary precision from path data.
Change-Id: I4d13e7f3a50f2bcca7c098179de10a6caa1de3f4
2015-01-19 20:05:29 -08:00
Simon Hunt
cd258a12ba GUI -- Reworked onos.js to only require the list of view IDs to be injected. Module dependencies and routing configuration are both derived from the list of IDs.
Change-Id: If7bd7fe5c5c42f5c557e39c8ccb53847f2527be9
2015-01-19 19:20:13 -08:00
Simon Hunt
d169deb0e5 GUI -- Removed @author tags from all .js/.css etc. to match our code style choice.
Change-Id: I4d0f572678a01a582226d99ef43cfedd1c559402
2015-01-19 17:45:26 -08:00
Bri Prebilic Cole
17a18b21a5 GUI -- Added some test files to practice Angular and link with the IconService. WIP
Change-Id: Ifcacc107b99c6ff6c983c3d3821084947657dcd3
2015-01-19 17:15:59 -08:00
Bri Prebilic Cole
94a856e7eb GUI -- Added new icons to glyphs library.
- Edited glyph-spec and icon-spec to test the changes.

Change-Id: I23472b7f6699a46da1728c49a9d72f826244c739
2015-01-19 15:16:40 -08:00
Simon Hunt
64b60cd35b GUI -- Do not display IconLibDefs SVG element.
Change-Id: I883b512a86a509afdb14352ef340d9bce9a09349
2015-01-19 13:51:30 -08:00
Simon Hunt
9722538ab6 GUI -- Completed icon directive definition, and wired up device view.
Change-Id: Ia3cf0655fb17d47adc54f9f4540bb25eacbaaa62
2015-01-19 13:33:09 -08:00
Kunihiro Ishiguro
0f9aba8e71 ONOS-635 Adding ICMPv6 type and code builder for HostMonitor.
aovid duplicate call of toString.

Apply changes to FlowEntryBuilder and FlowModBuilder as well.
Fix missing break; issue.

Change-Id: I1a2e59ca943bbcc9677b9fc0cb9eb2f7cb3d7aa3
2015-01-17 17:27:16 +00:00
Jonathan Hart
f84591d3fa Don't flood ARP packets out the port they came in on.
Also renamed ProxyArpService#known(Ip4Address) to
ProxyArpService#isKnown(Ip4Address)

Fixes ONOS-722.

Change-Id: I136c65e58693926e87b822cb0f4ec1c4ba0e3780
2015-01-17 16:43:38 +00:00
Ayaka Koshibe
422916f1db NullLinkProvider to generate link events. This provider
currently chains null devices together in a linear topology.

The tunable parameters for this provider are:
  - flicker = [default false]  : flap the links by sending LinkEvents
  - eventRate = [default 3000] : time between LinkEvents, in msec

Reference: ONOS-446

Change-Id: I865c1c43c3216d9b64d67bda7c118bb041d5b1c9
2015-01-17 16:41:15 +00:00
Jonathan Hart
2ffcd10ac9 Add default drop rule in OF1.0 switches.
Default drop rule has the lowest priority and matches everything. This means
if a packet doesn't match any rules in the flow table, it is dropped. This
brings OF1.0 behaviour into line with OF1.3+ behaviour.

Change-Id: Id73839907a664bdccbc7a5eb904a8edd2a6222e7
2015-01-17 16:38:28 +00:00
Ayaka Koshibe
ebb54444b9 Update cell related util scripts to support larger cluster [ONOS-467]
Change-Id: Ie182397b7da92212cdaf6e1622b1482408b6de59
2015-01-17 05:18:59 +00:00
Simon Hunt
7f172cc053 GUI -- Implemented loadIcon() in the IconService.
Change-Id: Ib19e9ee01d0c015a2ba6f0431bc0d84adf530efd
2015-01-16 17:43:00 -08:00
Simon Hunt
58f23bbf01 GUI -- Working towards embedding icons in tables. WIP.
- Skeleton of icon directive added.
- icons embedded in table - test HTML file.
- Augmented GlyphService.loadDefs() to allow subset of glyph ids to be specified.

Change-Id: I775a958ef9dc35b0b89a126d5c0497f72a721b71
2015-01-16 16:32:24 -08:00
Simon Hunt
4367abc99b GUI -- DeviceResource: minor improvement.
Change-Id: I591aa4cca09fb51e2e92df8c479d80d2d3aed94e
2015-01-16 15:14:11 -08:00
Simon Hunt
1f170b8fc7 GUI -- Simpler version of DeviceGuiResource for the UI.
D'Oh -- has to have public-no-args constructor!

Change-Id: Ib586f74bdd109385fd1772e53122e096bdd7e8d5
2015-01-16 23:03:32 +00:00
Jonathan Hart
47f2ddecef Don't install table miss entry for OVS 1.3 or CPqD switches.
We shouldn't have special behaviour for some switches, and we want
send-to-controller behaviour to be determined by the applications rather
than the switch type.

Change-Id: I87fd0c0c0b567660378d325286101d19d86aba33
2015-01-16 22:52:27 +00:00
Ray Milkey
e53f171fa9 ONOS-535 - capture and display ip address and port of switches
Change-Id: I1671113b35853e258986568cec3a385c281e1147
2015-01-16 22:23:56 +00:00
Ray Milkey
e0fade7785 ONOS-539 - Capture port names so CLI can display them
Change-Id: I40b24c401c782a452a66c081623f5bba5ea5c9af
2015-01-16 22:19:59 +00:00
Thomas Vachuska
a8f4e7dee1 Sketching out device driver subsystem to allow extensible device management functions to be made available to applications.
Revising some implementations and adding tests.
Removing fingerprint and extension concept for now.

Change-Id: Id50faf29e4590b08e0c2b385ae8d4bb0c453f37e
2015-01-16 22:05:05 +00:00
Ray Milkey
db358086fd Unit tets for instruction JSON codecs
Fixed several bugs in codecs turned up by unit tests

Change-Id: Icddb31aa3d2cb58612a0578772d24ff5f113d073
2015-01-16 22:00:10 +00:00
Kunihiro Ishiguro
f5df28471b ONOS-693 SDN-IP tutorial script for IPv6.
New script tutorial_ipv6.py is added.

o Switch OpenFlow version set to OpenFlow 1.3
o IPv6 forwarding is enabled

Change-Id: Ie6840f38f0d09d9afb5b5791d26f7af14c4785d6
2015-01-16 21:36:02 +00:00
Thomas Vachuska
d916bcd872 Corrected a javadoc message.
Change-Id: I06dda39b91eda900b0db48e2b3d8665b2cad15e5
2015-01-16 13:03:27 -08:00