716 Commits

Author SHA1 Message Date
Sho SHIMIZU
9553bb88b3 Make TrafficTreatment.Builder.setLambda() deprecated
It is recommended to avoid to use a raw integer value to specify a lambda.

Replace uses of the deprecated method with the alternative

Change-Id: I108f0d15f4503df2a6a75c4f7c77aa0c678ff541
2015-07-01 02:18:07 +00:00
alshabib
7b808c5e15 small fixes to ethtype pattern
Change-Id: Ic58c426821952f66aa21bc828d36fd4f83d8da0d
2015-06-29 15:24:35 -07:00
Jonathan Hart
2a65575cf8 Improve the resiliency of the packet deserialization code.
Packet deserializers now check for malformed input while reading the byte
stream. Deserializers are re-implemented as functions that take a byte array
and return a packet object. The old IPacket.deserialize(...) methods have been
deprecated with the goal of eventually moving to immutable packet objects.
Unit tests have been implemented for all Deserializer functions.

ONOS-1589

Change-Id: I9073d5e6e7991e15d43830cfd810989256b71c56
2015-06-29 16:31:11 +00:00
alshabib
caf1ca2b1d adding EthType to secure handling ether types
this will also pretty print ethertypes in flow output

Change-Id: I9363070ad308f3c756735e29b3992c500e503636
2015-06-26 13:44:55 +00:00
Thomas Vachuska
27bee09007 ONOS-2145 Added ability to withdraw packet intercepts via PacketService::cancelPackets.
Change-Id: Ie41271fa02740560bd67b0faf49f633ee749773c
2015-06-23 19:03:10 -07:00
HIGUCHI Yuta
ea39db5ffb Disable test, which actually tries to ssh to some node.
Change-Id: I8034874249609c06913b235d433406bc8f288661
2015-06-16 17:37:38 +00:00
Brian O'Connor
afc2d7db88 Starting snapshot 1.3.0-SNAPSHOT
Change-Id: Idc4c114bda5268e534b9fc998215564d23d84c58
2015-06-05 23:31:25 -07:00
Brian O'Connor
a78abfcc39 Tagging 1.2.0
Change-Id: If1b4de17402bf8248c888de72891dc17a5bcd7ef
2015-06-05 22:40:03 -07:00
Srikanth Vavilapalli
78baf58cff Segment Routing ONS demo fixes: Includes traffic visualization fix
Change-Id: I5119271464b696fd145c6b63bee09d7f3ef109bd
2015-06-05 21:00:20 +00:00
Thomas Vachuska
4e6025e48e Fixed potential NPE in port-stats.
Change-Id: Id3cc83b0ca914223f2cf267605c29cc2093c313f
2015-06-03 11:25:21 -07:00
cheng fan
93258c7adb 1. fix javadoc mistakes
2. add path state proverty to tunnel
3. fix bugs in tunnel creation and query commands.

Change-Id: I69b992e47630effe45764c887864d59d3a1eb870
2015-06-03 17:52:12 +00:00
Thomas Vachuska
711db55d75 Fixed ONOS-2051 by eliminating treatment and priority from flow id/cookie.
FIxed NPE in port stats collection.

Change-Id: I30954d31c39be959e84fa74f1c4e781d5767f303
2015-06-02 16:35:26 -07:00
Thomas Vachuska
74bcd92c75 Added STC shutdown scenario.
Change-Id: I48b882c872f69fdd84fe2fd057163e68ffb58012
2015-06-02 20:17:57 +00:00
Sanjay S
59f86fdb64 Added configurable connection timeout for Netconf Server connection.
Change-Id: I40fd1737529e5e864f16119293e46340243118cb
2015-06-02 00:28:35 +00:00
Brian O'Connor
3350390b1d Starting snapshot 1.2.0-SNAPSHOT
Change-Id: I96c63bb70f2cd27453f2da893d77f9e72966f780
2015-06-01 17:08:05 -07:00
Brian O'Connor
75aed4000e Tagging 1.2.0-rc2
Change-Id: I93f2bf38d29ddf788f7a81552695da80fc275c42
2015-06-01 16:58:14 -07:00
cheng fan
7716ec9268 1. move tunnel 3 commands to onos-cli
2. add OCH ODU OMS port type;
3. fix some bugs in pcep tunnel provider and topology provider
4. Optimization of the command line tools of tunnel

Change-Id: I323ede971795c8fe6ecddc40e1061f42a8243867

fix tunnel provider bugs.

Change-Id: I323ede971795c8fe6ecddc40e1061f42a8243867
2015-06-01 22:59:01 +00:00
Madan Jampani
c3328768e7 Removed dead code + Dropped log level down to debug to reduce verbosity
Change-Id: I565775261a63b391011e1b341903390a9f26b6a6
2015-06-01 01:23:37 +00:00
Thomas Vachuska
893bf4b142 Fixing OF device provider to accrue all port stat multi-part messages before pushing update to the core.
Change-Id: Ib5792ffbf4be2e50e30ab6ed14149337b7e545d6
2015-05-29 18:13:18 -07:00
Madan Jampani
c6e574f90e MastershipService.relinquishRole returns CompletableFuture + Block deviceDiconnected until role relinquish is complete
Change-Id: I081df48fc05fdca2e452a937a093d5caa16091ed
2015-05-29 23:00:07 +00:00
Thomas Vachuska
f0397b5b81 GUI -- Added port-statistics traffic visualization to the topo view.
Change-Id: I52b3c1739cc50a026c0796819d61ec1898937ced
2015-05-29 20:56:08 +00:00
Brian O'Connor
3f877a8876 Fixing pcep pom.xml so that the application will load
Change-Id: I91b53fe0927d64d33c434f3f34a3cdb771b491ae
2015-05-28 17:35:08 -07:00
Sho SHIMIZU
c17042d9e5 Refactor: Rename the class and method to make them more descriptive
- Rename from FlowModBuilderHelper to OpenFlowValueMapper
- Rename from UnsupportedConversionException to NoMappingFoundException
- For methods, use "lookup" instead of "convert"

Change-Id: I8e86e3221385a48524247aa78a497b524e16071a
2015-05-28 23:15:08 +00:00
Sho SHIMIZU
43f65ed9ab Refactor: Use bidirectional map to make methods easily consistent
Change-Id: I016bb98366351f60e4a6cc36de224a3d3163ac2d
2015-05-28 23:14:47 +00:00
Sho SHIMIZU
4f828eef74 Fix cast error when building flow entries containging optical properties
Change-Id: I6e963143a22fcd57e2f1388941f7cb4fc51e52f6
2015-05-28 23:04:22 +00:00
Ayaka Koshibe
74b5527081 Miscellaneous fixes for reading Linc-OE port types.
- Keep track of created PortDescriptions so that they can be replayed when
   configurations don't stick
 - Push topology configs to all cluster members (Temporary hack until
   Configs are made Mastership-aware)
 - Port type consistency for Optical ports - default to FIBER port type

Change-Id: Ib2c9e2839c212d2998206bd0106490b2b38446a9
2015-05-28 22:57:37 +00:00
Marc De Leenheer
d24420f41e Add OCh signal type to optical path intent.
Revert changes to LINC-OE specialized flowmod handling.

Change-Id: Ic4f333a44b7cd8a3111bfcba87ea909943eec56d
2015-05-28 22:53:42 +00:00
Thomas Vachuska
5f429d675c Fixed race-conditions in null providers.
Change-Id: Ie1acd9d74e1277776a5981d21043671010b37343
2015-05-28 22:49:18 +00:00
cheng fan
48e832c5f2 [ONOS-1925]
1.fix javadocs bugs.
2.add pcep tunnel provider;
3.change pcep to pcep app;
4.fix some bugs according to review suggestions.

Change-Id: I4b90d9bf871dee3be70615d66db3d74f2fd85389
2015-05-28 18:20:13 +00:00
samuel
7a5691affe [ONOS-1959][ONOS-2007][ONOS-2008][ONOS-2009][ONOS-2010][ONOS-2011][ONOS-2016][ONOS-2017][ONOS-2018]
1.fix bug in query subscription command in Tunnel management
2.add RemoveTunnelByIdCommand
3.add UpdateTunnelBandWithCommand
4.add QueryAllTunnelsCommand
5.add queryAllTunnels api in TunnelService and TunnelStore
6.store the Path of the tunnel in the store
7.remove to check parameters iif they are null in the construtors of
DefaultTunnel.e.g
8.add the method of querying in SB
9.Fix the bug that the src/dst end point of Vlan-type tunnel is the
instance of OpticalTunnelEndPoint
10. invert the verb-noun into noun-verb for tunnel commands and label
commands

Change-Id: I90378b37c2bc73b58e6f8f234f009d64f07f758e
2015-05-28 16:36:18 +00:00
Saurav Das
88329900ec Bug fixes for ofdpa pipeline
Change-Id: Ia532c51d0f348b31bf38aa10c567ba9bf8aa23e3
2015-05-28 16:30:22 +00:00
Saurav Das
86af8f19ae Adding support for writing metadata instruction.
Needed by Centec driver.

Change-Id: I705015c4d7ac881c273a01b36b05d39d9cd9ba87
2015-05-27 16:00:11 +00:00
Sho SHIMIZU
c15ce5113e Fix a cast error when creating OpticalConnectivityIntent
A cast error occurred in FlowModBuilder when the type of
Criterion was OCH_SIGID.

Move two convertion methods from FlowModBuilderVer13 to
FlowModBuilderHelper for refactoring.

Change-Id: I4634d57fc70cfb144de64d72140cbca81e060248
2015-05-27 15:56:16 +00:00
Brian O'Connor
30a412deb3 Starting snapshot 1.2.0-SNAPSHOT
Also, fixed onos-upload-bits script to upload rc's to nightly/

Change-Id: I9bb8fe685492e23c740796879f0b66c307e26e56
2015-05-21 18:08:06 -07:00
Brian O'Connor
608e03a1bb Tagging 1.2.0-rc1
Change-Id: I2791aacb0ab4eb0d3db92fef5e58e9c62747bf8c
2015-05-21 17:56:07 -07:00
Brian O'Connor
f5ece321f7 Dropping dependency on onos-of-drivers in onos-openflow
Change-Id: I29a56b35fb360078f65ff42fe7143b6b0af3e95f
2015-05-21 17:38:43 -07:00
Thomas Vachuska
bf916ea1a4 Moved Tunnel subsystem to ONOS core incubator area.
Change-Id: I03f90b068013fbf0490af5277b33459ccc0514ec
2015-05-20 18:24:34 -07:00
jcc
d8697235da [ONOS-1284][ONOS-1869]the implementation of tunnel subsystem.It includes
test
commands, store, service. the store use eventually consistent.

Change-Id: Id54224ff65f3f2fa0a1d7adb072a2fe664987d18
2015-05-20 15:54:32 -07:00
alshabib
da4abde453 fixing vlan_push in 1.0 environments, ie. it does nothing
Change-Id: Ia29c9ef3d93d40216c90a6c7e89c7fb2125ce55b
2015-05-20 22:26:16 +00:00
Thomas Vachuska
3358af2e7f Demoting boy-cried-wolf log messages.
Change-Id: Idfb9b3178b79ab6b30af285c10a52b9f20dfbfe1
2015-05-20 17:57:49 +00:00
Ayaka Koshibe
ae541737d4 Linc-OE ports now identifiable as Och and OMS ports.
Reference: ONOS-1803

Conflicts:
	utils/misc/src/main/java/org/onlab/util/Frequency.java

Change-Id: Ie2bdf74f8198afbd58a4762ff97bff6f4e9010df
2015-05-19 23:36:04 +00:00
Thomas Vachuska
fc52fecc3b Fixed a slew of shutdown exceptions that arose due to improper or out-of-order resource clean-up, e.g. listeners, timers, executors.
Change-Id: I37c351c4202b32e92c076d9d566b96d7ff8d313a
2015-05-19 17:56:49 +00:00
sangho
1e57565687 ONOS-688 (ONOS-1835,1836,1837) :
- Implements features to create and remove tunnels and tunnel flow policies.
 - Implements REST API to create/show/delete tunnels and policies.
 - Supports only single instance for now.
 - Fix "apply" actions to "write" actions of all flow rules
Change-Id: I3740ed82fed8eab4ab8b03839192da72d3e223f1
2015-05-15 23:00:16 +00:00
Ayaka Koshibe
5460d62464 Interfaces for passing port information from OF switch drivers to DeviceProviders.
Change-Id: I14039f5999c930a211c30138caf81c0513d398e2
Reference: ONOS-1911
2015-05-14 23:31:43 +00:00
Madan Jampani
de003d9763 LeadershipService and MastershipService/Store APIs return CompletableFutures so that callers can (optionally) chain together dependent operations
Change-Id: Ia00fcb7d98fbfce897527f67ea9690abf6fe846a
2015-05-14 23:31:27 +00:00
Sho SHIMIZU
e397ffe6a8 Handle ModOchSignalInstruction in FlowModBuidlerVer13
To support OCh (Optical Channel) according to ONF
"Optical Transport Protocol Extension Version 1.0"

Change-Id: I00d0d61a9c2a2808cf5a02df608a6f3a35afaf28
2015-05-13 17:04:50 +00:00
Sho SHIMIZU
5cd7ce95ae Make indent of case label consistent with other switch statements
Change-Id: I54254840efb0511290e2313cfa10878fb83feda5
2015-05-12 19:12:47 +00:00
Sho SHIMIZU
6601dd7c2d Return Collections.emptyList() instead of null to avoid NullPointerException
Change-Id: I763a6d8993e32e2203c9e3be317d3db3e893d886
2015-05-12 19:11:27 +00:00
Sho SHIMIZU
46e79efcbd Temporarily disable testSSHAuthentication() due to long test
Change-Id: Ic260d9c0b7e164b3ca4ae70bf410178ac8d33358
2015-05-07 23:54:19 +00:00
Saurav Das
100e3b809d First shot at Broadcom OFDPA 1.0 pipeline
Requires changes to the group description to accept groupId from callers.

Change-Id: Ic21dfe8ae7c246b7d3a6b00e8e5c986e1dc21fa0
2015-05-07 17:00:02 +00:00