3083 Commits

Author SHA1 Message Date
Satish K
e9d748f0f0 Inconsistent synchronization fix for HostMonitor.timeout
Change-Id: I8b6975c65dadba93bccd951ebc309e379c5d7be1
2015-11-24 17:17:22 +00:00
Rimon Ashkenazy
e2410ff01c [Emu] Register ODU TributarySlots on OCH ports
Change-Id: Iff6010259485f2402f1b645de8f83af5627bee3c
2015-11-24 17:12:38 +00:00
Sho SHIMIZU
a88db496d5 Avoid double wrap of Bandwidth class
Change-Id: I6bb95beafd55364499df64429c0788153a0b1624
2015-11-23 23:57:09 +00:00
Sho SHIMIZU
69dc584a4a Fix the issue of ONOS-3423
Change-Id: I60c3105149f6ef46e2effb7de6d8f40152027ec7
2015-11-20 16:31:12 -08:00
Brian O'Connor
e1c343ed1f Fixing errant import that snuck in
Change-Id: I493c013d5657c189691ee740ce5114d392891c5e
2015-11-20 12:44:05 -08:00
Brian O'Connor
63ff35ab49 Temporarily commenting out the device and link resource service listeners
There was bug introduced with a refactoring in commit:
c9546a3646423a92254708fb00a155669a8a1b2a

The code was refactored again in this commit:
60ac58efe977e2d8822657c013e724523cae32ac

Change-Id: I6c96dc1b9e0632865ae6742ed596624f7ed3d623
2015-11-20 12:39:35 -08:00
Sho SHIMIZU
60ac58efe9 Add sub-types to distinguish type of resources
Change-Id: Ia43cbf4a13937c9bd9dbc97221062ef5fa3e578f
2015-11-20 07:54:39 +00:00
Aaron Kruglikov
66cf0b9e9f Modifying eventually consistent map and tests to make use of the persistence service.
Change-Id: I44ffcabb9d765a1c70c2790366c6d7381416dac6
2015-11-20 03:58:44 +00:00
Sho SHIMIZU
c9546a3646 Refactor ResourcePath internal implementation
Change-Id: Idb3aa467b4d0e8181adf0d1766812a038b5408ac
2015-11-19 22:34:20 +00:00
BitOhenry
08c7294c6f [ONOS-3391] create arp_spa selector to onos
Change-Id: I2508a3ca7acb95b9792f0b23e085074a5b030a3b
2015-11-19 21:26:27 +00:00
HIGUCHI Yuta
703a5af90f equals for {Device,Port,Link,Host}Description
Change-Id: Ia69a469ed7b3ef183e45b3fb4d110edcbb4f3aad
2015-11-19 17:52:22 +00:00
Thomas Vachuska
ce0bbb3f62 ONOS-3387 Adding ability for network configurations to be validated before being accepted into the system.
Change-Id: I26a7e2adb20318cf17a35081ff753b3448105e31
2015-11-19 08:30:31 -08:00
Charles Chan
33f28a96f7 Carry previous host subject in HostEvent
This is an enhanced version of gerrit 6085 that provides not only the old location
but also the entire old host subject.
The main purpose is allowing apps to be aware of the change of IP address as well

Change-Id: I448d73b0d1e705996259cb0ec777f959f485d9c2
2015-11-18 18:17:44 +00:00
Charles Chan
e889e2d0f2 [ONOS-3370] Extract hostprovider and lldpprovider from openflow
There are three independent apps:
    - openflow-base
    - hostprovider
    - lldpprovider
And there is also one meta-application called openflow that
contains all three of them.

Also fix the dependency issue when the apps are loaded from disk

Change-Id: I6da584e03593db9094b3a57976b28291f207c3c6
2015-11-18 18:12:50 +00:00
lishuai
6c56f5e977 [ONOS-2831] Refactor L2 code according to the L3 plan.
Change-Id: Ibc9dc47a18208b9b1602261064a33bc63b131fc3
2015-11-17 19:07:03 +00:00
BitOhenry
b2f8e8122a [ONOS-3376] Create arp_tpa selector to onos
Change-Id: I4b40b5cd3862d470db8d12e7f6098f36777f982a
2015-11-17 19:21:22 +08:00
BitOhenry
e330cf009f [ONOS-3374] Create arp_sha selector to onos
Change-Id: I82f29e24c5fe57d3e23e4e41a6e86c165456e901
2015-11-17 19:01:06 +08:00
Madan Jampani
14a38dade6 Ensure local read/write operations are causally consistent when a ConsistentMap is build with weakConsistency option
Change-Id: I1ec96048b646f5074e5e50001e08753212b98395
2015-11-16 23:08:37 +00:00
David K. Bainbridge
03c1fa9b31 ONOS-3326 allow more control over heuristics to select an IP address used for clustering
Change-Id: Ie313efe9249df7581234e7e2e5952cdf3ac43dbb
2015-11-16 23:00:17 +00:00
Jonathan Hart
f563830299 Protect against exceptions thrown in application's packet processors.
These exceptions should not bubble up to netty because that will result in the
connection to the switch being closed.

For now we catch and log the exception - in the future we could consider removing
misbehaving packet processors.

Addresses ONOS-3368.

Change-Id: If507adafba39bf705c27286c8e48af3f955d1eff
2015-11-16 19:17:17 +00:00
BitOhenry
914c7ad302 [ONOS-3363] Create arp_tha selector to onos
modified:   core/api/src/main/java/org/onosproject/net/flow/DefaultTrafficSelector.java
	modified:   core/api/src/main/java/org/onosproject/net/flow/TrafficSelector.java

Change-Id: Id97469c133e0c10e44cda385dabb7c4ecca4af2b
2015-11-16 17:42:42 +00:00
BitOhenry
b53ac6cdbb [ONOS-3361] Add nicira extension of resubmit instruction to onos
modified:   core/api/src/main/java/org/onosproject/net/flow/instructions/ExtensionType.java
	modified:   drivers/src/main/java/org/onosproject/driver/extensions/NiciraExtensionInterpreter.java
	new file:   drivers/src/main/java/org/onosproject/driver/extensions/NiciraResubmit.java

Change-Id: Ib0a4a7b6360dd1629d0d2f74ef0d56f2c2a91a20
2015-11-16 17:22:33 +00:00
Jonathan Hart
d9df7bd278 Fix naming convention issues in preparation for stricter checkstyle enforcement
Change-Id: I918b7b1dcf6424a526b6b26b89acc9a57d807fec
2015-11-13 16:28:02 -08:00
Thomas Vachuska
710293f3af ONOS-3346 Fixed NPE when disallowing devices via network configuration.
Change-Id: I88986681e446f2fd298aa5c4d47e709da5be9e52
2015-11-13 21:39:03 +00:00
Thomas Vachuska
1627dc8ed6 ONOS-3356 Fixed NPE when processing configuration of a non-existent device.
Change-Id: I00369a67c406634b2ee7d379cad6e0fc41842388
2015-11-13 21:38:43 +00:00
Phaneendra Manda
2be2f88066 Class name corrected while retriving stream from json
Change-Id: I325bf61d001194953db137131c414bb877d8613b
2015-11-13 19:16:16 +00:00
BitOhenry
cc024ebd7e [ONOS-3273] Add arp_sha or arp_tha Criteria to onos
new file:   core/api/src/main/java/org/onosproject/net/flow/criteria/ArpHaCriterion.java
	modified:   core/api/src/main/java/org/onosproject/net/flow/criteria/Criteria.java

Change-Id: I4a7aa2e0de720aab7f49363a1f28ca93bf36d067
2015-11-13 18:59:42 +00:00
ilhem fajjari
b0a0684b43 add key parameter to PathIntent and MplsPathIntent constructors
Change-Id: I157c1e3e10dc3e3ebc1dbc6f9a1c9fe769337ee3
2015-11-13 18:51:09 +00:00
Phaneendra Manda
bcdb7c9c6a Tabs converted to spaces in pom files
Change-Id: Id20ba34388b1f41d0d542e773d49b221c0bfb3f7
2015-11-13 14:03:30 +00:00
HIGUCHI Yuta
14c0436b3f Reversible String representation for PortNumber
Change-Id: I2b5f45bd0652ef7fdcacfac64248e299dda10785
2015-11-13 05:36:39 +00:00
Thomas Vachuska
761f0040f3 ONOS-1684 Added support for app dependencies.
Change-Id: Iae318c24c3c9bd43d84318c79ac420fc85d5d599
2015-11-12 21:37:58 +00:00
Aaron Kruglikov
a62fdbb9ca Adding an option for persistent flow storage.
Change-Id: I1dd70c9f2ea9cd99ef5a55eaa4b54968f7d3c55f
2015-11-12 18:26:06 +00:00
Charles Chan
ec0425c18c Carry previous location information in HostEvent
Change-Id: I06957d368a8a547cc3adb36bce4aaf96c432f4c8
2015-11-11 12:09:38 -08:00
Sho SHIMIZU
7326188f3f Fix grammatical errors
Change-Id: I0bade79fc8c1ca528785732a2340d28f500830e5
2015-11-11 02:57:48 +00:00
Charles Chan
009c30805c Fix duplicate host event
Change-Id: I632a1482e7b1b768ce7a0243cc8b6b398b9825b7
2015-11-10 18:19:53 -08:00
Sho SHIMIZU
73130f790f Refactor: Use putIfAbsent() to show the intention more clearly
Change-Id: I2fad1709cc6f8827d382a07b55cd89d2814ede36
2015-11-10 17:46:55 +00:00
Luca Prete
f70d399a81 Refactor ProxyManager Tests and added functionality to manage traffic coming and going through vlan interfaces
Change-Id: I8d748c42b48d0956c670be12ff2742cb2022fa62
2015-11-10 00:09:13 +00:00
Madan Jampani
a85c6941dc Fix eventDispatcher cleanup in ResourceManager
Change-Id: I37c82c7dab75def607268e36f2f98e04d41581d9
2015-11-09 14:41:48 -08:00
Sho SHIMIZU
93a74b301f Fix bug that exception is thrown when key doesn't exist
Change-Id: Ic107b82202f64fb81709310b5e9a705c7e66d542
2015-11-09 22:17:05 +00:00
Sho SHIMIZU
e7db6149b4 Register the root resoruce path
The root resource path must be registered before use of ResourceService

Change-Id: I9739522dd28300c27e209f2c88c937537f6a110e
2015-11-06 23:53:11 +00:00
Saurav Das
4f98008c10 CORD-48 Added support for broadcast next objective in OFDPA driver.
Changed groupid to show in hex for cli command 'groups'

Change-Id: I86474912a9fd775c36d5bc49545eaa58ecc46b47
2015-11-06 23:41:10 +00:00
Sho SHIMIZU
364cbacee8 Make the old resource APIs deprecated
Change-Id: Ib3158f3f363c928353f6ef82aac98a8e4e589953
2015-11-06 23:39:06 +00:00
David K. Bainbridge
34cc1025ac ONOS-3325 - enable configuration of local IP via environment variables
Change-Id: Ia8df1c126a76c8060e869554316593598dc5ec3e
2015-11-06 23:28:05 +00:00
Sho SHIMIZU
0b9c46889f Remove dependency on LinkResourceService from ObjectiveTracker
This resolves ONOS-3262.

Change-Id: I57b51b9d8ef1ed2d847ecddeca279b8afdb8725e
2015-11-06 11:25:45 -08:00
Sho SHIMIZU
fa62b475da Implement event notification of resource event
When a resource is registered or unregistered, a resource event is notified

Change-Id: I40e66761966ef2126366424a14bb3193fc850e5a
2015-11-06 11:25:37 -08:00
HIGUCHI Yuta
ca9cc8e28e Avoid use of Objects.hash when there's only 1 params
- directly call #hashCode() when hashed Object seems non-null
- replace with Objects.hashCode(Object) when Nullable
- replace with Long.hashCode(long), etc. when primitive

Change-Id: I08c24ebbe94cf4162d1491209a14baf953163e41
2015-11-05 21:47:59 +00:00
Sho SHIMIZU
3e255b1b73 Remove misleading todo comment
This patch relates to ONOS-3279.

Change-Id: I58d758dafa6e04fca0979d9a478078b03f51b5a1
2015-11-05 16:39:18 +00:00
Thomas Vachuska
c65dd7198e ONOS-3321 Added ability for applications to register a deactivation hook.
Change-Id: I284321474dbf9e39e8b61f7b907f637ba6b80aaf
2015-11-04 17:26:58 -08:00
Simon Hunt
cd1502725f ONOS-3320: PropertyPanelTest fails in non-English locale.
- Added formatter() instance method that can be overridden by unit test.

Change-Id: I38ee045edee852c95e27bead46800fb5dad4cf88
2015-11-05 00:04:57 +00:00
Sho SHIMIZU
f1a6279ea0 Enable ResourceRegistrar
Change-Id: I23b1c33ada224f302e08c0f6e8dfa7264048e19b
2015-11-04 21:12:07 +00:00