Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


Binding independent and Binding Aware Difference

asked 2014-10-31 09:38:57 -0700

anu.nair gravatar image

I am still not clear about the concept about Binding Independent and Binding Aware model. What is the difference and When should I use BI / BA ? Can some one provide an example.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-11-14 06:21:47 -0700

Tony Tkacik gravatar image

TLDR: If you want to develop applications against concrete data model - Bidning aware APIs are more suited for you (e.g. Openflow or PCEP specific application).

Longer explanation:

Binding aware (YANG Java Binding APIs / binding) - Java interfaces and transfer objects generated in compile-time from YANG model, which allows for easy development of application tailored to specific models. These types of APIs provides you with compile-time safety and are targeted for applications using concrete set of models.

Binding independent (DOM APIs / dom) - XML DOM inspired payload format, which is more suitable for components, which interprets model and could provide functionality from any valid YANG model (e.g. RESTCONF, data store, Netconf). This are more useful for components, which wants to work with any data model and derive their functionality based on data model.

For more details see: Controller:MD-SAL:Explained (WIP)

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools



Asked: 2014-10-31 09:38:57 -0700

Seen: 1,187 times

Last updated: Nov 14 '14