plainprograms-virtuozzo 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -962,6 +962,19 @@ class TransferType
962
962
  end
963
963
  end
964
964
 
965
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_addressType
966
+ # ip - (any)
967
+ # netmask - (any)
968
+ class Ip_addressType
969
+ attr_accessor :ip
970
+ attr_accessor :netmask
971
+
972
+ def initialize(ip = nil, netmask = nil)
973
+ @ip = ip
974
+ @netmask = netmask
975
+ end
976
+ end
977
+
965
978
  # {http://www.swsoft.com/webservices/vzl/4.0.0/types}system_nodeType
966
979
  # address - Virtuozzo::SOAP::Drivers::Support::System_nodeType::Address
967
980
  # login - Virtuozzo::SOAP::Drivers::Support::System_nodeType::Login
@@ -1360,19 +1373,6 @@ class Load_avg_statsType
1360
1373
  end
1361
1374
  end
1362
1375
 
1363
- # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_addressType
1364
- # ip - (any)
1365
- # netmask - (any)
1366
- class Ip_addressType
1367
- attr_accessor :ip
1368
- attr_accessor :netmask
1369
-
1370
- def initialize(ip = nil, netmask = nil)
1371
- @ip = ip
1372
- @netmask = netmask
1373
- end
1374
- end
1375
-
1376
1376
  # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_resourceType
1377
1377
  # eid - (any)
1378
1378
  # ip_pool - Virtuozzo::SOAP::Drivers::Support::Ip_poolType
@@ -1666,6 +1666,26 @@ class Vt_settingsType_ < Vt_settingsType
1666
1666
  end
1667
1667
  end
1668
1668
 
1669
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}groupType
1670
+ # user - Virtuozzo::SOAP::Drivers::Support::GroupType::User
1671
+ # member_group - Virtuozzo::SOAP::Drivers::Support::GroupType::Member_group
1672
+ # name - SOAP::SOAPString
1673
+ # gid - SOAP::SOAPInt
1674
+ class GroupType
1675
+
1676
+ attr_accessor :user
1677
+ attr_accessor :member_group
1678
+ attr_accessor :name
1679
+ attr_accessor :gid
1680
+
1681
+ def initialize(user = [], member_group = [], name = nil, gid = nil)
1682
+ @user = user
1683
+ @member_group = member_group
1684
+ @name = name
1685
+ @gid = gid
1686
+ end
1687
+ end
1688
+
1669
1689
  # {http://www.swsoft.com/webservices/vzl/4.0.0/types}userType
1670
1690
  # initial_group - Virtuozzo::SOAP::Drivers::Support::UserType::Initial_group
1671
1691
  # group - Virtuozzo::SOAP::Drivers::Support::UserType::Group
@@ -1726,11 +1746,6 @@ class UserType
1726
1746
  end
1727
1747
  end
1728
1748
 
1729
- # {http://www.swsoft.com/webservices/vzl/4.0.0/types}groupType
1730
- # user - Virtuozzo::SOAP::Drivers::Support::GroupType::User
1731
- # member_group - Virtuozzo::SOAP::Drivers::Support::GroupType::Member_group
1732
- # name - SOAP::SOAPString
1733
- # gid - SOAP::SOAPInt
1734
1749
  class GroupType
1735
1750
 
1736
1751
  # inner class for member: user
@@ -1754,18 +1769,6 @@ class GroupType
1754
1769
  @name = name
1755
1770
  end
1756
1771
  end
1757
-
1758
- attr_accessor :user
1759
- attr_accessor :member_group
1760
- attr_accessor :name
1761
- attr_accessor :gid
1762
-
1763
- def initialize(user = [], member_group = [], name = nil, gid = nil)
1764
- @user = user
1765
- @member_group = member_group
1766
- @name = name
1767
- @gid = gid
1768
- end
1769
1772
  end
1770
1773
 
1771
1774
  # {http://www.swsoft.com/webservices/vzl/4.0.0/types}packageType
@@ -7,7 +7,7 @@ module Virtuozzo
7
7
  module Drivers
8
8
  # = SupportDriver
9
9
  #
10
- class VzasupportPort < ::SOAP::RPC::Driver
10
+ class SupportDriver < ::SOAP::RPC::Driver
11
11
  DefaultEndpointUrl = "https://localhost:4646"
12
12
 
13
13
  Methods = [
@@ -72,8 +72,8 @@ module Virtuozzo
72
72
  def initialize(endpoint_url = nil)
73
73
  endpoint_url ||= DefaultEndpointUrl
74
74
  super(endpoint_url, nil)
75
- self.mapping_registry = DefaultMappingRegistry::EncodedRegistry
76
- self.literal_mapping_registry = DefaultMappingRegistry::LiteralRegistry
75
+ self.mapping_registry = Virtuozzo::SOAP::Drivers::Support::DefaultMappingRegistry::EncodedRegistry
76
+ self.literal_mapping_registry = Virtuozzo::SOAP::Drivers::Support::DefaultMappingRegistry::LiteralRegistry
77
77
  init_methods
78
78
  end
79
79
 
@@ -996,6 +996,19 @@ class TransferType
996
996
  end
997
997
  end
998
998
 
999
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_addressType
1000
+ # ip - (any)
1001
+ # netmask - (any)
1002
+ class Ip_addressType
1003
+ attr_accessor :ip
1004
+ attr_accessor :netmask
1005
+
1006
+ def initialize(ip = nil, netmask = nil)
1007
+ @ip = ip
1008
+ @netmask = netmask
1009
+ end
1010
+ end
1011
+
999
1012
  # {http://www.swsoft.com/webservices/vzl/4.0.0/types}system_nodeType
1000
1013
  # address - Virtuozzo::SOAP::Drivers::Template::System_nodeType::Address
1001
1014
  # login - Virtuozzo::SOAP::Drivers::Template::System_nodeType::Login
@@ -1394,19 +1407,6 @@ class Load_avg_statsType
1394
1407
  end
1395
1408
  end
1396
1409
 
1397
- # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_addressType
1398
- # ip - (any)
1399
- # netmask - (any)
1400
- class Ip_addressType
1401
- attr_accessor :ip
1402
- attr_accessor :netmask
1403
-
1404
- def initialize(ip = nil, netmask = nil)
1405
- @ip = ip
1406
- @netmask = netmask
1407
- end
1408
- end
1409
-
1410
1410
  # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_resourceType
1411
1411
  # eid - (any)
1412
1412
  # ip_pool - Virtuozzo::SOAP::Drivers::Template::Ip_poolType
@@ -1700,6 +1700,25 @@ class Vt_settingsType_ < Vt_settingsType
1700
1700
  end
1701
1701
  end
1702
1702
 
1703
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}groupType
1704
+ # user - Virtuozzo::SOAP::Drivers::Template::GroupType::User
1705
+ # member_group - Virtuozzo::SOAP::Drivers::Template::GroupType::Member_group
1706
+ # name - SOAP::SOAPString
1707
+ # gid - SOAP::SOAPInt
1708
+ class GroupType
1709
+ attr_accessor :user
1710
+ attr_accessor :member_group
1711
+ attr_accessor :name
1712
+ attr_accessor :gid
1713
+
1714
+ def initialize(user = [], member_group = [], name = nil, gid = nil)
1715
+ @user = user
1716
+ @member_group = member_group
1717
+ @name = name
1718
+ @gid = gid
1719
+ end
1720
+ end
1721
+
1703
1722
  # {http://www.swsoft.com/webservices/vzl/4.0.0/types}userType
1704
1723
  # initial_group - Virtuozzo::SOAP::Drivers::Template::UserType::Initial_group
1705
1724
  # group - Virtuozzo::SOAP::Drivers::Template::UserType::Group
@@ -1788,18 +1807,6 @@ class GroupType
1788
1807
  @name = name
1789
1808
  end
1790
1809
  end
1791
-
1792
- attr_accessor :user
1793
- attr_accessor :member_group
1794
- attr_accessor :name
1795
- attr_accessor :gid
1796
-
1797
- def initialize(user = [], member_group = [], name = nil, gid = nil)
1798
- @user = user
1799
- @member_group = member_group
1800
- @name = name
1801
- @gid = gid
1802
- end
1803
1810
  end
1804
1811
 
1805
1812
  # {http://www.swsoft.com/webservices/vzl/4.0.0/types}packageType
@@ -80,8 +80,8 @@ module Virtuozzo
80
80
  def initialize(endpoint_url = nil)
81
81
  endpoint_url ||= DefaultEndpointUrl
82
82
  super(endpoint_url, nil)
83
- self.mapping_registry = DefaultMappingRegistry::EncodedRegistry
84
- self.literal_mapping_registry = DefaultMappingRegistry::LiteralRegistry
83
+ self.mapping_registry = Virtuozzo::SOAP::Drivers::Template::DefaultMappingRegistry::EncodedRegistry
84
+ self.literal_mapping_registry = Virtuozzo::SOAP::Drivers::Template::DefaultMappingRegistry::LiteralRegistry
85
85
  init_methods
86
86
  end
87
87
 
@@ -1142,6 +1142,19 @@ class TransferType
1142
1142
  end
1143
1143
  end
1144
1144
 
1145
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_addressType
1146
+ # ip - (any)
1147
+ # netmask - (any)
1148
+ class Ip_addressType
1149
+ attr_accessor :ip
1150
+ attr_accessor :netmask
1151
+
1152
+ def initialize(ip = nil, netmask = nil)
1153
+ @ip = ip
1154
+ @netmask = netmask
1155
+ end
1156
+ end
1157
+
1145
1158
  # {http://www.swsoft.com/webservices/vzl/4.0.0/types}system_nodeType
1146
1159
  # address - Virtuozzo::SOAP::Drivers::Up2date::System_nodeType::Address
1147
1160
  # login - Virtuozzo::SOAP::Drivers::Up2date::System_nodeType::Login
@@ -1540,19 +1553,6 @@ class Load_avg_statsType
1540
1553
  end
1541
1554
  end
1542
1555
 
1543
- # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_addressType
1544
- # ip - (any)
1545
- # netmask - (any)
1546
- class Ip_addressType
1547
- attr_accessor :ip
1548
- attr_accessor :netmask
1549
-
1550
- def initialize(ip = nil, netmask = nil)
1551
- @ip = ip
1552
- @netmask = netmask
1553
- end
1554
- end
1555
-
1556
1556
  # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_resourceType
1557
1557
  # eid - (any)
1558
1558
  # ip_pool - Virtuozzo::SOAP::Drivers::Up2date::Ip_poolType
@@ -1790,6 +1790,25 @@ class Vt_settingsType
1790
1790
  end
1791
1791
  end
1792
1792
 
1793
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}groupType
1794
+ # user - Virtuozzo::SOAP::Drivers::Up2date::GroupType::User
1795
+ # member_group - Virtuozzo::SOAP::Drivers::Up2date::GroupType::Member_group
1796
+ # name - SOAP::SOAPString
1797
+ # gid - SOAP::SOAPInt
1798
+ class GroupType
1799
+ attr_accessor :user
1800
+ attr_accessor :member_group
1801
+ attr_accessor :name
1802
+ attr_accessor :gid
1803
+
1804
+ def initialize(user = [], member_group = [], name = nil, gid = nil)
1805
+ @user = user
1806
+ @member_group = member_group
1807
+ @name = name
1808
+ @gid = gid
1809
+ end
1810
+ end
1811
+
1793
1812
  # {http://www.swsoft.com/webservices/vzl/4.0.0/types}userType
1794
1813
  # initial_group - Virtuozzo::SOAP::Drivers::Up2date::UserType::Initial_group
1795
1814
  # group - Virtuozzo::SOAP::Drivers::Up2date::UserType::Group
@@ -1850,11 +1869,6 @@ class UserType
1850
1869
  end
1851
1870
  end
1852
1871
 
1853
- # {http://www.swsoft.com/webservices/vzl/4.0.0/types}groupType
1854
- # user - Virtuozzo::SOAP::Drivers::Up2date::GroupType::User
1855
- # member_group - Virtuozzo::SOAP::Drivers::Up2date::GroupType::Member_group
1856
- # name - SOAP::SOAPString
1857
- # gid - SOAP::SOAPInt
1858
1872
  class GroupType
1859
1873
 
1860
1874
  # inner class for member: user
@@ -1878,18 +1892,6 @@ class GroupType
1878
1892
  @name = name
1879
1893
  end
1880
1894
  end
1881
-
1882
- attr_accessor :user
1883
- attr_accessor :member_group
1884
- attr_accessor :name
1885
- attr_accessor :gid
1886
-
1887
- def initialize(user = [], member_group = [], name = nil, gid = nil)
1888
- @user = user
1889
- @member_group = member_group
1890
- @name = name
1891
- @gid = gid
1892
- end
1893
1895
  end
1894
1896
 
1895
1897
  # {http://www.swsoft.com/webservices/vzl/4.0.0/types}packageType
@@ -55,8 +55,8 @@ module Virtuozzo
55
55
  def initialize(endpoint_url = nil)
56
56
  endpoint_url ||= DefaultEndpointUrl
57
57
  super(endpoint_url, nil)
58
- self.mapping_registry = DefaultMappingRegistry::EncodedRegistry
59
- self.literal_mapping_registry = DefaultMappingRegistry::LiteralRegistry
58
+ self.mapping_registry = Virtuozzo::SOAP::Drivers::Up2date::DefaultMappingRegistry::EncodedRegistry
59
+ self.literal_mapping_registry = Virtuozzo::SOAP::Drivers::Up2date::DefaultMappingRegistry::LiteralRegistry
60
60
  init_methods
61
61
  end
62
62
 
data/virtuozzo.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{virtuozzo}
5
- s.version = "0.1.0"
5
+ s.version = "0.1.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["James Thompson"]
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.description = %q{Ruby library for Parallels Virtuozzo Agent's API}
11
11
  s.email = %q{james@plainprograms.com}
12
12
  s.extra_rdoc_files = ["CHANGELOG.rdoc", "lib/virtuozzo/constants.rb", "lib/virtuozzo/soap/drivers/device/mapping_registry.rb", "lib/virtuozzo/soap/drivers/device/types.rb", "lib/virtuozzo/soap/drivers/device_driver.rb", "lib/virtuozzo/soap/drivers/environment/mapping_registry.rb", "lib/virtuozzo/soap/drivers/environment/types.rb", "lib/virtuozzo/soap/drivers/environment_driver.rb", "lib/virtuozzo/soap/drivers/network/mapping_registry.rb", "lib/virtuozzo/soap/drivers/network/types.rb", "lib/virtuozzo/soap/drivers/network_driver.rb", "lib/virtuozzo/soap/drivers/process/mapping_registry.rb", "lib/virtuozzo/soap/drivers/process/types.rb", "lib/virtuozzo/soap/drivers/process_driver.rb", "lib/virtuozzo/soap/drivers/process_info/mapping_registry.rb", "lib/virtuozzo/soap/drivers/process_info/types.rb", "lib/virtuozzo/soap/drivers/process_info_driver.rb", "lib/virtuozzo/soap/drivers/relocator/mapping_registry.rb", "lib/virtuozzo/soap/drivers/relocator/types.rb", "lib/virtuozzo/soap/drivers/relocator_driver.rb", "lib/virtuozzo/soap/drivers/session/mapping_registry.rb", "lib/virtuozzo/soap/drivers/session/types.rb", "lib/virtuozzo/soap/drivers/session_driver.rb", "lib/virtuozzo/soap/drivers/support/mapping_registry.rb", "lib/virtuozzo/soap/drivers/support/types.rb", "lib/virtuozzo/soap/drivers/support_driver.rb", "lib/virtuozzo/soap/drivers/template/mapping_registry.rb", "lib/virtuozzo/soap/drivers/template/types.rb", "lib/virtuozzo/soap/drivers/template_driver.rb", "lib/virtuozzo/soap/drivers/up2date/mapping_registry.rb", "lib/virtuozzo/soap/drivers/up2date/types.rb", "lib/virtuozzo/soap/drivers/up2date_driver.rb", "lib/virtuozzo/soap.rb", "lib/virtuozzo.rb", "README.rdoc"]
13
- s.files = ["CHANGELOG.rdoc", "lib/virtuozzo/constants.rb", "lib/virtuozzo/soap/drivers/device/mapping_registry.rb", "lib/virtuozzo/soap/drivers/device/types.rb", "lib/virtuozzo/soap/drivers/device_driver.rb", "lib/virtuozzo/soap/drivers/environment/mapping_registry.rb", "lib/virtuozzo/soap/drivers/environment/types.rb", "lib/virtuozzo/soap/drivers/environment_driver.rb", "lib/virtuozzo/soap/drivers/network/mapping_registry.rb", "lib/virtuozzo/soap/drivers/network/types.rb", "lib/virtuozzo/soap/drivers/network_driver.rb", "lib/virtuozzo/soap/drivers/process/mapping_registry.rb", "lib/virtuozzo/soap/drivers/process/types.rb", "lib/virtuozzo/soap/drivers/process_driver.rb", "lib/virtuozzo/soap/drivers/process_info/mapping_registry.rb", "lib/virtuozzo/soap/drivers/process_info/types.rb", "lib/virtuozzo/soap/drivers/process_info_driver.rb", "lib/virtuozzo/soap/drivers/relocator/mapping_registry.rb", "lib/virtuozzo/soap/drivers/relocator/types.rb", "lib/virtuozzo/soap/drivers/relocator_driver.rb", "lib/virtuozzo/soap/drivers/session/mapping_registry.rb", "lib/virtuozzo/soap/drivers/session/types.rb", "lib/virtuozzo/soap/drivers/session_driver.rb", "lib/virtuozzo/soap/drivers/support/mapping_registry.rb", "lib/virtuozzo/soap/drivers/support/types.rb", "lib/virtuozzo/soap/drivers/support_driver.rb", "lib/virtuozzo/soap/drivers/template/mapping_registry.rb", "lib/virtuozzo/soap/drivers/template/types.rb", "lib/virtuozzo/soap/drivers/template_driver.rb", "lib/virtuozzo/soap/drivers/up2date/mapping_registry.rb", "lib/virtuozzo/soap/drivers/up2date/types.rb", "lib/virtuozzo/soap/drivers/up2date_driver.rb", "lib/virtuozzo/soap.rb", "lib/virtuozzo.rb", "Manifest", "Rakefile", "README.rdoc", "script/console", "script/github-gem-test", "virtuozzo.gemspec"]
13
+ s.files = ["CHANGELOG.rdoc", "lib/virtuozzo/constants.rb", "lib/virtuozzo/soap/drivers/device/mapping_registry.rb", "lib/virtuozzo/soap/drivers/device/types.rb", "lib/virtuozzo/soap/drivers/device_driver.rb", "lib/virtuozzo/soap/drivers/environment/mapping_registry.rb", "lib/virtuozzo/soap/drivers/environment/types.rb", "lib/virtuozzo/soap/drivers/environment_driver.rb", "lib/virtuozzo/soap/drivers/network/mapping_registry.rb", "lib/virtuozzo/soap/drivers/network/types.rb", "lib/virtuozzo/soap/drivers/network_driver.rb", "lib/virtuozzo/soap/drivers/process/mapping_registry.rb", "lib/virtuozzo/soap/drivers/process/types.rb", "lib/virtuozzo/soap/drivers/process_driver.rb", "lib/virtuozzo/soap/drivers/process_info/mapping_registry.rb", "lib/virtuozzo/soap/drivers/process_info/types.rb", "lib/virtuozzo/soap/drivers/process_info_driver.rb", "lib/virtuozzo/soap/drivers/relocator/mapping_registry.rb", "lib/virtuozzo/soap/drivers/relocator/types.rb", "lib/virtuozzo/soap/drivers/relocator_driver.rb", "lib/virtuozzo/soap/drivers/session/mapping_registry.rb", "lib/virtuozzo/soap/drivers/session/types.rb", "lib/virtuozzo/soap/drivers/session_driver.rb", "lib/virtuozzo/soap/drivers/support/mapping_registry.rb", "lib/virtuozzo/soap/drivers/support/types.rb", "lib/virtuozzo/soap/drivers/support_driver.rb", "lib/virtuozzo/soap/drivers/template/mapping_registry.rb", "lib/virtuozzo/soap/drivers/template/types.rb", "lib/virtuozzo/soap/drivers/template_driver.rb", "lib/virtuozzo/soap/drivers/up2date/mapping_registry.rb", "lib/virtuozzo/soap/drivers/up2date/types.rb", "lib/virtuozzo/soap/drivers/up2date_driver.rb", "lib/virtuozzo/soap.rb", "lib/virtuozzo.rb", "Rakefile", "README.rdoc", "script/console", "script/github-gem-test", "virtuozzo.gemspec", "Manifest"]
14
14
  s.has_rdoc = true
15
15
  s.homepage = %q{http://github.com/plainprograms/virtuozzo}
16
16
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Virtuozzo", "--main", "README.rdoc"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plainprograms-virtuozzo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Thompson
@@ -98,12 +98,12 @@ files:
98
98
  - lib/virtuozzo/soap/drivers/up2date_driver.rb
99
99
  - lib/virtuozzo/soap.rb
100
100
  - lib/virtuozzo.rb
101
- - Manifest
102
101
  - Rakefile
103
102
  - README.rdoc
104
103
  - script/console
105
104
  - script/github-gem-test
106
105
  - virtuozzo.gemspec
106
+ - Manifest
107
107
  has_rdoc: true
108
108
  homepage: http://github.com/plainprograms/virtuozzo
109
109
  post_install_message: