The networking_cisco.apps.saf.dfa_cli Module

CLI module for fabric enabler.

class networking_cisco.apps.saf.dfa_cli.DfaCli

Bases: cmd.Cmd

Represents fabric enabler command line interface.

do_EOF(line)

Use Ctrl-D to exit the program.

do_get_config_profile(line)
do_get_dcnm_version(line)

Get current version of DCNM.

do_get_enabler_version(line)

Get current fabric enabler’s package version.

do_get_network(line)
do_list_networks(line)
do_list_organizations(line)

Get list of organization on DCNM.

do_prompt(line)

Set prompt for the command line.

do_q(line)

exit the program.

do_quit(line)

exit the program.

do_set_static_ip(line)
emptyline()
help_get_config_profile()
help_get_network()
help_list_networks()
help_set_static_ip()
intro = ‘Fabric Enabler Command Line Interface’
prompt = ‘(enabler) ‘
set_static_ip_address(ipaddr, macaddr)
setup_client_rpc()
networking_cisco.apps.saf.dfa_cli.dfa_cli()