(opts, ignore_errors=False)
| 65 | |
| 66 | |
| 67 | def do_register_cli_opts(opts, ignore_errors=False): |
| 68 | for opt in opts: |
| 69 | try: |
| 70 | cfg.CONF.register_cli_opt(opt) |
| 71 | except: |
| 72 | if not ignore_errors: |
| 73 | raise |
| 74 | |
| 75 | |
| 76 | def _get_api_models_from_db(persistence_model, pack_dir=None): |