Class: RHN::Satellite

Inherits:
Object
  • Object
show all
Includes:
Session
Defined in:
lib/satops/rhsat.rb

Overview

Interface to Red Hat Network Satellite API Can be invoked with satellite object : sat.channel.create()

Instance Attribute Summary collapse

Attributes included from Session

#exception

Instance Method Summary collapse

Methods included from Session

#connect, #exec, #exec_async, #get, #get_exception, #run, running?, #terminate

Constructor Details

#initialize(sat_host, ssl, log) ⇒ Satellite

Returns a new instance of Satellite.



549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
# File 'lib/satops/rhsat.rb', line 549

def initialize(sat_host, ssl, log)
  @host=sat_host
  @ssl=ssl
  @log=log
  @session=nil
  @activationkey=Activationkey.new(self)
  @channel=Channel.new(self)
  @channelSoftware=ChannelSoftware.new(self)
  @configchannel=Configchannel.new(self)
  @kickstart=Kickstart.new(self)
  @kickstartFilepreservation=KickstartFilepreservation.new(self)
  @kickstartProfile=KickstartProfile.new(self)
  @kickstartProfileSystem=KickstartProfileSystem.new(self)
  @kickstartProfileSoftware=KickstartProfileSoftware.new(self)
  @kickstartKeys=KickstartKeys.new(self)
  @kickstartSnippet=KickstartSnippet.new(self)
  @org=Org.new(self)
  @orgTrusts=OrgTrusts.new(self)
  @system=System.new(self)
  @systemConfig=SystemConfig.new(self)
  @systemCustominfo=SystemCustominfo.new(self)
  @systemgroup=Systemgroup.new(self)
  @user=User.new(self)
end

Instance Attribute Details

#activationkeyObject (readonly)

Returns the value of attribute activationkey.



547
548
549
# File 'lib/satops/rhsat.rb', line 547

def activationkey
  @activationkey
end

#channelObject (readonly)

Returns the value of attribute channel.



547
548
549
# File 'lib/satops/rhsat.rb', line 547

def channel
  @channel
end

#channelSoftwareObject (readonly)

Returns the value of attribute channelSoftware.



547
548
549
# File 'lib/satops/rhsat.rb', line 547

def channelSoftware
  @channelSoftware
end

#configchannelObject (readonly)

Returns the value of attribute configchannel.



547
548
549
# File 'lib/satops/rhsat.rb', line 547

def configchannel
  @configchannel
end

#hostObject (readonly)

Returns the value of attribute host.



547
548
549
# File 'lib/satops/rhsat.rb', line 547

def host
  @host
end

#kickstartObject (readonly)

Returns the value of attribute kickstart.



547
548
549
# File 'lib/satops/rhsat.rb', line 547

def kickstart
  @kickstart
end

#kickstartFilepreservationObject (readonly)

Returns the value of attribute kickstartFilepreservation.



547
548
549
# File 'lib/satops/rhsat.rb', line 547

def kickstartFilepreservation
  @kickstartFilepreservation
end

#kickstartKeysObject (readonly)

Returns the value of attribute kickstartKeys.



547
548
549
# File 'lib/satops/rhsat.rb', line 547

def kickstartKeys
  @kickstartKeys
end

#kickstartProfileObject (readonly)

Returns the value of attribute kickstartProfile.



547
548
549
# File 'lib/satops/rhsat.rb', line 547

def kickstartProfile
  @kickstartProfile
end

#kickstartProfileSoftwareObject (readonly)

Returns the value of attribute kickstartProfileSoftware.



547
548
549
# File 'lib/satops/rhsat.rb', line 547

def kickstartProfileSoftware
  @kickstartProfileSoftware
end

#kickstartProfileSystemObject (readonly)

Returns the value of attribute kickstartProfileSystem.



547
548
549
# File 'lib/satops/rhsat.rb', line 547

def kickstartProfileSystem
  @kickstartProfileSystem
end

#kickstartSnippetObject (readonly)

Returns the value of attribute kickstartSnippet.



547
548
549
# File 'lib/satops/rhsat.rb', line 547

def kickstartSnippet
  @kickstartSnippet
end

#logObject (readonly)

Returns the value of attribute log.



547
548
549
# File 'lib/satops/rhsat.rb', line 547

def log
  @log
end

#orgObject (readonly)

Returns the value of attribute org.



547
548
549
# File 'lib/satops/rhsat.rb', line 547

def org
  @org
end

#orgTrustsObject (readonly)

Returns the value of attribute orgTrusts.



547
548
549
# File 'lib/satops/rhsat.rb', line 547

def orgTrusts
  @orgTrusts
end

#systemObject (readonly)

Returns the value of attribute system.



547
548
549
# File 'lib/satops/rhsat.rb', line 547

def system
  @system
end

#systemConfigObject (readonly)

Returns the value of attribute systemConfig.



547
548
549
# File 'lib/satops/rhsat.rb', line 547

def systemConfig
  @systemConfig
end

#systemCustominfoObject (readonly)

Returns the value of attribute systemCustominfo.



547
548
549
# File 'lib/satops/rhsat.rb', line 547

def systemCustominfo
  @systemCustominfo
end

#systemgroupObject (readonly)

Returns the value of attribute systemgroup.



547
548
549
# File 'lib/satops/rhsat.rb', line 547

def systemgroup
  @systemgroup
end

#userObject (readonly)

Returns the value of attribute user.



547
548
549
# File 'lib/satops/rhsat.rb', line 547

def user
  @user
end