Refactor Subnet.isSubnetOf - reduce number of 'if' statements.
Added unitests.

Change-Id: Ife074b9afdf029ca02e02af35d53c4a2869681f6
Signed-off-by: Alissa Bonas <abonas@redhat.com>
Simplify method isMutualExclusive in Subnet.
Remove redundant 'if' statements.

Change-Id: I4ba0b5da22095e5d294eea008119dc49159795af
Signed-off-by: Alissa Bonas <abonas@redhat.com>
On openflow plugin restart, NPE in tx poller

- In TopologyServiceShim tx poller thread task does not
  check is IOFStatisticsManager provider is available.
  Protocol plugin restart is a way to consistently
  expose the issue.

Change-Id: I9033eb5dd03c1465f465a4e2ef254db760ca0651
Signed-off-by: Alessandro Boch <aboch@cisco.com>
Fix list of dependencies mapping for readable/writable jmx wrappers

Attributes for list of dependencies can be accessed from (testing) code

Change-Id: I966912210a74bef40a7e6a74d506dbc72a41f34c
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Persist service references as separate MBeans.

Create dummy MBean - ServiceReferenceMXBean - that contains link to implementation of the service as an attribute.
Add support for resolving of SR to dependency resolver. Each time user saves SR, create MBean and
add the interface QName together with user defined reference name to ObjectName of the newly created SR MBean.

Change-Id: I71ddb762e00d9be8b426fb979ff5ade046d46050
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
Verification of keys in list

- verification of keys in list against list yang structure

Change-Id: Ieb46eea67a7d3173958184ced10cec1b853bb7fe
Signed-off-by: Martin Sunal <msunal@cisco.com>
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Fixed RESTConf support for identity-ref build-in datatype

- Created implementation of codec for identityref
- Identityref is supported in XML and JSON
- Tests

Change-Id: I813f1f52e990317b6adf30f1d0d8a164c60a4901
Signed-off-by: Martin Sunal <msunal@cisco.com>
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Switched codecs infrastructure to use yang-data-impl codecs

- Codecs are used for tranlation of JSON/XML values to SimpleNode values and vice versa
- Leafref is encoded as String

Change-Id: Ibe5b4a23d5dad6373a2dcf7d8723a7dff135cf2a
Signed-off-by: Martin Sunal <msunal@cisco.com>
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Merge "Fix list of dependencies mapping for readable/writable jmx wrappers"
Merge "Verification of keys in list"
Merge "Fixed RESTConf support for identity-ref build-in datatype"
Merge "Switched codecs infrastructure to use yang-data-impl codecs"
Merge "Persist service references as separate MBeans."
MD-SAL Statistics Manager - Changed Group/Meter Augmentataion location in operational data tree
Also added check, to only entertain multipart responses associated to the multipart request sent
by statistics-manager.

Change-Id: I51b1f4c9245ca30914293add0ea5fbefb3f1945b
Signed-off-by: Anil Vishnoi <avishnoi@in.ibm.com>
Fixed Bug 250 - bits serialization between Binding Broker and DOM broker

  - fixed serialization bug for YANG bits type when crossing brokers
  - Added regression test for bug, based on provided bug report
  - Decreased log level to debug and trace for some code generation
    functionality.

Change-Id: I07982bb7ffefb4350ec4922c02207eb4dc368ab8
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Merge "Fixed Bug 250 - bits serialization between Binding Broker and DOM broker"
Fix method isSame in generated Abstract Modules.

When dealing with list of dependencies, == cannot be used. Instead,
both lists must be equal, and each dependency must be == to the old one.

Change-Id: I42d489d99ff7addc9d492f4878e7a13be8d9584a
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
Lazily initialize jaxb context in NB application

Change-Id: Ibac5614aa1b23ff360bcce3ea29091f0a7a78906
Signed-off-by: Prasanth Pallamreddy <ppallamr@cisco.com>
DataPacketAdapter fix

added incomingNodeConnector for RawPacket from incoming PacketReceived so DataPacketService dont discard it

Change-Id: I7448296ae06b6170edf24289dfd12fc7fd185312
Signed-off-by: Juraj Sebin <jsebin@cisco.com>
Merge "Lazily initialize jaxb context in NB application"