63 Commits

Author SHA1 Message Date
Yuta HIGUCHI
0de4ba9401 Remove duplicate version specifications
Change-Id: I0fe6027e66815ab2e7db5e090dd5aea39b3c36e1
2016-08-18 15:59:50 +00:00
sangho
a2d9f49bd4 [ONOS-4926] floating Ip flow rules handling when restarting ONOS
Change-Id: I844ebf8c0ef48289675124c79c96edd886bbff16
2016-08-11 17:20:45 +00:00
Daniel Park
f1af068af1 [ONOS-5094] Fix to update group bucket when a gateway node jumped to INCOMPLETE state
Change-Id: I630e97c353694dc0f635d4070baf44d0df49b083
2016-08-10 17:13:55 +00:00
Sho SHIMIZU
a09e1bbdbd Use Collection#forEach() instead of Stream#forEach() for simplicity
Change-Id: I0a1aea4bdb5d305c50273e6ff749fe71bd2a295a
2016-08-09 17:44:13 +00:00
sangho
4d28773050 [ONOS-5038] Bug fix for "pending_add" flow rules
Corrects deviceIds when build Nicira extension flow rules.

Change-Id: I8dc196d36e5518fe172769b2b957c929a7136d52
2016-08-05 09:56:34 +09:00
sangho
5c8f048200 [ONOS-5060] Bug fix for pNAT handler in OpenstackRouting
Sets the dst mac address of the packet as DEFAULT_EXTERNAL_ROUTER_MAC when sending out the packet using packetService.

Change-Id: I79d72539db1bb6cd3e88c4349d0f23dbfe4c57b7
2016-08-04 17:41:45 +00:00
Hyunsun Moon
5aa480be45 Fixed to add gateway node from ICMP handler also
And made the gateway store or group update synchronized

Change-Id: I10fc391e9059772e5da8322997a994db26a096b3
2016-08-04 00:25:31 +00:00
Daniel Park
1063c2337d [ONOS-5030] Fix to gateway ip address in host annotation refers appropriate ip address
- Fix to gateway ip address in host annotation refers right ip address, not host ip address

Change-Id: Ia07ed828d2f37e623dcca4ad204bfbaf4db2a45a
2016-08-03 00:08:29 +00:00
Hyunsun Moon
b3eb84d6fe Refactored OpenstackRouting to support multiple gateway nodes
Change-Id: I6870ca9a4fd6f6b1cf2d2be72f52ef87827e1d2c
2016-08-02 02:18:42 +00:00
Hyunsun Moon
f9a16ed993 Fixed to not to create gateway group if it is already exists
Also changed some names shorter.

Change-Id: Iaa8aa5ac378fc168e79c9e238090ca817af42261
2016-07-28 15:44:02 +00:00
Hyunsun Moon
ef6bad2b10 ONOS-4903, ONOS-4929 Fixed to load network config on application start-up
Also improved openstackInterface to create Jersey client once and
give better warnings. Fixed missing web context, too.

Change-Id: Ifc835b98f30d5daf566eb22dfe3af34f23634e09
2016-07-21 03:27:03 -07:00
Kyuhwi Choi
176c83d3aa [ONOS-4871] Fix gateway external port from list to single port
- Fix GatewayNode externalInterface from list to string
 - Fix GatewayService externalPort from list to portNumber

Change-Id: I8869c7bf550e005db854b464763cc2bc321faa6a
2016-07-15 01:56:41 +00:00
Hyunsun Moon
992be1d482 Fixed example network-cfg.json files for SONA applications
Change-Id: I49f30a22a5a9e7579ecb432b375ccaffd5bc71ce
2016-07-15 01:54:20 +00:00
Hyunsun Moon
da27e436a9 Fixed javadoc warnings and some cleanups
- Fixed javadoc warnings
- Removed commented code lines
- Removed OpenstackNetworkingConfig and SubjectFactories class which is no longer used
- Fixed scalablegateway app artifact ID
- Use PORT_NAME defined in net.AnnotationKeys

Change-Id: Id18501addefa12655e4946b9931ec094a34ee83c
2016-07-15 01:51:27 +00:00
sangho
c853a72541 Follow up for OpenstackSwitching Refactoring: Updates flow rules for security group updated.
- When security groups are updated, updates the flow rules for the security groups via the SecurityGroupService.

Change-Id: I13eacd3a21f804221bdd29105a304a9a1e10f2a8
2016-07-15 01:49:23 +00:00
sangho
6032f346f3 OpenstackRouting refactoring
- Replace OpenstackPortInfo with HostService
- Replace OpenstackRoutingConfig with OpenstackNodeService
  (Remove OpenstackRoutingConfig)
- Rebased with 10330 (existing_vm)
- Added initialization process using OpenstackNodeListener

Change-Id: If2ce8eb86d242a7180c9154e1a0f1668b266bf1c
2016-07-13 12:41:12 +00:00
Hyunsun Moon
05d9b262a4 Support existing VMs running on the newly added node
- Added openstack node state event
- Made openstack switching to listen to the node state events and
  add existing VMs running in the complete state node

Change-Id: I7b7186c3b889376a4bc0385313433604dcd93d70
2016-07-12 00:08:44 +00:00
Hyunsun Moon
b974fcacf0 Refactored OpenstackSwitching app
[DONE]
- Restructured to activate or deactivate switching and routing app separately
- Fixed to add or remove host when port is detected or vanished
- Use openstack node service to get integration bridges and data IP

[TODO]
- Remove use of OpenstackPortInfo
- Support installing flow rules for exising VMs
- Call security group update method when port update triggered from OpenStack

Change-Id: Ic0b2ac3f7ab07f0e20c97c6edfdd1928b9767baf
2016-07-12 00:06:20 +00:00
Kyuhwi Choi
92d9ea4406 [ONOS-4481] Integrate scalable gateway to openstackRouting
- Modified openstack_routing to use scalable gateway application
 - Add GatewayNode Builder method

Change-Id: Ib12d52009eeb89ab59f01cafe794894aac80985e
2016-07-11 15:00:48 +00:00
sangho
d177f8f57e [ONOS-4703,4704] SONA : Floating IP handling in SONA initialization
Generates flow rules for existing Floating IPs when SONA is initialized.

Change-Id: I0cb86345600c3cf3ee72fca176ae6d82e7a8cc36
2016-07-01 18:13:44 +00:00
hyungseo Ryu
38b5f18864 [ONOS-4702] Fixed Openstack ARP/ICMP in OpenstackNetworkingService.
-Fixes ICMP/ARP handler to deals with floatingIP.
-Fixed some bugs in ARP/ICMP handler.

Change-Id: Ie06fdcce25f8a58e2f14e9050bfb7e430ddfd3af
2016-07-01 17:57:57 +00:00
Brian O'Connor
1b2aea88c0 Removing gratuitous relativePath from pom.xmls
The default value for relativePath is: ../pom.xml

Change-Id: I1f5e5e6bfa1e91fcddae4f8cb8ab0c00c276e6b0
2016-06-16 07:05:31 +00:00
Hyunsun Moon
04b1fe9ada Make some DHCP options and host discovery configurable
- Added broadcast option
- Made host discovery from DHCP configurable
- Some code cleanups

Change-Id: I42191c2fd17ef309c73a5382730d708686b835cd
2016-06-01 13:47:33 -07:00
Brian O'Connor
e642f7cf7b Bumping version to 1.7.0-SNAPSHOT
Change-Id: Id105bf08ecbdac6d4e214ae035b4220aea90f29f
2016-05-23 18:35:29 -07:00
HIGUCHI Yuta
c0f5045e63 Remove some of unnecessary register calls.
Partial fix for ONOS-4528

- String, primitives, and it's boxed type is pre-registered.
   https://github.com/EsotericSoftware/kryo#registration
- Ip4Address part of MISC ⊂ API
- DefaultPortStatistics, DeviceId part of API

Change-Id: Iabf4b497f3680245bd8897c41c573febe936ff3d
2016-05-16 17:55:20 +00:00
Jian Li
c2a542bcab Explicitly return NO CONTENT type response for http DELETE request
Change-Id: I920084b92197bb1687e7d978ad350b2e1290ecbc
2016-05-10 22:24:39 +00:00
HIGUCHI Yuta
6f58422e99 Removing MISC, BASIC from registration, they are subset of API
Change-Id: I7e8a816a9a84b36dbd4720e3f6909c2adc99f387
2016-05-07 00:32:25 +00:00
Ray Milkey
6a638ba928 Appify fault management and open stack node BUCK files
Change-Id: I9c1574a8360c377bdc1b52e30f136a46cded0abc
2016-04-21 05:49:26 +00:00
Kyuhwi Choi
5e65e2cc13 [ONOS-4205] support east-west routing in openstackRouting
- Supports east-west routing traffic
  - Fixes javadocs

Change-Id: I23d9b9497cc2be667fbc9554812c7f5b49c35364
2016-04-20 15:16:41 +00:00
Ray Milkey
d77c8810f4 Buck build bugfixes
- tests were failing due to missing resources in incubator/api
- commented out dependency in openstackrouting
- duplicate dependency in apps/faultmanagement

Change-Id: Ie9e9430d5707b0e2ab07338fdb8a5095126102f8
2016-04-20 00:35:08 +00:00
Ray Milkey
a5ff8a7e50 Appify buck build for openstack and VTN apps
Change-Id: I6cc23cd567954daaee59271123a07040853e695b
2016-04-19 19:56:21 +00:00
sangho
489075405e [ONOS-4213] Creates a OpenstackNetworking Config for common use
Change-Id: I241db20fc32788a405b260372eedc3dce2de73fd
2016-04-18 17:22:31 +00:00
Ray Milkey
f9a76971be More app BUCK file refactoring
Change-Id: I97506033c4c0cf145c558df7d4f86f37c7fe8332
2016-04-16 01:28:08 +00:00
Daniel Park
f78306f084 Fixing arp event log in OpenstackRoutingArpHandler
Change-Id: I8d7c1737fcceccb201703a009243039db9e40e41
2016-04-11 17:25:32 +00:00
Daniel Park
2319390b4c [ONOS-3948] Seperate mgmt and data network in OpenstackSwitching/RoutingService
- Supports the seperation of management and data network

Change-Id: I178dbe2af241123c5181f94a7b46fc15b4cb37c7
2016-04-11 02:19:14 +00:00
Brian O'Connor
5ab426f9ff Updating copyrights
New format: 'Copyright .year-present Open Networking Laboratory'

Change-Id: I1a9e58b355b775e75245ad875a2d7a4df3f03098
2016-04-09 01:20:21 -07:00
sangho
efbc038934 [ONOS-4280] Allow to add a subnet to external network after the external network is used in routers
Change-Id: Idc41e64c21b9b36422bba67b48027c8a7f337a70
2016-04-06 17:50:14 +00:00
Ray Milkey
d4334dbdc1 Javadoc warning fixes
Change-Id: I30b3398b849da5d528f2bce58004d190ca17ad50
2016-04-06 17:37:12 +00:00
Brian O'Connor
85f28d0a0a Updating test sources in several BUCK files
Change-Id: I17b83cb978f7b8fc1d31a1e96bec59a077dbdfbb
2016-04-06 16:57:45 +00:00
Brian O'Connor
a450bd000b Simplifying Import-Package line in maven-bundle-plugin for REST bundles
Change-Id: Ic29e3f205e18b7b63e33a8c65cbb30a8b56d2e74
2016-04-04 21:33:36 +00:00
Ray Milkey
f80bbb22c2 Initial BUCK build
Change-Id: I64e8a979301989062f4545a4841b06c15a372049
2016-03-29 21:39:14 +00:00
Jian Li
9d61649f0f [ONOS-4042] Bump up Jersey from 1.19 to 2.22.2
- Fix unit test errors of web/api
- Fix default page redirection problem
- Fix compilation errors of web/gui
- Fix configuration of aaa, acl, cordfabric, cord-gui, dhcp, mfwd,
  olt, openstack, segmentrouting, vtn, virtualbng, xos-integration
- Fix unit test errors of cpman, vtn, acl, faultmanagement
- Fix compilation errors of openstack, virtualbng, xos-integration,
  REST SB controller
- Rearrange features.xml to resolve bundle dependencies
- Remove all of stale Jersey 1.x libraries
- Rearrange web.xml to point new Jersey 2.x servlet

Change-Id: Ic17f461ede0aa36fa8d470546d8069152dc1d134
2016-03-24 18:54:28 +00:00
Brian O'Connor
955c316b54 Starting snapshot 1.6.0-SNAPSHOT 2016-03-10 15:27:19 -08:00
Brian O'Connor
55b4d80176 Tagging 1.5.0 (Falcon) 2016-03-10 15:24:41 -08:00
Madan Jampani
23696428f8 Starting snapshot 1.5.0-SNAPSHOT 2016-03-09 14:02:04 -08:00
Madan Jampani
b7a5420285 Tagging 1.5.0-rc3 2016-03-09 13:47:32 -08:00
Kyuhwi Choi
ee9e371b1c [ONOS-3952] Implement FloatingIP Handler for OpenstackRoutingService
- Implements floatingIp REST interfaces & event handler
 - Implements rulePopulate method for floatingIp handler
 - Fixes minor logics
 - Changes app structure
 - exports configuration
 - Implements case issue.
   when openstack deletes vm w/o deassociating floatingIp,
   openstack doesn`t send floatingIp deassociation event.

Change-Id: If4d8ac3fecfed1957d84139f94ae31f593a9097b
2016-03-08 19:26:00 +00:00
Ray Milkey
21c3ebeca7 Fix java doc errors
Change-Id: Ibe3b34d13a6bfce0836a75d0478a9e0dd13dd17a
2016-03-08 19:10:47 +00:00
Jian Li
fd46e1d293 Refine application title and category in app.xml and pom.xml
- Remove ONOS keyword from application title
- Capitalize each keyword in application title
- Make it consistent to use App, Provider and Driver in
  application title
- Add right category name for each application
- Add missing application title and category
- Make application category comment more descriptive

Change-Id: Ib886b4a4293c38bd546a4107b20569f1bd7031a7
2016-03-08 18:41:50 +00:00
Jian Li
2b746f4cbd Add missing application titles in app.xml with pom.xml clean up
Change-Id: I543572d696f30f2ceebd39d9c6c33be55f5da38d
2016-03-08 06:06:32 +00:00