[Xorp-hackers] Problem in dissabling pimbidir flag !!!!!
Pavlin Radoslavov
pavlin at icir.org
Thu Mar 8 05:30:31 PST 2007
Ashish Karpe <ashishkarpe at gmail.com> wrote:
> hello ,
>
> now we tried to disable PIM-Bidir by making enable-pim-bidir :
> falsein config file !!! but it failed because it is entering in if()
> bloack shown
> below :
>
> ---------------------------------------------------------------------
> In pim_node_cli.cc
>
> // To Add Commands for PIM-Bidir
>
> is_enabled = pim_node().is_pim_bidir_enabled().get();
> if (pim_node().is_ipv4() && is_enabled){
>
> add_cli_dir_command("show pimbidir","Display information about IPv4
> PIMBIDIR");
>
>
> add_cli_command("show pimbidir bootstrap",
> "Display information about PIMBIDIR IPv4 bootstrap routers",
> callback(this, &PimNodeCli::cli_show_pimbidir_bootstrap));
> .
> .
> .
>
>
> --------------------------------------------------------
> Modification in pim_node.cc file
> In PimNode::PimNode(....)
> .
> .
> .
> _is_pim_bidir_enabled
> .
> .
> .
> ---------------------------------------------------------
>
> We are we going wrong why are not we able to disable pim-bidir through
> config file !!!
What is the default value for the _is_pim_bidir_enabled flag?
Note that the PimNodeCli::add_all_cli_commands() method is executed
before the PIM-SM module is configured, hence whatever configuration
changes you make to the _is_pim_bidir_enabled flag they will be in
effect after the PimNodeCli::add_all_cli_commands() method is
executed.
Regards,
Pavlin
> Thank you,
> Ashish
>
> Chintamani
> _______________________________________________
> Xorp-hackers mailing list
> Xorp-hackers at icir.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
More information about the Xorp-hackers
mailing list