def create_rc(self, manifest_filename, namespace="<STR_LIT:default>"):
rc_manifest, rc_manifest_json  = util.load_yaml(filename=manifest_filename)<EOL>logging.debug("<STR_LIT:%s>" %(rc_manifest_json))<EOL>create_rc_path = "<STR_LIT>".join(["<STR_LIT>", namespace, "<STR_LIT>"])<EOL>res = self.execute_operation(method="<STR_LIT:POST>", ops_path=create_rc_path, payload=rc_manifest_json)<EOL>try:<EOL><INDENT>rc_url = res.json()["<STR_LIT>"]["<STR_LIT>"]<EOL><DEDENT>except KeyError:<EOL><INDENT>raise ResourceCRUDException("<STR_LIT>".join(["<STR_LIT>", rc_manifest["<STR_LIT>"]["<STR_LIT:name>"], "<STR_LIT>"]))<EOL><DEDENT>logging.info("<STR_LIT>" %(manifest_filename, rc_manifest["<STR_LIT>"]["<STR_LIT:name>"], rc_url))<EOL>return (res, rc_url)<EOL>
Creates an RC based on a manifest.

:Parameters:
   - `manifest_filename`: The manifest file containing the ReplicationController definition, for example: `manifest/nginx-webserver-rc.yaml`
   - `namespace`: In which namespace the RC should be created, defaults to, well, `default`