2809 Commits

Author SHA1 Message Date
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
Ray Milkey
d3edd037a1 Fix a typo in manufacturerDescription() method name
Change-Id: I8f95c6c0aa1ac6c59644828ddf2b82eea4c380a3
2015-01-16 11:38:58 -08:00
Jonathan Hart
520f227e82 Suppress superfluous error message when pushing to a cell the first time.
If remote bits aren't found, it used to print:
  cksum: /tmp/onos-1.1.0.jono.tar.gz: No such file or directory

which may give the impression the install failed.

Fixes ONOS-704.

Change-Id: Ic03f3e546abad1e4dcfb69f61b7766be63c016ef
2015-01-16 18:59:26 +00:00
Charles M.C. Chan
52fae7da14 ONOS-509: Match IPV6_SRC, IPV6_DST criteria
* Following classes have been extended to match IPV6_SRC and IPV6_DST criteria:
    - Criteria
    - DefaultTrafficSelector
    - FlowEntryBuilder
    - FlowModBuilder

* Not included in this submission
    - Match of other IPv6-related criteria
    - Set of all IPv6-related criteria (action)

Change-Id: I115829a480356d2037e0fc809595f7a5eec25874
2015-01-16 18:11:27 +00:00
Bri Prebilic Cole
4fab8af1e4 GUI -- Added mechanism to test device view.
Themed device view.

Change-Id: I471ec56b94c927d834f8067d06efce33ddfa4596
2015-01-15 16:40:59 -08:00
Jonathan Hart
3cfce8e3ac Moved default flows logic into the PacketManager.
This prevents us duplicating code in each of the apps and allows us to manage
packet requests better in the future.

Change-Id: I5656b2f0f3cecd3e42fe7b4a0a5ab7cb6582bb25
2015-01-16 00:26:30 +00:00
Bri Prebilic Cole
eb28b0bb9c GUI -- Created UrlFunction service
Commented out broken device code WIP

Change-Id: I7ccdc1c841277cf6895738eec056741693de5603
2015-01-15 14:21:06 -08:00
Brian O'Connor
025fb4486f Adding more T-ports to big topo
Setting up bidirectional T-ports in OpticalPathProvisioner

Change-Id: I4e97b2eb53d3d4182aae9c98a227de982f492950
(cherry picked from commit d6843bed27c4b2b4e95984c99de3c54edcefc67f)
2015-01-15 14:02:11 -08:00
Brian O'Connor
c7bdd8c7cc Improvements to OpticalPathProvisioner
- Support for more T ports
- Addresses ONOS-440

Change-Id: Iafbe57b4797f272678696b8b2e46e5a6487e7428
(cherry picked from commit 6aba384469ce820c9e94f0f2991c4a84a691d4f8)
2015-01-15 14:01:31 -08:00
Simon Hunt
e6720443b3 GUI -- Created the RestService in the Remote module.
- implemented get() function (with unit tests).

Change-Id: I65edb5422ed3719d8bdc262e398673e0a1db3f0b
2015-01-15 12:21:06 -08:00
Simon Hunt
5ee36e041b GUI -- Added dark theming for the topology view.
Change-Id: I13c7bbbff65007fed162a4ea80dbf6042ff04c07
2015-01-15 10:33:20 -08:00
Simon Hunt
0541fb8d47 GUI -- Finally got map resize working correctly, including the resized callback in topo code.
- Created directives.js file to hold custom directives definitions.

Change-Id: Iecdbfe81fd8c5719f6da4f67fd9986ffa70c35df
2015-01-14 18:59:57 -08:00
Simon Hunt
426bd86e02 GUI -- Further tweaking of the background map loading code, to properly align the map in the view.
- still WIP, as we need to invoke a resized() callback in the controller so that the view can also respond to the event. 

Change-Id: I55fa5e52c70e208924ad22d389e2002c66cb37ef
2015-01-15 01:35:58 +00:00
alshabib
839a5e62ac NullHostProvider does not report hosts for device the local instance is not master for
Change-Id: I41fbeb1d9fa9be48792a7f223481e42c27e02d72
2015-01-14 22:48:02 +00:00
Jonathan Hart
06ae79dfd0 Reactive forwarding apps should explicitly ask for packets they want to receive.
Previously we relied on the table-miss entry set up for OVS switches, but
this doesn't work for non-OVS switches 1.3 switches.

Fixes ONOS-661.

Change-Id: Ibc0aee09f304eaf240691a4d5d2f8765a5f8cdd5
2015-01-14 22:41:18 +00:00
Pavlin Radoslavov
0f8a1e45fb Count the Intent FAILED events.
This is work toward fixing ONOS-554

Change-Id: I6aced093c47459796d40e8bd839177c4db60d1e0
2015-01-14 22:39:28 +00:00
Simon Hunt
a7b6a6b92f GUI -- Further work on MapService and GeoDataService. Still WIP.
Change-Id: I92e826cc15cc1a07238cc4b4eac20583260a3c84
2015-01-13 19:53:20 -08:00
Marc De Leenheer
680639436b Configure LINC-OE to use multiple controllers
[Merged from onos-1.0]

Change-Id: I69b1c8935acdc8869cd19eb916e310965d8a2f48
(cherry picked from commit 16268818909c945b2824ccc47f08d38bf13df407)
2015-01-14 01:30:44 +00:00
Brian O'Connor
0b351911a9 adding compile to archetype poms
[Merged from onos-1.0]

Change-Id: I3d8a81894f38b240e2bf1536c1ec8a64583abede
(cherry picked from commit 13cbfe5fb5e9370c81d4f7422677ce2e8bf0532c)
2015-01-14 01:27:23 +00:00
Ray Milkey
e1dfb50e2e Fix javadoc typos
Change-Id: Ia1872060512df5e501503ba773a66690efd5b99b
2015-01-13 16:35:46 -08:00
Brian O'Connor
8b6b172656 temporary NPE fix for ONOS-439
[Merged from onos-1.0]

Change-Id: I238ea24e1a4c4bebb40d132d060c418f5675f570
(cherry picked from commit f25a5115e901f1f3383ccb60af7ad48355c39ee2)
2015-01-13 22:47:14 +00:00
Brian O'Connor
eb27c45ba3 Adding optical topo files
[Merged from onos-1.0]

Change-Id: I276454b09d32e1a7b7182271ddba8cf6add71c40
(cherry picked from commit e84ab32f84aea4a0604e8b15fd22e75f85aaa85b)
2015-01-13 22:44:01 +00:00
Thomas Vachuska
4acd91d755 Fixed onos-install to deal with the first-time install where there is no .m2/repository/org
[Merged from onos-1.0]

Change-Id: I9d2ba4be4230bbfd4a6f29645c07c6210a282f9e
(cherry picked from commit 96e56fca25b52859ee187986ad979b56364de27f)
2015-01-13 22:39:52 +00:00
Simon Hunt
f8173387a1 GUI -- Split MapService into GeoDataService and MapService. WIP.
Change-Id: Ibfe5b35ecdfaaf39b9d48abd29d0a44327dec130
2015-01-13 14:12:15 -08:00
Jonathan Hart
e8600eb0c4 Handle packets that can't be deserialized properly.
Catch BufferUnderflowExceptions that occur while trying to deserialzed
Ethernet packet, and account for the fact that packets may not have been
deserialized correctly when using InboundPackets.

Addresses ONOS-605.

Change-Id: Ia7191e62a339125c9c4d3fe0cf63f9c33eb74cb5
2015-01-13 21:59:54 +00:00
alshabib
70fc7fb791 fix switch negociation for non spec compliant devices.
ONOS now waits for switches to advertise their highest version via a hello
message. ONOS then replies with a hello of the appropriate version.

[Merged from 1.0]

Change-Id: I6ebe3f1b8f513920dc62016347a40f503de01457
(cherry picked from commit d9b2f4043291b60f54fccbfee612baec10815600)
2015-01-13 21:06:24 +00:00
alshabib
3a21b78af3 very simple null host provider
Change-Id: I020ccd525e3e96a933ea9f69865d8e03af151500
2015-01-13 18:20:21 +00:00
Yuta HIGUCHI
c8ad76dc50 Allow null as parameter
Change-Id: I9601bca4af0dadf706a2e0ca2502595d10e7ee74
2015-01-13 18:07:11 +00:00
Charles M.C. Chan
bc0e84dadf Fix javadoc warnings
[WARNING] /Users/rascov/onos/providers/lldp/src/main/java/org/onosproject/provider/lldp/impl/SuppressionRulesStore.java:88: warning: no description for @throws
[WARNING] /Users/rascov/onos/providers/lldp/src/main/java/org/onosproject/provider/lldp/impl/SuppressionRulesStore.java:146: warning: no description for @throws
[WARNING] /Users/rascov/onos/apps/sdnip/src/main/java/org/onosproject/sdnip/bgp/BgpSession.java:706: warning: no @param for ctx
[WARNING] /Users/rascov/onos/apps/sdnip/src/main/java/org/onosproject/sdnip/bgp/BgpSession.java:751: warning: no @param for ctx

Change-Id: Iae4d1826249e3612e1a16d1a9eeaebdc4c032f35
2015-01-13 23:59:06 +08:00
alshabib
41e26d5f8d incrementing version of loxi dependency
Change-Id: I636c6fce316fa442b49acaf94aff2eb5db10731e
2015-01-12 23:13:46 +00:00