1514 Commits

Author SHA1 Message Date
Qianqian Hu
d70407da1f When authenticaiton succees, a NullPointerException may be triggered if there is no match in portToVlanMap , which will stop aaa from listening to radius server. A try-catch is added here in order to prevent subsequent authentication failure in aaa
Change-Id: Iea0c53ff59ed42f0c369400c155b7d8e14a6748f
2016-02-18 23:03:05 +00:00
Ray Milkey
395e56e957 Remove deprecated Optical provider
Change-Id: Ifaa67ec9a5eb93a8b6b16fda3351db381ac47590
2016-02-18 22:54:47 +00:00
Charles Chan
116188d056 Cleanup interface constant
Change-Id: Ief110d6db88889e5c01c43b5d410330114c65ad9
2016-02-18 22:53:51 +00:00
Thomas Vachuska
708d3031de Cleaning up javadocs.
Change-Id: I67a0600fc80f9d7b0859f2e0e7634579cab6cfbf
2016-02-18 19:41:42 +00:00
Charles Chan
b54e8ba3e9 Fix javadoc error
Change-Id: Ica9ef8f921aa7b8ce891e17a6839bfec6f444068
2016-02-18 18:45:36 +00:00
Jonathan Hart
b940190ec4 Add route to each next hop
Change-Id: I4a581545d9539c46194d6f5a6a202120779a60db
2016-02-18 18:43:47 +00:00
Charles Chan
f2565a9cbc CORD-508 SegmentRouting / vRouter integration
- Added excludePorts config to SegmentRouting
    SR does not push VLAN filtering rule to excluded ports
    SR ignores hosts learned from excluded ports
- Use separate default route config
    Don't need to config 0/0 on the interface anymore

Change-Id: Iea75d60c2d5f5368e79652b1bf192a6ced49030d
2016-02-18 17:32:30 +00:00
Charles Chan
5270ed0088 CORD-512 Support vSG <-> vRouter default route
- Support multiple subnets per port. getIpPort() will only return the first non-/32 and non-/0 subnet
    /32 is used as vSG subnet
    /0 is used as default gateway
- Support multiple L3 unicast group on a single port
    Change the way to generate the group ID and group key
- Special case for 0.0.0.0 host. Push a /0 to IP table instead of /32
- Implement vRouterConfig
    Put VR MAC to TMAC table of all leaves when config added
        When processEthDst see PortNumber.ANY in key, match ETH_DST only
- For OFDPA, wipe existing instruction before sending to controller
    So packet that misses L3 unicast table won't be sent to controller twice
- For SpringOpenTTP, pop VLAN before sending to controller
- Move several constant definitions to SegmentRoutingService
- Add minimum priority for IP rules such that /0 won't collide with zero priority default rules
- Update the config sample
    Use VLAN=-1 for hosts
    Add example for default route

Change-Id: Id751697ce36a7e5c13b3859350ff21b585c38525
2016-02-18 17:30:19 +00:00
Hyunsun Moon
2a225167bc CORD-537 Added removing vSG
- Remove vSG from ONOS host list with allowed-ip-pairs update event
- Remove vSG from ONOS host list when vSG VM removed

Change-Id: Ic93fceec67d3faada795805d4c4a56ab5187d7e2
2016-02-18 14:58:44 +00:00
alshabib
1aa5814ec1 support addition and removal of mcast sinks
vlan mcast rules are now optional

Change-Id: Icb7022089a6e139970040d8cdea97df0cdc8dc7c
2016-02-18 14:53:04 +00:00
Jonathan Hart
3a8896b506 Clean up a few SSM-translate things, incl config validation
Change-Id: I5308fd8a73088ea6a522f22642ee834ac8a7a446
2016-02-17 20:01:14 -08:00
Jonathan Hart
5e8689c990 IGMP ssm translate
Change-Id: Id5654702ad55b6294323e4cb753fe28ea1f61276
2016-02-18 02:00:00 +00:00
Hyunsun Moon
ae39ae838b CORD-537 Added public IP gateways for ARP proxy
- Added public IP gateway and MAC pairs to network config for ARP proxy
- Added vSG as a ONOS host

Change-Id: Ia722ba3843297cec7134da5d64bbf188c22762f8
2016-02-18 01:13:57 +00:00
Jonathan Hart
1af5a7a07c Clear FPM routes when the FPM connection goes down.
Change-Id: I20b7eca27150aad9958cf872edbbfa973a003af9
2016-02-17 21:44:20 +00:00
Hyunsun Moon
102013270b Support allowed_address_pairs
Change-Id: Id897c1833e18d1b3885394159f6beae240b3f52b
2016-02-17 05:57:34 +00:00
Hyunsun Moon
6d24734fef CORD-537 Added flow rules for vSG connectivity
- Added Q_IN_Q table
- Added flow rules for vSG connectivity
- Changed to listen port update event from Neutron to update vSG IPs

Change-Id: I227ba7a91e90ec0752481ebf623b4e848d585265
2016-02-17 05:57:33 +00:00
Jian Li
1a42469471 Refactor SystemInfo, and store SystemInfo into singleton instance
- Implement Bill Pugh singleton for ControlMetricsFactory and
  SystemInfo class

Change-Id: Ia97538d9f1be9ea900b0e87371bf50877eaf6483
2016-02-17 01:24:04 +00:00
Jian Li
f53d0b2d1e Add more unit tests for control plane manager
- Add unit test for ControlMessageMetricMapper
- Add unit test for ControlMessageManager

Change-Id: I83e2eda8ca5ed3dabae2fb262a20b7d45de4c75d
2016-02-17 01:23:07 +00:00
Sho SHIMIZU
ef7e290e20 Make use of Optional more idiomatic
Change-Id: I42b3261169e7cb8408f46c5831f72115f77fd779
2016-02-17 00:38:48 +00:00
Hyunsun Moon
2703980ee4 Fixed ARP reply
Change-Id: I04f2d9ef727c37481beeb8569634b8a7edb5f271
2016-02-17 00:36:37 +00:00
Luca Prete
9c2ee0782a Moving vpls app from onos-app-samples to onos repo
Change-Id: I27f8bcac00350b072a6dc33debc8adc589033490
2016-02-16 23:23:26 +00:00
alshabib
42d32eb899 adding igmp query polling to igmp application.
Change-Id: I995336417e11404d96f33cdae96b12202d454dd1

adding SafeRecurringTask

Change-Id: Ie560e61500f85339c296f03ed8684078737edcd1
2016-02-16 11:05:00 -08:00
Qianqian Hu
5f374cde9f According to the 802.1x standard, the state-machine should go back to connecting state if a start packet is received while in authorized state
Change-Id: I07ef81eb73d2422cbb85b9c8dd9fcd4f48742e2e
2016-02-16 16:37:24 +00:00
Phaneendra Manda
8225ddb623 [ONOS-3833] Load balance identifier class and UT
Change-Id: Ice90fbc56be8e214ed9e6657a32eff8839311749
2016-02-16 01:54:17 +00:00
Charles Chan
f555a73ab2 vRouter should only process configured ports.
A missing part of #7558

Change-Id: I0efa34eb5d76b7c1c459f3141c061763d95248dd
2016-02-15 15:37:15 -08:00
maojianwei
8bf77b78d7 Improve the method to loading configurations from OSGI
To avoid null value error, Use Tools.get() in org.onlab.util.Tools to load configs safely.

Refer to https://wiki.onosproject.org/display/ONOS/Component+Configuration

Change-Id: Ic8ab5bd41d1e374a0abb3c78e94c28df7854b85d
2016-02-15 09:22:00 +00:00
Madan Jampani
39fff107c4 Method name refactor in DistributedPrimitive + Builder for AsyncLeaderElector
Change-Id: I59be6e66665c0b12d02106bd5c722e9fa38dd7a1
2016-02-15 03:49:12 +00:00
alshabib
ea9eed9cb2 remove eapol rule when vlan rules are pushed.
reinstall eapol rule when vlan rule is removed.

Change-Id: I6e5f502206dacd915127d38d9309e34b20f46de4
2016-02-15 01:30:50 +00:00
Jonathan Hart
6be7095da6 Make PIM hello interval configurable on a per-interface basis.
Change-Id: I7a0788be4445c7befbd947a3df893bcce1118bf5
2016-02-15 01:29:59 +00:00
Jonathan Hart
6ccfc5a3b9 Fixes to the IGMP app to process group membership reports
Change-Id: I7a478011caadb8250f6a25b5fb5a820485e593b6
2016-02-15 01:29:33 +00:00
Hyunsun Moon
9cf43db6d1 Implemented dummy Neutron ML2 plugin handler
- Added REST handler for Neutron ML2 ONOS mech driver
- Made cordvtn ARP proxy to handle request for host, too
- Now cordvtn utilizes openstackSwitching only as a Neutron REST client

Change-Id: I6890b6651ddcb9d8cf33fb326e9f0eb721b536a5
2016-02-15 01:21:46 +00:00
Jian Li
fdbc0fc36c Merge various resource type completers as one completer for CPMan
Change-Id: If4a9f6fa6705f49847139cd95b28ec0482d47415
2016-02-12 22:26:07 +00:00
Jian Li
72b9b129a5 [ONOS-3535] Accumulate control message stats using monitor service
- Augment the control message class to have device id
- Initial implementation of accumulating control message stats
- Add more adpator for unit test
- Change Collection<ControlMessage> to Set<ControlMessage>
- Fix the arithmatic exception
- Fix some javadoc warnings

Change-Id: I2abaf0d91edca5419b26f1c5a69246bcdb9201bf
2016-02-12 21:34:21 +00:00
Rusty Eddy
bcad55b9e6 Added some incoming JoinPrune processing
Change-Id: I7c89f05119ffa012b8e79f05d0f5f63744282ffb
2016-02-12 17:44:17 +00:00
alshabib
fe69e9abc4 fixing igmp bootstrap issues
Change-Id: Id8d7b6c33fa4196db72ea049b484cb9c52d2c87f
2016-02-12 02:02:15 +00:00
Jian Li
5c5ddcdcae Add unit tests for ControlMessageEvent and DefaultControlMessage
Change-Id: I3909b528befa479be96256d999b953fb923a9fda
2016-02-11 16:09:11 -08:00
alshabib
8f8060de7a olt installs default flows when ports appear and/or when config is uploaded.
Change-Id: Ia91f7315dac1d3a53e2b9fbf978da77a362354c6
2016-02-11 23:59:21 +00:00
Jian Li
01a616726b Define a new control message to control metric type mapper
Change-Id: Id5b365753a3a5abc3a864c4350e427336ee69448
2016-02-11 23:52:42 +00:00
Jonathan Hart
1d00639523 Move multicast CLI commands into the core with the core mcast system.
Change-Id: If442803cf530cfeb949e7fbce34f74db082f30c1
2016-02-11 22:54:20 +00:00
Jonathan Hart
fcdcb4f0b9 Add basic multicast RIB synchronization over REST
Change-Id: I75f22956b6b73427ca657f5ab58330b1417fdf43
2016-02-11 22:54:20 +00:00
Jian Li
1446aef8a5 Add dependency between onos-app-cpman and onos-of-provider-message
Change-Id: I428d9a046086d86f037d481468c67c8875b6ec5f
2016-02-11 20:16:40 +00:00
Jian Li
4545cf1940 [ONOS-3537] Initial implementation of ControlMessageManager
- Add skeletal code of ControlMessageStore
- Add initial implementation of ControlMessageManager

Change-Id: I17161ce18b67e8f35ea9b80832f3732a55de323b
2016-02-11 17:29:10 +00:00
Madan Jampani
538be7420f Refactored primitive builders to consolidate methods into the base DistributedPrimitiveBuilder
Change-Id: I9a24117b41d1feeb5cf460c6adfa484aabcbb8c1
2016-02-11 06:00:52 +00:00
Hyunsun Moon
640f183e1a CORD-536 Support bidirectional connectivity between two services with dependency
Change-Id: I6530cd6d4865567d878a8269e09b98f5694b0454
2016-02-11 04:08:40 +00:00
Jonathan Hart
883fd378cc Added interfaces configuration to allow vRouter to be selective about what
interfaces to use.

Change-Id: I4eb069760df0995d9e831e024ddbc0493bccce0b
2016-02-11 01:14:00 +00:00
Hyunsun Moon
133fd793ad CORD-524 Added a state to set data plane IP to br-int
Added new config fields
- SSH port, user, private key file
- localManagementIp for connection b/w a compute node and VM

Renamed some config fields and methods
- phyPortName is changed to dataPlaneIntf
- localIp is changed to dataPlaneIp
- ovsdbIp is changed to hostManagementIp and it is used to SSH as well
- checkXXX methods with boolean return are renamed to isXXX

Removed unnecessary OVSDB_CONNECTED state
Removed cordvtn-node-add CLI due to too many arguments

Change-Id: If5efb65fc58bfa8a10767047f01598dc2ac02a04
2016-02-11 01:12:58 +00:00
Jonathan Hart
54119bbe6b Add neighbor lifecycle management.
* Made PIMNeighbor mostly immutable (apart from updatable timestamp)
 * Equals and hashCode for PIMNeighbor
 * Remove neighbor when we see a HELLO with holdTime==0
 * Periodic task to time out neighbors who haven't sent a HELLO in a while
 * Added a CLI command to view PIM neighbors

Change-Id: I59e52a847f7abcb8e9ac660c2cccace53e46867b
2016-02-10 15:05:47 -08:00
Jonathan Hart
5af5f149c5 Added configuration for PIM interfaces.
Now the PIM application requires PIM Interface configuration for each interface
that will have PIM enabled (no longer uses all ONOS interfaces). The
interface-specific PIM parameters can be tuned.

Change-Id: Ibc284fdbe1b3aa4da48097b3e92470bce4f349a7
2016-02-10 14:43:26 -08:00
Jonathan Hart
36fd31e855 Finish off a couple of things to get PIM to send HELLOs.
Also added packet request to PacketService to get punt flows installed in switches.

Change-Id: I7340d09a1cf2ec06fb33ac0c4fc14eb43e94f496
2016-02-10 22:21:39 +00:00
alshabib
e5ec240dff fixing events in the olt when olt availability changes
Change-Id: I1db2bb120463766d984e33743667ee187cb1378b
2016-02-10 16:22:08 +00:00