Revision cc0dec7b

b/NEWS
39 39
  symlink
40 40
- Added new tool for running commands on many machines,
41 41
  ``tools/ganeti-listrunner``
42
- Implemented more verbose result in ``OpConnectConsole`` opcode, also
42
- Implemented more verbose result in ``OpInstanceConsole`` opcode, also
43 43
  improving the ``gnt-instance console`` output
44 44
- Allowed customisation of disk index separator at ``configure`` time
45 45
- Export node group allocation policy to :doc:`iallocator <iallocator>`
b/doc/design-2.3.rst
291 291
instances they lock. If an LU uses the BGL, then it will invalidate the
292 292
entire cache. In time, it is expected that LUs will be modified to not
293 293
invalidate, if they are not expected to change the node's and/or
294
instance's state (e.g. ``LUConnectConsole``, or
294
instance's state (e.g. ``LUInstanceConsole``, or
295 295
``LUInstanceActivateDisks``).
296 296

  
297 297
Invalidation of a node's properties will also invalidate the capacity
b/lib/client/gnt_instance.py
888 888
  """
889 889
  instance_name = args[0]
890 890

  
891
  op = opcodes.OpConnectConsole(instance_name=instance_name)
891
  op = opcodes.OpInstanceConsole(instance_name=instance_name)
892 892

  
893 893
  cl = GetClient()
894 894
  try:
......
906 906

  
907 907
def _DoConsole(console, show_command, cluster_name, feedback_fn=ToStdout,
908 908
               _runcmd_fn=utils.RunCmd):
909
  """Acts based on the result of L{opcodes.OpConnectConsole}.
909
  """Acts based on the result of L{opcodes.OpInstanceConsole}.
910 910

  
911 911
  @type console: L{objects.InstanceConsole}
912 912
  @param console: Console object
b/lib/cmdlib.py
7686 7686
    return list(iobj.all_nodes)
7687 7687

  
7688 7688

  
7689
class LUConnectConsole(NoHooksLU):
7689
class LUInstanceConsole(NoHooksLU):
7690 7690
  """Connect to an instance's console.
7691 7691

  
7692 7692
  This is somewhat special in that it returns the command line that
b/lib/opcodes.py
925 925
    ]
926 926

  
927 927

  
928
class OpConnectConsole(OpCode):
928
class OpInstanceConsole(OpCode):
929 929
  """Connect to an instance's console."""
930 930
  OP_ID = "OP_INSTANCE_CONSOLE"
931 931
  OP_DSC_FIELD = "instance_name"

Also available in: Unified diff