Skip to content

Commit

Permalink
Merge pull request #261 from pvelumul/configpush_changes
Browse files Browse the repository at this point in the history
changes to prompt only for updating the contracts and filters and not…
  • Loading branch information
michsmit99 committed Dec 4, 2016
2 parents 78acf38 + 1a9e1f4 commit a4e06ee
Show file tree
Hide file tree
Showing 11 changed files with 1,843 additions and 705 deletions.
6 changes: 5 additions & 1 deletion applications/configpush/apic_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ def main():
'Do not actually push to the APIC.'))
parser.add_argument('--prompt', action='store_true', default=False,
help=('prompts a message to update the tenant with reference to the given config.'
'y/n ? if yes does the action specified in the message.'
'y/n/all ? if yes does the action specified in the message.'
'if all,this would allow the user to accept all changes/update.'
'if just pressed enter then the default is taken as no'))
parser.add_argument('--useipepgs', action='store_true', default=False,
help=('Use IP based microsegmented EPGS to '
Expand All @@ -42,6 +43,9 @@ def main():
parser.add_argument('--app',
default='acitoolkitapp',
help='Application profile name for the configuration')
parser.add_argument('--l3ext',
default='L3OUT',
help='External Routed Network name for the configuration')

args = parser.parse_args()
if args.config is None:
Expand Down
695 changes: 289 additions & 406 deletions applications/configpush/apicservice.py

Large diffs are not rendered by default.

0 comments on commit a4e06ee

Please sign in to comment.