52 Commits

Author SHA1 Message Date
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
musonous
95c3ee5879 [ONOS-3947] Implement Openstack FloatingIP REST call json parser
- Implement Openstack FloatingIP REST call json parser

Change-Id: I6123bc13eea00a973bdec3ff5503949b25ebceca
2016-03-08 04:55:09 +00:00
Daniel Park
81a61a1fc4 [ONOS-3946] Implement IcmpHandler for OpenstackRoutingService
- Process Icmp packet sent from Host to external network for OpenstackGateway Node
- Process Arp packet sent from physical  router to gateway

Change-Id: Ifcde71a9ca10180682811c9e1bcf58f991b36443
2016-03-08 02:08:38 +00:00
Simon Hunt
afae2f71fc Apps-- added onos.app.title property to applications.
Change-Id: Id845390ee0bee5b871c0ce9f47b2ce98fbcf26b9
2016-03-07 19:30:59 +00:00
sangho
900885389f [ONOS-3953] Implements Security Group of Openstack
Change-Id: I30766097a2894a26e46a7a399176d99e95af6abf
2016-03-07 18:42:16 +00:00
Hyunsun Moon
0dba61f0d0 Fixed javadoc warnings on openstack applications
- Changed package name of 'app' submodule to avoid duplicate package name warning
- Added app.xml and features.xml to make the application activate successfully
- Fixed missing parameter javadoc warnings

Change-Id: Iaefdd08d15291ccea8224b13b815246eb13b84ce
2016-03-04 01:45:41 +00:00
Thomas Vachuska
5d8994ffce Starting snapshot 1.5.0-SNAPSHOT 2016-03-03 17:13:26 -08:00
Thomas Vachuska
40d5255ca9 Tagging 1.5.0-rc2 2016-03-03 17:08:36 -08:00
sangho
93447f1ad3 Separated OpenstackInterface feature from OpenstackNetworking application.
Change-Id: I4766de7e93c5b432c50a2167b9a9d9d4605b1ad2
2016-03-03 22:54:11 +09:00
Hyunsun Moon
0448ea086a Don't PNAT for DHCP packets
And don't call Neutron before the config is ready

Change-Id: I921731468c65b9df7646525d32edddc69e46c371
2016-03-02 00:37:11 +00:00
Jian Li
814a339458 Resolve openstacknetworking and openstackswitching dependency issue
Change-Id: If246d09af29cfa0379ee9666de2931a3175f46e9
2016-02-25 23:59:06 +00:00
Hyunsun Moon
b0f09be1a4 Fixed sona refactoring related issues
Change-Id: Ied0ce985921be2fda503fefc6af3388c5289c2d6
2016-02-23 15:04:52 +00:00