-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(ARISTA-21) Use snmp_community flush for management
Without this patch the snmp_community provider does not have the ability to destroy resources on the target device, nor the ability to manage a specific property of an existing resource. This patch addresses the problem by implementing the provider flush method. The behavior of all the property setter methods is to set a key for the property in the @property_flush instance variable. The flush method merges the @property_flush instance variable on top of the @property_hash variable in order to preserve existing properties that are not being managed by the applied catalog.
- Loading branch information
Jeff McCune
committed
Oct 13, 2014
1 parent
2d00c0b
commit de9b045
Showing
4 changed files
with
216 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters