3538 Commits

Author SHA1 Message Date
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
Pavlin Radoslavov
d36a74b11d Add explicit flow rules to receive control packets: ARP, LLDP, BDDP
This fixes ONOS-540

NOTES:
 * Currently, the flow rules are pushed by each module that needs to receive
   the corresponding control packets:
   - ARP: ProxyArpManager, HostLocationProvider
   - LLDP and BDDP: LLDPLinkProvider
 * Pushing the corresponding IPv6 rules for Neighbor Discovery is not done yet
 * In the future, we might want to consider an explicit service to
   subscribe for receiving particular control packets

Change-Id: I292ad11a2e48390624f381c278e55e5d0af93c6d
2015-01-09 22:03:35 +00:00
Sho SHIMIZU
c02c0b8546 WIP: Resolve conflict with Go language "go" command
Resolve ONOS-475

Change-Id: If0ffe6aea59b4286bb966f15d741526951fd9915
2015-01-09 21:48:51 +00:00
Jonathan Hart
4d887e8372 Moved onlab-rest bundle out of onos-api.
Having onlab-rest in onos-api creates a dependency issue because the
dependencies of onlab-rest are not included in onos-api. Usually people don't
see an issue because they also have another rest/web feature installed.

Fixes ONOS-505.

Change-Id: Ifd1526491eb526bb2d751d915fc97cceef5a64a9
(cherry picked from commit 449bd5bc62f5723f914efe8117f19190d1b9ff49)
2015-01-09 21:43:46 +00:00
Jonathan Hart
081e737a4e Classify hardware running OVS as an OVS switch.
Without this we use the default abstract switch, which doesn't push a
table-miss entry.

Fixes ONOS-558.

Cherry-picked from onos-1.0.

Change-Id: I296c7fff6e94575e72829fb4e1aa3d1e5b82852c
2015-01-09 21:27:11 +00:00
Simon Hunt
404e54c6ed GUI -- MapService: rework API and internal code for loading map. WIP.
Change-Id: I74458a3ef615d67a0fe9869926ef230990cd902f
2015-01-09 11:58:49 -08:00
Ayaka Koshibe
aec6296229 Initial cut of onos-group script for running a subset of commands
against multiple ONOS instances:

  - onos-install
  - onos-push-keys
  - onos-kill
  - onos-patch-vm
  - onos-uninstall

onos-group is simply a wrapper that does minimal sanity checks. New
commands are added by adding them to the GOPTS list in ogroup-opts.

Reference: ONOS-536

Change-Id: Ib3055491fec80e8759e87594e81a88285546deaf
2015-01-09 03:15:04 +00:00
Simon Hunt
1e8eff4d02 GUI -- MapService: changed to cache promises with attached meta data.
- unit tests for cached promises still WIP.

Change-Id: Ibe52cf3e83ed5753ccc12581b52fa1f640354e60
2015-01-08 17:19:02 -08:00
Simon Hunt
f044d8a708 GUI -- Sketched out MapService.
- implemented ID to URL adjustment, and object caching behaviors.

Change-Id: I5a30b59be01761d9a6475f7707db947dd2304dc5
2015-01-07 17:53:17 -08:00
Bri Prebilic Cole
09e464bc62 Starting GUI server-side code
Change-Id: Id3d5e198a2326f50ef2661f6971cf23271bf7644
2015-01-07 17:13:54 -08:00
Simon Hunt
cacce3442b GUI -- Implemented ZoomService, with unit tests.
- Added zoomer to topo.js; we are at least generating the events.
- Added GlyphService.clear()

Change-Id: I5400e52b58ee584866d8ffbb20d5bde70b336985
2015-01-07 16:13:05 -08:00
Simon Hunt
6cc536945e GUI -- Topo View: define SVG layer; inject (sample) key bindings and install glyph definitions.
Change-Id: I1c063b0484a9cedcf8e57a35cc51c3c4b35c9329
2015-01-07 11:36:44 -08:00
Pavlin Radoslavov
3a0a52e462 Added IPv6 routing support to SDN-IP, and integrated it with BGP:
* The routing entries as received from BGP can be either IPv4 or IPv6
 * The CLI prints the IPv4 and IPv6 routes
 * The BGP peering is still over IPv4, so configuration-wise the IPv6
   routes from the eBGP peers have to be configured to use the IPv4 peering.
 * The integration/testing with the IPv6 Network Discovery Protocol is not
   done yet.
 * The integration/testing with IPv6 intents is not done yet.

Also:
 * Moved nested class BgpSessionManager.BgpRouteSelector out of the
   BgpSessionManager class.
 * Code cleanup.

Change-Id: I9f2dbe4395a72d353bbf215a8a14b01b53c3423f
2015-01-07 19:12:26 +00:00