Change-Id: Ie0cae42ac2b361cf3b94e5047c157cb0945f4209
Adding origin to IntentData and use it to pick GossipIntentStore peer
Change-Id: I50e9621a69a35ec02b8c8dd79cc926591e5a73e9
Updating EventuallyConsistentMap to use BoundedThreadPool for broadcast threads,
and disabling anti-entropy for now.
Change-Id: Id1bfcdaf1d0a19745fe7336e4ac9eaf649871d5d
families.
The bug (an exception) is triggered when internally we try to create
a masked IPv4 address with a very long IPv6-derived mask length.
Added the corresponding unit tests.
Change-Id: Id835d27ab3ff38dcf7a1387ff32ccb701aa2fe11
and IPv4.getEcn() / IPv4.setEcn().
Those can be used to get/set the DSCP and ECN bits in the IPv4 header
without explicit bit manipulation at the caller.
Change-Id: Ia7c5779abae5c4fc7a343e3f7ef3355eb7e86e3d
Added a number of app.xml files for built-in apps.
Added ability to install & activate in one command.
Change-Id: I3fa5fa487ef76d9fe3da4d6dce8045d538cba423
- Use subtype() instead of type() inside method
ModMplsLabelInstruction.toString()
- Check whether the MPLS value is negative inside the MplsLabel()
constructor.
Change-Id: I770194774219f0c919474928803e078226f2005d
with first IP address from Host service
This fixes ONOS-1010
Also, add protocol-related constants to class NeighborAdvertisement.
Change-Id: Iacf9e48a8a03a86e1cc4e89e7e2b2b4ccc4a7e3a
SDN-IP can now support peering and routing between hosts that are connected
on VLANs.
Changes include:
* Updated NetworkConfigReader app to read (optional) VLAN configuration
* Updated VlanId to support the 'VLAN present' value - in a match this means
that a VLAN tag must be present, but it can contain any value.
* Updated SDN-IP to set destination VLAN tag values if appropriate
* Updated FlowModBuilder and FlowEntryBuilder to support 'VLAN present' value
* Slew of test updates.
Change-Id: Ief48cede5c1fd50e1efa851da5a97fb4a8edda29
* Create IExtensionHeader interface
- setNextHeader, getNextHeader interface for all extension header classes
- Except EncapSecurityPayload, in which the nextHeader field is encrypted
* Create BaseOptions class
- Super class of HopByHopOptions and DestinationOptions, since these two are very similar
* Implement following classes with unit test
- HopByHopOptions
- DestinationOptions
- Fragment
- Routing
- Authentication
- EncapSecurityPayload
Change-Id: If65894eccf20ac90f04bc2b0cb42aac6dd5a9674
Create an exception to throw when no resources are available
Simple, Hazelcast and Distributed link resource stores throw ResourceAllocationException
Unit tests for successful and unsuccessful bandwidth and lambda allocations
Change-Id: If062d10d2233935dd59efabfa5f37a446e275a5b
* Resolve ONOS-511
* Refactor: Move NDP-related classes into org.onlab.packet.ndp package
* Bugfix: payload is not properly set in testSerialize
Change-Id: Idb2dbfbd0297152c0e26ac2d5d5f8dba62824660
ONOS-511: Implement NeighborSolicitation
Change-Id: I9aaf35d499cfc7885c74f9c4bf281210ef9f3969
ONOS-507: Trace NeighborSolicitation/NeighborAdvertisement/IPv6 packets in HostLocationProvider
* Complete Javadoc of IPv6, ICMP6, NeighborAdvertisement and NeighborSolicitation
- The Javadoc for serialize() is removed since the one in its superclass just works fine.
* Change 'diffServ' in IPv6 to 'trafficClass' to meet the field name in RFC.
- The setter method, getter method and unit test are also updated accordingly.
* Add IpAddress.isZero() to determine if this address is zero.
- The unit test is also updated accordingly.
* Fix misuse of IpAddress.valueOf(int) in HostLocationProvider
Change-Id: Id0d873aeb1bc61bf26d4964e7aab4bb06ccd0a38
Create ICMP6 class, which is mostly like ICMP
Change-Id: I11d7abec4a8f1fd202e5dfb0a500f621773c2c3a
Create IPv6 class, which is mostly like IPv4
Change-Id: I7a301a0f94263df5d6d30f73050332ec7acfe611
Register handler class of IPv6 to Ethernet
Change-Id: Iccdef1680664520f9d66360a289809710982ce54
Fix FIXED_HEADER_LENGTH
Change-Id: Iff4fb22638416595f2865ff46b682a0579ba33d5
Fix payloadLength
Change-Id: I8dea4dd52f0bb5926fbff0d9e74fdd19404cabff
Add unittest for serialize
Change-Id: If194aa2530ce517a33b36b97b8478b0a4c463954
Add unittest for deserialize. Fix assertArrayEquals. Refine test structure.
Change-Id: I94f2a348b2be2f5907d8bac6b9029b37eb31456d
Payload length should be handled during serializing/deserializing procedure
Change-Id: Ib079bf939a01a38356c824ed972793293ed8ca1e
Add unittest for comparator
Change-Id: I937dd9330d7c23a81ecd8434ac0fcf7345cc5c00
Fix typo. Fix checkstyle error
Change-Id: I2fe1af81c65416b0fddaa0fb9ae206b87b889628
Add implementation and unittest for NeighborAdvertisement
Change-Id: I7610462a5712f9fee5be0416c08e1de302e0780d
Register handler class of NeighborAdvertisement to ICMP6
Change-Id: I3a7a9cf044cfdcd8908579942c159c2f0aad198d