

Ivan Pepelnjak has a very nice graphic as well as more specific information on SDN:Ī router is typically segmented into three planes of operation, each with a specific and clearly defined objective: Utilizes the control plane to make packet drop determinations.Utilizes the control plane to forward onto the destination.System configuration, management information.Likewise, control plane protocol s do not typically have any visibility into the applications running over the network, or how the network may be affecting application performance. For example, routing protocols may only be able to determine the best path through a network based on static metrics such as interface bandwidth or hop count. While these control plane protocols scale very well, and provide a high level of network resiliency, they pose limitations. These protocols determine the optimal port or interface to forward packets ( that is, the data plane). Examples of control plane protocols are routing protocols, such as Open Shortest Path First ( OSPF ), Border Gateway Protocol ( BGP ), and Spanning Tree Protocol (STP). The control plane is an element of a router or switch that determines how one individual device within a network interacts with its neighbors. Terraform is the only tool that just use the control plane but not use the data plane.Traditionally, network architectures within corporate and government networks use network devices that combine control plane and data plane function s in a single device, typically a router or switch. The Azure SDK also can use the data plane.
#Controlplane vs dataplane code#
7 Here is the sample code to create a Cosmos DB Account. The SDK code about Azure Resource Manager is placed the management group. We can use Azure Portal, Azure PowerShell and Azure CLI use Cosmos API to insert data 6, so they use both Cosmos DB REST API and Cosmos DB Resource Provider REST API. So Resource Provider API doesn't support insert data.Īnother example is that you can set Lock to Cosmos DB Account and Database, but it doesn't work for data because of Lock just working for Resource Provider API.įrom the image, we can know that all the tools use the control plane. If you require complete feature support for all Azure Cosmos DB resources, we recommend using the Cosmos DB Resource Provider.īut there isn't a note in Documents.

Q: Can I use Resource Provider API to put data into Cosmos DB? There are two API in Azure REST API:Īs shown in the image above, you can create a Database or a Container by either Cosmos API or Resource Provider API. To discover which operations use the Azure Resource Manager URL, see the Azure REST API. 1 Data plane operations are operations sent to your instance of a service, such as. You use the data plane to use capabilities exposed by your instance of a resource type. Another control plane is Azure Service Manager which is the old control plane. Q: What is the relationship between Azure Resource Manager?Īzure Resource Manager is a control plane.
#Controlplane vs dataplane how to#
Q: How to know which operation use the control plane?Īll requests for control plane operations are sent to the Azure Resource Manager URL. You use the control plane to manage resources in your subscription. Azure operations can be divided into two categories - control plane(控制平面) and data plane(数据平面).
