What Is RESTCONF

RESTCONF Overview

  • A REST like protocol running over HTTP for accessing data defined in YANG using datastores defined in NETCONF.
  • RESTCONF is an IETF draft that describes how to map a YANG specification to a RESTful interface.
  • The REST-like API is not intended to replace NETCONF, but rather provide an additional simplified interface that follows REST-like principles and is compatible with a resource-oriented device abstraction.
  • The RESTCONF protocol operates on a conceptual datastore defined with the YANG data modeling language. The server lists each YANG module it supports under “/restconf/modules” in the top-level API resource type, using a structure based on the YANG module capability URI format.
  • The conceptual datastore contents, data-model-specific operations and notification events are identified by this set of YANG module resources. All RESTCONF content identified as either a data resource, operation resource, or event stream resource is defined with the YANG language.
  • The classification of data as configuration or non-configuration is derived from the YANG “config” statement. Data ordering behavior is derived from the YANG “ordered-by” statement.
  • RESTCONF allows access to datastores locating in controller. There are two datastores:Each request must start with URI /restconf
    • Config – contains data inserted via controller
    • Operational – contains data inserted via network
  • RESTCONF listens on port 8080 for HTTP requests
  • RESTCONF supports OPTIONS, GET, PUT, POST, DELETE operations.
  • Request and response data can be in XML or JSON format. XML has structure according to yang by XML-YANG and JSON by JSON-YANG.

References

  • http://datatracker.ietf.org/doc/draft-bierman-netconf-restconf/?include_text=1
  • https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Restconf

Comments

  1. abdolali poorkeikhaei says

    Abstract
    In recent decades due to the attractive factors of repulsion in the city and in the countryside, urban planning and urban growth has primarily been a serious challenge. One of the most important problems in the cities of developing countries, including our country, is the development of space structure and physical city. The research is descriptive and analytical approach is applied; which by using the model of Shannon entropy made the city visible. The results of this study indicate that factors such as intermittent altering and not controlled- highly accurate low lands- low built flats- single functional on the physical development of the city of was effective in Zahedan. Due to the characteristics of Zahedan, one of the favorite models of urban development is the combined pattern of compact city and continuous urban development.
    Keywords: structural body development, compact city, Zahedan city, Shannon entropy model

Leave a Reply

Your email address will not be published. Required fields are marked *