diff --git a/magnumclient/v1/replicationcontrollers.py b/magnumclient/v1/replicationcontrollers.py index 2c94c4ab..bee86637 100644 --- a/magnumclient/v1/replicationcontrollers.py +++ b/magnumclient/v1/replicationcontrollers.py @@ -17,7 +17,8 @@ from magnumclient.common import utils from magnumclient import exceptions -CREATION_ATTRIBUTES = ['bay_uuid', 'rc_definition_url', 'rc_data'] +CREATION_ATTRIBUTES = ['bay_uuid', 'rc_definition_url', + 'replicationcontroller_data'] class ReplicationController(base.Resource): diff --git a/magnumclient/v1/shell.py b/magnumclient/v1/shell.py index e08cb853..3e216dd5 100644 --- a/magnumclient/v1/shell.py +++ b/magnumclient/v1/shell.py @@ -261,7 +261,7 @@ def do_rc_create(cs, args): if args.rc_file is not None and os.path.isfile(args.rc_file): with open(args.rc_file, 'r') as f: - opts['rc_data'] = f.read() + opts['replicationcontroller_data'] = f.read() rc = cs.rcs.create(**opts) _show_rc(rc)