Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion applications/configpush/apic_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ def main():
parser.add_argument('--displayonly', action='store_true', default=False,
help=('Only display the JSON configuration. '
'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'))
parser.add_argument('--useipepgs', action='store_true', default=False,
help=('Use IP based microsegmented EPGS to '
'assign the endpoint to the EPG.'))
Expand All @@ -55,7 +58,7 @@ def main():
print 'Could not load improperly formatted configuration file'
return

if not args.displayonly and 'apic' not in config:
if 'apic' not in config:
if args.url is None or args.login is None or args.password is None:
print 'APIC credentials not given'
return
Expand Down
794 changes: 527 additions & 267 deletions applications/configpush/apicservice.py

Large diffs are not rendered by default.

237 changes: 208 additions & 29 deletions applications/configpush/apicservice_test.py

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.