2550 Commits

Author SHA1 Message Date
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
Ray Milkey
8717be20e9 Fix for ONOS-607 - controller port displayed incorrectly in CLI
CONTROLLER ports were displayed as 18446744073709551613
for output instructions.

Change-Id: Id62f7ebe9e140a0a2c3c2387fbabfb3305f4273d
2015-01-12 14:16:27 -08:00
Ray Milkey
d03eda01c0 Unit tests for Instruction and Ethernet codecs
Added tests for codecs for Ethernet and Instruction classes
Also fixed some bugs uncovered by the tests

Change-Id: I29f82d169e81b3fca417f88fab992148bf36dc71
2015-01-12 18:00:10 +00:00
Charles M.C. Chan
fe42181ff5 ONOS-537 Provided maxLen setting to make sure packet data is sent with packet-in message. (OF1.3)
Apply Thomas Vachuska's solution of ONOS-537 (#2177) to FlowModBuilderVer13.
This solves the exception mentioned in the comment of ONOS-540.
Tested with OpenvSwitch 2.3.0 in Mininet 2.2.0.

Change-Id: I1f9d27d1b978ae01d16d63d6377046e4e2f3cd00
2015-01-12 18:20:51 +08:00
alshabib
612863442a null device provider implementation along with directory structure
for the other device providers

initial null provider directory structure

Change-Id: Ib7a766a854ba1863564ce2dc950f597a41a4e545

better with files

Change-Id: I041ea7bb718748e5f72ccaf06836c322b4e411d6

no binaries needed

Change-Id: I0bc978dd5bf6d20968bd1a28c6165b9f49ba585b

start nulldeviceprovider

Change-Id: If75bced900c185ca58a9302130c4d4a3cc18f12d

null device provider trivial implementation

supports hardcoded number of devices and ports, this will ultimately be extented to cli/rest configuration.

Change-Id: Iaeffc5526526b90fb1ecbcc0bd8b88103bdb921a
2015-01-12 03:54:25 +00:00
Charles M.C. Chan
5c0b476e73 Refactor: Avoid using ternary operator. Remove unnecessary casting.
* Apply suggestion in #2192 to previous implemented classes

Change-Id: I271d64202dd43968825600cd9afc49eb400371bf
2015-01-10 17:06:31 +00:00
Charles M.C. Chan
94f37374fa ONOS-512: Implement IPv6 Extension Headers
* Create IExtensionHeader interface
    - setNextHeader, getNextHeader interface for all extension header classes
        - Except EncapSecurityPayload, in which the nextHeader field is encrypted

* Create BaseOptions class
    - Super class of HopByHopOptions and DestinationOptions, since these two are very similar

* Implement following classes with unit test
    - HopByHopOptions
    - DestinationOptions
    - Fragment
    - Routing
    - Authentication
    - EncapSecurityPayload

Change-Id: If65894eccf20ac90f04bc2b0cb42aac6dd5a9674
2015-01-10 17:03:26 +00:00
Bri Prebilic Cole
7c92a3d003 GUI -- Created initial device view
Change-Id: Ie9b2a4e743d7a8070c3dfe736ad5a953547bd2f9
2015-01-09 16:50:03 -08:00
Simon Hunt
86388b15b2 GUI -- Created NavService and implemented simple navigation (click on the bird!)
Change-Id: I2bda5a3a1b279167194a84564408760eebcb59fd
2015-01-09 14:23:34 -08:00
Ray Milkey
c95bb9d27e ONOS-574 - Complete REST APIs for flows
- codecs for all objects referenced by flows
- codecs for HostToHost and PointToPoint intents
- standardized on context.codec() rather than direct calls to new codec()

Change-Id: I94fcb6e31a9161132c6efc2793b9c46fa3cc4570
2015-01-09 22:07:42 +00:00