Subject: [Netconf] Some questions about restconf

From: "fengchong (C)" <[email-masked]>
Date: Tue, 3 May 2016 02:07:40 +0000

Hi andy,

I have some questions about restconf.

1．  Leaf/leaf-list can be deleted by restconf?

If a model defined as:

Container a {

List b {

     Key c;

    Leaf c {…}

    Leaf d {…}

    Leaf e {…}

}

}

If I want to delete leaf d,the url should be:

/a/b=1/d

Or

/a/b=1 {

   <d/>

}

2. If I want to delete more than one leafs,  should I send many requests for each leaf? Is there a way one request to delete many leafs?

3. can delete request have body?
   For example:
  Delete  a/b=1
{
  <d>1</d>
<e>2</e>
}

If body can be allowed, then the content of body should be ignored or be interpreted as subtree filter?

________________________________
冯冲
华为技术有限公司 Huawei Technologies Co., Ltd.
[Company_logo]

Phone:
Fax:
Mobile: 18519117316
Email: [email-masked]
地址：南京市软件大道101号华为南京基地 邮编：210001
Huawei Technologies Co., Ltd.

http://www.huawei.com