Ask Your Question
0

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
0

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:

https://wiki.opendaylight.org/view/OpenDaylight Controller:MD-SAL:Explained https://wiki.opendaylight.org/view/OpenDaylightController:MD-SAL:MD-SALDocumentReview:MD_SAL (WIP)

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

Question Tools

Follow
2 followers

Stats

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

Seen: 959 times

Last updated: Nov 14 '14