摘要:
Methods and apparatus are provided for validating configuration data in a switch. An error is detected if the configuration data fails to comply with one or more rules; and a user is presented with an interface that allows the user to correct the error. The rules may include one or more syntactic rules or conflict rules (or both). In the case of a simple error, the user is presented with an error indication with a smart error link. In the case of a conflict error, the user is presented with an error indication that identifies the conflicting endpoints and optionally allows the user to correct at least one conflicting endpoint. The configuration data is revalidated after a change is made by a user. Changes are propagated to affected data objects. A number of error types may be automatically updated. When an objects inherit properties through application of a template to the data object, a list is maintained of the data objects associated with each template, so that the associated data objects can be updated if the template is updated. Errors information can be presented to the user in a hierarchical error tree. The user can select errors from the tree to be corrected. The error tree can optionally be redisplayed following a change by validating only affected elements.