Hi Yong,

The formatting on your message makes it difficult to read - please consider 
sending to the list using plain text.

Otherwise, see below for comments - look for [KENT]...

Thanks,
Kent


From: netmod <netmod-boun...@ietf.org<mailto:netmod-boun...@ietf.org>> on 
behalf of Yong Zhu <yong....@ericsson.com<mailto:yong....@ericsson.com>>
Date: Thursday, January 28, 2016 at 10:51 AM
To: "netmod@ietf.org<mailto:netmod@ietf.org>" 
<netmod@ietf.org<mailto:netmod@ietf.org>>, Yong Zhu 
<yong....@ericsson.com<mailto:yong....@ericsson.com>>
Subject: [netmod] Question on the output of <get> rpc-reply for operational 
model?



Hi Work group,


We got some question regarding netconf operation’s rpc-reply output.

For example, we have draft operational model as follows (list AAA contains list 
BBB which contains list CCC):

                        list AAA {

                                                key "aaa_name";

                                                config false;

                                                leaf aaa_name {

                                                                        type 
string;

                                                }

                                                leaf aaa_leaf1 {

                                                                        type 
int32;

                                                }



                                                list BBB {

                                                                        key 
"bbb_name";

                                                                        config 
false;

                                                                        leaf 
bbb_name {

                                                                                
                type string;

                                                                        }

                                                                    leaf 
bbb_leaf1 {

                                                                            
type uint32;

                                                }



                                                                        list 
CCC {

                                                                                
                key "ccc_name";

                                                                                
                config false;

                                                                                
                leaf ccc_name {

                                                                                
                                        type string;

                                                                                
                }

                                                                                
                leaf ccc_leaf1 {

                                                                                
                                        type uint32;

                                                                                
                }

                                                                        } 
//list CCC

                                                } //list BBB

                        } //list AAA

The netconf request is the following:


[KENT] the request seems to be missing here



























What is the expected ?

[KENT] this depends on what data is configured on the server


More specifically, will CCC’s key (leaf ) be included in rpc-reply? Will 
AAA/BBB’s key (leaf / ) be included in rpc-reply?

[KENT] generally, list keys are returned (e.g., "aaa_name”).  The usage example 
here shows how a list is encoded in XML: 
https://tools.ietf.org/html/draft-ietf-netmod-rfc6020bis-09#section-7.8.3.1



The following is what I am thinking now. Please comment.







  my AAA name //???



    my BBB name //???



      my CCC name //???

      my ccc leaf1 name



[KENT] I don’t understand this at all.









Thanks

/Yong

_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to