diff options
| author | Chirag Shah <chirag@cumulusnetworks.com> | 2017-08-03 16:34:17 -0700 |
|---|---|---|
| committer | Chirag Shah <chirag@cumulusnetworks.com> | 2017-08-04 07:47:45 -0700 |
| commit | a3d826f0ea4e773ef2e359390e143d13f22a55e5 (patch) | |
| tree | c5440aa04e7e445f114e466469c62370c4e327d4 /lib/command_graph.c | |
| parent | ef8482267d2cc90053e422b88a9744cea315e70b (diff) | |
ospfd: Fix MI-OSPF configuraton clis
Multi-Instance OSPF configuration CLI would fail because
first client return error upon seeing qobj_index being 0.
With new marco generate new error code to return from each
instance (vtysh client) and if the command is intended for given
instance, its qobj_index would be nonzero and process the command
and push correct ospf context. Other instance would return the error.
On vtysh end, check all instance return an error log a message to a
file.
Testing Done:
Verfied various MI-OSPF configuration CLI with multi instances.
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'lib/command_graph.c')
0 files changed, 0 insertions, 0 deletions
