[Nfd-dev] Enable Incoming Face Indication feature

Muktadir R Chowdhury (mrchwdhr) mrchwdhr at memphis.edu
Tue Oct 31 20:19:43 PDT 2017


Hi Junxiao,

You are right. I also just figured it out. Nlsr is rejecting the response from NFD. So need to add a rule in the Nlsr's config file.


I have one question though, does it mean that the command was successfully executed, but the response from NFD was not validated?


Muktadir(Alvy)

________________________________
From: Junxiao Shi <shijunxiao at email.arizona.edu>
Sent: Wednesday, November 1, 2017 8:30:11 AM
To: Lan Wang (lanwang)
Cc: Muktadir R Chowdhury (mrchwdhr); nfd-dev at lists.cs.ucla.edu
Subject: Re: [Nfd-dev] Enable Incoming Face Indication feature

Hi Lan

The error message below indicates the calling application (e.g. NLSR)'s validation policy is rejecting the response.
It is not NFD's problem.

Yours, Junxiao

On Mon, Oct 30, 2017 at 10:36 AM, Lan Wang (lanwang) <lanwang at memphis.edu<mailto:lanwang at memphis.edu>> wrote:
Junxiao,

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.

Lan

On Oct 30, 2017, at 8:41 AM, Junxiao Shi <shijunxiao at email.arizona.edu<mailto:shijunxiao at email.arizona.edu>> wrote:

Hi Muktadir

Validation policy passed to Controller is rejecting the Data from NFD management.
You'll need to adjust the trust schema.

Yours, Junxiao

On Thu, Oct 26, 2017 at 5:37 PM, Muktadir R Chowdhury (mrchwdhr) <mrchwdhr at memphis.edu<mailto:mrchwdhr at memphis.edu>> wrote:

I basically wanted to enable LocalControlFeature in NFD.

I used the code below to send ControlCommand to NFD.


  m_controller.start<ndn::nfd::FaceUpdateCommand>(
              ndn::nfd::ControlParameters()
                        .setFlagBit(ndn::nfd::FaceFlagBit::BIT_LOCAL_FIELDS_ENABLED, true),
              bind(&Nlsr::onCommandSuccess, this, _1),
              bind(&Nlsr::onCommandFailure, this, _1));

But I am getting the following error:
Failed to enable incoming face id indication feature: (code: 10021, reason: Validation policy error (No rule matched for data `/localhost/nfd/faces/update/h%06l%01%01p%01%01/%00%00%01_Z%05dt/%90%3C%E6A%EC%ECIy/%164%1B%01%01%1C%2F%07-%08%03ndn%08%06a-site%08%08%C1.Router%08%02cs%08%01a%08%03KEY%08%08%03-k%BC%E9t%279/%17%FD%01%00p%91%FC%A3%18%12.%19%3Ap%00jx%ED%0F5o%18%BE%FD%14yy_%5B5n%5BX%8D%3A%0A%96rpN%C1%8A%F3m%BF%15%9CP%80T%AB%F0w8%F7%7B%C2%EC%A7%E1%B6wA%AD%2ARp%B9%27%A6%AE%20u%BE%0C%2F%19S%B7%88%C1a%FD%EB4%C0%DDmw%E4D%8E%19%96%88%C7X%AC%3B%9A%1Eg%0Aw%DD%2C%D9%F7s%D3%0B%18%A0%A6%0CX%7B%E3%B4%06%D28%8BK%12%80%DA%00%3B%88%00%F2%D6%0C%7C%E5%CB%EE%DF%E2Q%D6%AB%1ER%BD%80%98HM%40%BA%BAD%DD%A7%D7%84%0D%F3HH3%DC%27%0D%0EV%00%1C%DE%9B%0B%DC%99%D4o%27jYU%D3%D0%04%3Fg%C1%1E%E9%19%C1+v%17%FD%8F%0B-+x%95%AC5%DA%1F%F8%89w%CB%AC%A4%B6%074%18S%AF%CD%1F%88%F0k%89%A8%D6%A9.%25%3EB%F4%11%9D%BC%7DO%9C%5E%C7w%22zN_%86u%B9%28.%F5%9C%BCrZ%16u%EE%84%8D%EE`))




Does anybody have any idea?


Muktadir

_______________________________________________
Nfd-dev mailing list
Nfd-dev at lists.cs.ucla.edu<mailto:Nfd-dev at lists.cs.ucla.edu>
http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20171101/d481841f/attachment-0001.html>


More information about the Nfd-dev mailing list