Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

json parser fails to detect some bad formatted nf-fgs #95

Open
mauriciovasquezbernal opened this issue Jul 28, 2016 · 3 comments
Open

Comments

@mauriciovasquezbernal
Copy link
Member

mauriciovasquezbernal commented Jul 28, 2016

When there is a missing comma in the rules list on a NF-FG file, it
is still considered valid but all the rules after the missing comma are ignored.

example:

{"id":"00000199", "match":{"port":"dpdk1"}, "action":{"VNF_id":"502_forwarder:2"} },
{"id":"00000200", "match":{"VNF_id":"501_forwarder:1"}, "action":{"VNF_id":"500_forwarder:2"} }
{"id":"00000201", "match":{"VNF_id":"502_forwarder:1"}, "action":{"VNF_id":"501_forwarder:2"} },
{"id":"00000300", "match":{"VNF_id":"500_forwarder:1"}, "action":{"port":"dpdk0"} }

In this case all the rules from 200 are ignored.

@ivanocerrato
Copy link
Member

@mvbpolito this is a problem of json spirit, not of the un-orchestrator..
I would propose to remove this issue.

@mauriciovasquezbernal
Copy link
Member Author

I am not totally sure about closing it. It is true that is it not fault of the UN node, but it affects the UN node behavior.

@frisso
Copy link
Member

frisso commented Aug 6, 2016

I agree with Mauricio. Let's keep it open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants