how to copy data from one logical data store to another logical data store ?

asked 2015-04-26 02:28:26 -0800

hjdeore gravatar image

i am trying to copy data from logicalDataStore which is container list tcpinfo to logicaldata store list tcpinfo of rpc. but it is giving "can not convert" type of error ? any suggestion to copy data within two logical data store in md-sal ?

container tcp { list tcp-info{ uses ipv4:ipv4-packet-fields; } } container udp {

        list udp-info{
                    uses ipv4:ipv4-packet-fields;
                    }
  }
  container icmp {
        list icmp-info{
    uses ipv4:ipv4-packet-fields;
                 }
}

rpc mytest{ input{ leaf lf-input{ type string; } } output{ list tcp-info{ uses ipv4:ipv4-packet-fields; } list udp-info{ uses ipv4:ipv4-packet-fields; } list icmp-info{ uses ipv4:ipv4-packet-fields; } } } }

edit retag flag offensive close merge delete