Re: Netconf with LINC switch


Madhusudhan Kandadai <madhusudhan.opendaylight@...>
 

Hello,

I would like to follow up on this regard. Can someone please point me to the right direction?

Thanks,
Madhusudhan


On Fri, Apr 4, 2014 at 5:04 PM, Madhusudhan Kandadai <madhusudhan.opendaylight@...> wrote:
Hello,

I am working on Netconf using LINC switch. (For tracking purpose, bug 606 is created)

1.  I am able to create netconf session between client and server using LINC openflow switch. I got hello message from netconf server:

ssh -v -p 1830 -l linc -s 10.125.136.44 netconf
<?xml version="1.0" encoding="UTF-8"?><hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"><capabilities><capability>urn:ietf:params:netconf:base:1.1</capability><capability>urn:ietf:params:netconf:capability:startup:1.0</capability><capability>urn:ietf:params:netconf:capability:writable-running:1.0</capability></capabilities><session-id>3</session-id></hello>]]>]]>

2. When I do GET response 


<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<nodes 
    xmlns="urn:opendaylight:inventory">
    <node>
        <initial-capability 
            xmlns="urn:opendaylight:netconf-node-inventory">urn:ietf:params:netconf:capability:writable-running:1.0
        </initial-capability>
        <initial-capability 
            xmlns="urn:opendaylight:netconf-node-inventory">urn:ietf:params:netconf:capability:startup:1.0
        </initial-capability>
        <initial-capability 
            xmlns="urn:opendaylight:netconf-node-inventory">urn:ietf:params:netconf:base:1.1
        </initial-capability>
        <id>libnetconfd</id>
        <connected 
            xmlns="urn:opendaylight:netconf-node-inventory">true
        </connected>
    </node>
</nodes>

3. I am currently in the process of LINC integration with Mininet, so I can get both the topology information as well as netconf configuration.

4. I would like to do the following basic netconf operations: 

(a) get Netconf session details 
(b) retrieve running configuration and device state configuration
(c) how to copy/delete the configuration
(d) close and kill the netconf session

I am not sure how to do it. Can someone shed some light on this?

Thanks,
Madhusudhan

Join integration-dev@lists.opendaylight.org to automatically receive all group messages.