(name, os = "Unknown")
return model.common.factory.createModelObject("Host", name, os=os)
It creates and returns a Host object.
    The object created is not added to the model.
It creates and returns a Host object.
    The object created is not added to the model.
It creates and returns a Host object . The object created is not added to the model .
def newHost(name, os = "Unknown"):
    """
    It creates and returns a Host object.
    The object created is not added to the model.
    """
                                                                           
    return model.common.factory.createModelObject("Host", name, os=os)
def newHost ( name , os = "Unknown" ) : return model . common . factory . createModelObject ( "Host" , name , os = os )