Revision history [back]

how to commit the config into device?

As we known, there are two data stores in ODL:1.config and 2. operational. We can use RESTCONF operations get/put/post to request config and get method to retrieve operational. I get the devices configuration by RESTCONF :(http://localhost:8181/restconf/operational/opendaylight-inventory:nodes)

My questions is: I get the config , then modify it, and finally I put the config back. how to commit the config into device?
It seems that the file have not changed when I get the operational file.

how to commit the config into device?

As we known, there are two data stores in ODL:1.config and 2. operational. We can use RESTCONF operations get/put/post to request config and get method to retrieve operational. I get the devices configuration by RESTCONF :(http://localhost:8181/restconf/operational/opendaylight-inventory:nodes)

My questions is: I get the config , then modify it, and finally I put the config back. how to commit the config into device?
It seems that the file have not changed when I get the operational file.file. Is it possible commit the "config" to "operational" using netconf protocol?

how to commit the config into device?

As we known, there are two data stores in ODL:1.config and 2. operational. We can use RESTCONF operations get/put/post to request config and get method to retrieve operational. I get the devices configuration by RESTCONF :(http://localhost:8181/restconf/operational/opendaylight-inventory:nodes)

My questions is: I get the config "config" , then modify it, and finally I put the config "config" back. how to commit the config "config" into device?
It seems that the file have not changed when I get the operational "operational" file. Is it possible commit the modified "config" to "operational" using netconf protocol?

how to commit the config into device?

As we known, there are two data stores in ODL:1.config and 2. operational. We can use RESTCONF operations get/put/post to request config "config" data and get method to retrieve operational. "operational" data. I get the devices configuration by RESTCONF :(http://localhost:8181/restconf/operational/opendaylight-inventory:nodes)

My questions is: I get the "config" , then modify it, and finally I put the "config" back. how to commit the "config" into device?
It seems that the file have not changed when I get the "operational" file. Is it possible commit the modified "config" to "operational" using netconf protocol?

how to commit the config into device?

As we known, there are two data stores in ODL:1.config and 2. operational. We can use RESTCONF operations get/put/post to request "config" data and get method to retrieve "operational" data. I get the devices configuration by RESTCONF :(http://localhost:8181/restconf/operational/opendaylight-inventory:nodes):(http://localhost:8181/restconf/config/opendaylight-inventory:nodes)

My questions is: I get the "config" , then modify it, and finally I put the "config" back. back. example: get http://localhost:8181/restconf/config/opendaylight-inventory:nodes/ <id>openflow:1:1</id> <state xmlns="urn:opendaylight:flow:inventory"> <live>false</live> <blocked>false</blocked> <link-down>true</link-down> </state>

But I get http://localhost:8181/restconf/operational/opendaylight-inventory:nodes/ it shows=> <id>openflow:1:1</id> <state xmlns="urn:opendaylight:flow:inventory"> <live>false</live> <blocked>false</blocked> <link-down>true</link-down> </state>

how to commit the "config" into device?
It seems that the file have not changed when I get the "operational" file. Is it possible commit the modified "config" to "operational" using netconf protocol?

how to commit the config into device?

As we known, there are two data stores in ODL:1.config and 2. operational. We can use RESTCONF operations get/put/post to request "config" data and get method to retrieve "operational" data. I get the devices configuration by RESTCONF :(http://localhost:8181/restconf/config/opendaylight-inventory:nodes)

My questions is: I get the "config" , then modify it, and finally I put the "config" back. example: get http://localhost:8181/restconf/config/opendaylight-inventory:nodes/ http://localhost:8181/restconf/config/opendaylight-inventory:nodes/

I modify link-down =>false then put http://localhost:8181/restconf/config/opendaylight-inventory:nodes/ and get again: again:

  <state xmlns="urn:opendaylight:flow:inventory">
<live>false</live>
<blocked>false</blocked>
</state>


But I get http://localhost:8181/restconf/operational/opendaylight-inventory:nodes/ it shows=> shows=>

how to commit the "config" into device?
It seems that the file have not changed when I get the "operational" file. Is it possible commit the modified "config" to "operational" using netconf protocol?

how to commit the config into device?

As we known, there are two data stores in ODL:1.config and 2. operational. We can use RESTCONF operations get/put/post to request "config" data and get method to retrieve "operational" data. I get the devices configuration by RESTCONF :(http://localhost:8181/restconf/config/opendaylight-inventory:nodes)

My questions is: I get the "config" , then modify it, and finally I put the "config" back. example: get http://localhost:8181/restconf/config/opendaylight-inventory:nodes/

<id>openflow:1:1</id>

        <state xmlns="urn:opendaylight:flow:inventory">
<live>false</live>
<blocked>false</blocked>
</state>


I modify link-down =>false then put http://localhost:8181/restconf/config/opendaylight-inventory:nodes/ and get again:

  <state xmlns="urn:opendaylight:flow:inventory">
<live>false</live>
<blocked>false</blocked>
</state>


But I get http://localhost:8181/restconf/operational/opendaylight-inventory:nodes/ it shows=>

<id>openflow:1:1</id>

        <state xmlns="urn:opendaylight:flow:inventory">
<live>false</live>
<blocked>false</blocked>
</state>


how to commit the "config" into device?
It seems that the file have not changed when I get the "operational" file. Is it possible commit the modified "config" to "operational" using netconf protocol?

how to commit the config into device?

As we known, there are two data stores in ODL:1.config and 2. operational. We can use RESTCONF operations get/put/post to request "config" data and get method to retrieve "operational" data. I get the devices configuration by RESTCONF :(http://localhost:8181/restconf/config/opendaylight-inventory:nodes)

My questions is: I get the "config" , then modify it, and finally I put the "config" back. example: get http://localhost:8181/restconf/config/opendaylight-inventory:nodes/

        <state xmlns="urn:opendaylight:flow:inventory">
<live>false</live>
<blocked>false</blocked>
</state>


I modify link-down =>false then put http://localhost:8181/restconf/config/opendaylight-inventory:nodes/ and for verify I get again:

  <state xmlns="urn:opendaylight:flow:inventory">
<live>false</live>
<blocked>false</blocked>
</state>


But I get http://localhost:8181/restconf/operational/opendaylight-inventory:nodes/ it shows=>

        <state xmlns="urn:opendaylight:flow:inventory">
<live>false</live>
<blocked>false</blocked>