ped_script.c File Reference

Configures the router through operation script. More...

#include <sync/common.h>
#include <sys/wait.h>
#include "ped_script.h"

Go to the source code of this file.

Functions

int exec_op_script (char *cmd)


Detailed Description

Configures the router through operation script.

These functions provide high-level operations to manipulate the configuration in the router related to attaching and removing filters to interfaces.

Definition in file ped_script.c.


Function Documentation

int exec_op_script ( char *  cmd  ) 

Execute operation script

Parameters:
[in] cmd CLI command to execute operation script
Returns:
0 if operation script didn't return any error message, otherwise -1

Definition at line 49 of file ped_script.c.

Referenced by apply_filters_to_interface(), init_pfd_filter(), and remove_filters_from_interface().


2007-2009 Juniper Networks, Inc. All rights reserved. The information contained herein is confidential information of Juniper Networks, Inc., and may not be used, disclosed, distributed, modified, or copied without the prior written consent of Juniper Networks, Inc. in an express license. This information is subject to change by Juniper Networks, Inc. Juniper Networks, the Juniper Networks logo, and JUNOS are registered trademarks of Juniper Networks, Inc. in the United States and other countries. All other trademarks, service marks, registered trademarks, or registered service marks are the property of their respective owners.
Generated on Sun May 30 20:27:06 2010 for SDK Your Net Corporation Policy Manager Example: Policy Enforcement Daemon 1.0 by Doxygen 1.5.1