<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Junxiao,
<div class=""><br class="">
</div>
<div class="">Should the validation policy be part of the default NFD configuration?  We just want to enable a LocalControlFeature in NFD.  Others may want to do the same.  This is similar to RIB commands.  <br class="">
<div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<div class=""><br class="Apple-interchange-newline">
Lan</div>
</div>
</span></div>
</div>
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Oct 30, 2017, at 8:41 AM, Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu" class="">shijunxiao@email.arizona.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">
<div class="">Hi Muktadir<br class="">
<br class="">
</div>
Validation policy passed to Controller is rejecting the Data from NFD management.<br class="">
</div>
<div class="">You'll need to adjust the trust schema.<br class="">
</div>
<div class=""><br class="">
</div>
Yours, Junxiao<br class="">
<div class="">
<div class="">
<div class="">
<div class="">
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Thu, Oct 26, 2017 at 5:37 PM, Muktadir R Chowdhury (mrchwdhr)
<span dir="ltr" class=""><<a href="mailto:mrchwdhr@memphis.edu" target="_blank" class="">mrchwdhr@memphis.edu</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" class="">
<div id="m_-7799138137266644075divtagdefaultwrapper" style="font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;" dir="ltr" class="">
<p class="">I basically wanted to enable LocalControlFeature in NFD.</p>
<p class="">I used the code below to send ControlCommand to NFD.</p>
<p class=""><br class="">
</p>
<div class=""><br class="webkit-block-placeholder">
</div>
<div class="">  <span style="font-size:9pt" class="">m_controller.start<ndn::nfd::<wbr class="">FaceUpdateCommand>(</span></div>
<div class=""><span style="font-size:9pt" class="">              ndn::nfd::ControlParameters()</span></div>
<div class=""><span style="font-size:9pt" class="">                        .setFlagBit(ndn::nfd::<wbr class="">FaceFlagBit::BIT_LOCAL_FIELDS_<wbr class="">ENABLED, true),</span></div>
<div class=""><span style="font-size:9pt" class="">              bind(&Nlsr::onCommandSuccess, this, _1),</span></div>
<div class=""><span style="font-size:9pt" class="">              bind(&Nlsr::onCommandFailure, this, _1));</span></div>
<div class=""><br class="">
</div>
<div class="">But I am getting the following error:</div>
<div class="">
<div style="margin: 0px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(241, 241, 240); background-color: rgb(47, 42, 43);" class="">
<span style="font-variant-ligatures:no-common-ligatures" class="">Failed to enable incoming face id indication feature: (code: 10021, reason: Validation policy error (No rule matched for data `/localhost/nfd/faces/update/<wbr class="">h%06l%01%01p%01%01/%00%00%01_<wbr class="">Z%05dt/%90%3C%E6A%EC%ECIy/%<wbr class="">164%1B%01%01%1C%2F%07-%08%<wbr class="">03ndn%08%06a-site%08%08%C1.<wbr class="">Router%08%02cs%08%01a%08%<wbr class="">03KEY%08%08%03-k%BC%E9t%279/%<wbr class="">17%FD%01%00p%91%FC%A3%18%12.%<wbr class="">19%3Ap%00jx%ED%0F5o%18%BE%FD%<wbr class="">14yy_%5B5n%5BX%8D%3A%0A%96rpN%<wbr class="">C1%8A%F3m%BF%15%9CP%80T%AB%<wbr class="">F0w8%F7%7B%C2%EC%A7%E1%B6wA%<wbr class="">AD%2ARp%B9%27%A6%AE%20u%BE%0C%<wbr class="">2F%19S%B7%88%C1a%FD%EB4%C0%<wbr class="">DDmw%E4D%8E%19%96%88%C7X%AC%<wbr class="">3B%9A%1Eg%0Aw%DD%2C%D9%F7s%D3%<wbr class="">0B%18%A0%A6%0CX%7B%E3%B4%06%<wbr class="">D28%8BK%12%80%DA%00%3B%88%00%<wbr class="">F2%D6%0C%7C%E5%CB%EE%DF%E2Q%<wbr class="">D6%AB%1ER%BD%80%98HM%40%BA%<wbr class="">BAD%DD%A7%D7%84%0D%F3HH3%DC%<wbr class="">27%0D%0EV%00%1C%DE%9B%0B%DC%<wbr class="">99%D4o%27jYU%D3%D0%04%3Fg%C1%<wbr class="">1E%E9%19%C1+v%17%FD%8F%0B-+x%<wbr class="">95%AC5%DA%1F%F8%89w%CB%AC%A4%<wbr class="">B6%074%18S%AF%CD%1F%88%F0k%89%<wbr class="">A8%D6%A9.%25%3EB%F4%11%9D%BC%<wbr class="">7DO%9C%5E%C7w%22zN_%86u%B9%28.<wbr class="">%F5%9C%BCrZ%16u%EE%84%8D%EE`))</span></div>
<br class="">
</div>
<br class="">
<div class=""><br class="webkit-block-placeholder">
</div>
<p class="">Does anybody have any idea?</p>
<p class=""><br class="">
</p>
<p class="">Muktadir<br class="">
</p>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br class="">
Nfd-dev mailing list<br class="">
<a href="mailto:Nfd-dev@lists.cs.ucla.edu" class="">Nfd-dev@lists.cs.ucla.edu</a><br class="">
http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>