2605 Commits

Author SHA1 Message Date
Yuta HIGUCHI
289f45c216 DCS check and create built-in nodes
Change-Id: I14b93b9f7ea4a1b69f8b16598dd58d5300dc7595
2017-11-01 17:49:45 -07:00
Dimitrios Mavrommatis
f0c0632beb refactor code and service separation for MOAS support
Change-Id: Id00a59a46a30d3a8c976611e637c28fe609c9842
2017-11-01 23:41:10 +00:00
Andrea Campanella
f9c409a3d8 [ONOS-6556] Distributed Implementation of PiPipeconfService
Change-Id: I7196ce6eee333e732c0cd5015d4d8d32ee069e27
2017-11-01 23:39:55 +00:00
Charles Chan
7f8d14db82 Include the new nextHopTemp field in equals, hashCode, toString and clone
Change-Id: I4f62b00d01faa9822b239a9356adeac50c2f0b06
2017-11-01 13:19:37 -07:00
Charles Chan
d0dd700206 Implement DHCPv4 Lease Query
Change-Id: Ic24b2825bbb359e4044d59e0eaaa1097d0d5351c
2017-11-01 19:31:12 +00:00
Laszlo Papp
e435653acf Fix the display name of route service rest
Change-Id: Iab466dde21813bf6a1ce97c871cb008e0ed76b19
2017-11-01 18:42:41 +00:00
Claudine Chiu
e92efeaa97 ONOS-7170 OFAgent - handle PORT_MOD; issue PORT_STATUS messages when virtual port state changes
Change-Id: Ibc4b91ca057e411311baaeb4a769fa967013d304
2017-11-01 18:18:50 +00:00
Yuta HIGUCHI
4bec2f3923 Add Optional version of projecting Behaviour
Change-Id: I3d3411763be1a75a2bdb04fb59c70d9779f1b02a
2017-10-31 22:55:02 +00:00
sonugupta-huawei
62bac080a3 Validation of modelId for valid syntax
Change-Id: If643b5dae0fc4bf1258580dc7368b94043cb0c16
2017-10-31 15:12:09 +05:30
sonugupta-huawei
8e01942755 [ONOS-6673] YANG Runtime: GET API's for YANG Models
Change-Id: Iab3b8a0aeb63bdb88ce7b8cc9f6edc6f3bb4d41f
2017-10-31 08:36:49 +00:00
Carmelo Cascone
d61fdb3b89 Added P4Runtime-based Barefoot Tofino driver
Change-Id: I09ba8dd4468fa5a792ca481921e8a51dad49702e
2017-10-31 05:41:30 +00:00
jayakumarthazhath
1cbde73a2a IPv6RA: Property configuration support added.
Change-Id: Ie2270fdf1449ae401713fc2cf5ae7cdd07f55b69
2017-10-31 01:41:11 +00:00
Charles Chan
b4879a558c Match VLAN_VID in TMAC table for mcast flows
Matching VLAN_VID in TMAC table is mandatory on QMX switches
XGS switches support optional VLAN_VID matching so this patch is effective for both platforms

In addition,
- Take native vlan into account when assigning VLAN for untagged multicast traffic
- Fix a bug that puts wrong eth_type in TMAC table

Change-Id: I19caf2d6d69096a96b75cb528b6ed37b28d7d988
2017-10-31 00:09:59 +00:00
Yi Tseng
525ff40850 [CORD-1751] Preventing attacks on DHCP-Relay
Change-Id: I46f7ba2490994e71c9f7d881cbe44785720f1e37
2017-10-30 22:08:53 +00:00
Charles Chan
6fa3b4ffe7 Fix checkstyle error
Change-Id: I9e8560639e7c2b6f2285c632c54709dbdb771689
2017-10-30 13:54:35 -07:00
Charles Chan
a990ce9710 [CORD-2065] Source address of relayed DHCPv6 packet is not always correct?
Change-Id: I6cffcee82e1d902cd022de32c8844c4df1f80707
2017-10-30 18:15:29 +00:00
Carmelo Cascone
ca94bcf5ea ONOS-7058 Refactored default pipeconfs in new pipelines directory
- Minimal refactoring of P4 programs
- Removed symlinks to BMv2 JSON/P4Info
- Bumped p4c commit (which fixes known parser bug)
- Renamed "default" pipeconf to "basic" (ONOS-6818)

Change-Id: I319f8b142ab22dba9b15457e28cd62d17f78a423
2017-10-30 16:53:37 +00:00
Claudine Chiu
b211b87829 ONOS-5457 OFAgent - handle GROUP_MOD and METER_MOD controller to switch command message
Change-Id: Ib34f22581d8f4a89fcf2fbfc8ab66306d87137a5
2017-10-30 15:19:20 +00:00
Andrea Campanella
5a4df1ea3d [ONOS-7136] Removing Alarms when a device is from ONOS
Change-Id: I0556ca45741f38aacc6aca1d0173941a7e50acae
2017-10-27 23:24:13 +00:00
fahadnaeemkhan
a2a6b156a5 small clean up in AddOpticalIntentCommand
Change-Id: Ibd220a49f14c19367fff93246646bc33ac2b5f2c
2017-10-25 21:38:28 +00:00
Charles Chan
419f5aa2d7 Bugfix: ping6 to interface IP of remote leaf doesn't work
Instead of early return, simply ignore link-local IP matching if interface MAC is not configured (e.g. spine port)

Piggybacked in this commit:
    - Refactor the ICMPv6 handler

Change-Id: I44e4daac067262b63e6726b4b4d7e3426e0f7fdb
2017-10-25 20:32:14 +00:00
Laszlo Papp
da059e7d99 Add a power management application
Change-Id: I7f3271b6f45d0e0b990049db1333843a0cd5f06a
2017-10-24 23:06:48 +00:00
Charles Chan
27fe1a5b0e CORD-2063 Correctly update interface MAC when network config is updated
Note: this is only a temporary fix that still doesn't offer full dynamic interface config capability

Change-Id: Ieb2a9316821d3e8a3ad9257b2980e14ddbafec4d
2017-10-21 00:57:25 +00:00
Jayakumar Thazhath
3ec6aa2f63 IPv6 Unsolicited RA application.
Change-Id: I7dac31918708d85247a7831fd38f83d2e8781183
2017-10-20 21:27:15 +00:00
Yuta HIGUCHI
0c47d5386e Deprecate joda-time
- ref:
  http://blog.joda.org/2014/11/converting-from-joda-time-to-javatime.html

Change-Id: I1115e8053f601e78cb933ccbfa664ff8787d2da1
2017-10-20 09:40:05 +00:00
Kalhee Kim
a0b8f65e8a [CORD-2064] When parsing InterfaceID buffer size is insufficient
Change-Id: I92966a6e59e4ba0319eef025f87193651f5918b1
2017-10-19 19:49:29 +00:00
Yuta HIGUCHI
9285d971ae DynamicConfig netconf rpc update
- use new NETCONF RPC API
- Cleaned up debug logs

Change-Id: Ibc365bb144466d4815f02e0ecfe2f9f7bc207310
2017-10-19 15:06:35 +00:00
Kalhee Kim
45b2418571 [CORD-2097] DHCP V6 Relay incorrect src ip and src mac set toward server
Change-Id: Ib2bd641d5be37763e83e5a056e50125c4e7e4f84
2017-10-19 00:37:45 +00:00
Max Chu
3ba06869ec CFM and Microsemi cleanup
Change-Id: I4a69b2b0db6e18f48de8fbcb576d2563cb41e498
2017-10-18 23:51:36 +00:00
Yi Tseng
919b2dffdc [CORD-1880] Improve DHCP relay CLI
Change-Id: I38b8b0fdfefa8831c70c74708549fd6805f624bc
2017-10-18 16:19:32 +00:00
Kalhee Kim
0c0cb0b8ad [CORD-1895] Incorrect VLAN DHCPV6 message to client
Change-Id: I462ec928f3ded6247c9d9699f0cdf3bf3c842eba
2017-10-16 18:40:58 +00:00
fahadnaeemkhan
ffc917f9c8 ONOS-7080 and ONOS-7070:
- added support for user-defined signal in add-optical-intent CLI
	- implemented LambdaQuery behavior for restCiena driver
	- added port based filtering of paths in OpticalIntentCompiler

Change-Id: Ibb61cc3722d5b3a52859d5585decf82a50ef5be0
2017-10-11 23:22:12 +00:00
Laszlo Papp
d4aaa358d8 Fix the roadm friendly device name
Change-Id: I593477d0144a7a879a4542f30652d16e952ff034
2017-10-11 11:56:45 +00:00
sonugupta-huawei
87c87333d8 Removing the deprecated code
Change-Id: I1d7ff773c4018a2ec94aa4f05e056aabdf45e183
2017-10-11 10:27:56 +00:00
Charles Chan
d0d1e3360b Fix relay agent ip for indirect DHCPv4 packets
When only default server config is supplied
    The indirect traffic should be relayed to default server
When both default and indirect config is supplied
    The indirect traffic should be relayed to indirect server

When relay agent IP is not specified in either direct or indirect config
    For direct clients, use client interface IP as relay agent IP
    For indirect clients, keep original relay agent IP in the DHCP packet

Change-Id: I065e1adf25c942e19240efd5192b50333a650ad1
2017-10-11 02:07:13 +00:00
Kalhee Kim
d21029f5ab [CORD-1928] Indirect dhcpv6 solicit/request should forwarded to indirect connecctPoint
Change-Id: Ic3ecae627bc7b1f3bb2edf59df908ea7a3ee6139
2017-10-10 21:30:40 +00:00
Yuta HIGUCHI
f104e0b994 Fix cfm app pom
- app -> apps
- missing dependencies

Change-Id: Iba1e5a9b8d61d36096e9f10fcd0a68a29b5920ae
2017-10-10 20:02:45 +00:00
Sean Condon
0e89bda7fc Initial import of CFM and SOAM api
Change-Id: Icf5cc2d5fb34b75460e80e8cced0d70265bcd33b
2017-10-10 10:30:34 +01:00
Charles Chan
ae0f5dccee [CORD-2055] Set hop limit to 64 when relaying DHCPv6
Change-Id: Ic8189eaff52fe2fb743e9fdef6a96609081dce16
2017-10-10 08:36:13 +00:00
Simon Hunt
06c1b92c24 Created BlockedPortsConfig in SegmentRouting app.
- unit test uses json text file as input

Change-Id: If4fdf0f259f4e5801065b5c905520c6ffc17ee57
2017-10-09 17:03:08 +00:00
Thomas Vachuska
803278eda7 Adding support for custom model registrator and supporting Java code
to be built and packaged along with the auto-generated artifacts that
represent the YANG model.

Change-Id: I62c121f22680d483df40662da6a73c1bae43826b
2017-10-06 22:47:48 +00:00
Gaurav Agrawal
28920d8101 Addition of common model.
Change-Id: If5fd6bae01a59ebf9d27f8369ac3403c83f70fad
2017-10-06 18:18:10 +05:30
Thomas Vachuska
e9d21863f0 Moving the reactive forwarding task of black-hole fixing off the event thread.
Change-Id: I3b17dc9a50906a0e3698f20f88e77e01d1037737
2017-10-03 16:13:46 -07:00
Yuta HIGUCHI
e057deed22 ONOS-7007 dealing with root relative path
- workarounds to deal with root relative ResourceId used by DynamicConfigEvent
- fix issue, where duplicate KeyLeaf was getting added

Change-Id: I957044f8da3d71e064663011c8bd8fceeb1cf44e
2017-10-03 18:18:36 +00:00
Ray Milkey
f0c47617e8 Remove deprecated deserialize() mthods from packet classes
Change-Id: I4e52ab368390d30f5f5f24d443a5021916d0c6a3
2017-10-03 18:03:33 +00:00
Yi Tseng
c4a0beab98 [CORD-2016] DHCPv4 packet broadcast flag is not reset in relay
Change-Id: I99a82693b69e042b197d44174095f4058ed40200
2017-10-03 18:01:45 +00:00
Yi Tseng
15813842f0 [CORD-1925] Fix null pointer exception in DHCP relay store
NPE happened when remove DHCP record

Change-Id: I4b4c564d086c4e274aefa0ebce5d52cd622596d0
2017-10-03 16:33:45 +00:00
Carmelo Cascone
87b9b398fa Various improvements to PI group handling
- Moved group translation logic to core service
- Removed dependency on KRYO
- Fixed bug where tratments with PI instructions where not supported if
	an interpreter was present
- Fixed bug where action profile name was not found during protobuf
	encoding (always perform P4Info lookup by name and alias)
- Improved reading of members by issuing one big request for all
	groups

Change-Id: Ifcf8380b09293e70be15cf4999bd2845caf5d01e
2017-10-03 12:41:46 +00:00
sonugupta-huawei
8065a3b049 [ONOS-7023] Error returned after sending json input
Change-Id: I1e1f7faa64d5f6e66a7da7e89032d26adfb342da
2017-10-02 22:00:32 +00:00
Yi Tseng
4025a104f6 [CORD-1956] Incorrect logic to find interface for input/output packet
Change-Id: Ic61359b7c6b33d8afd52674d905e4c3082de1e25
2017-10-02 10:02:42 -07:00