occi-core 5.0.0.beta.7 → 5.0.0.beta.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1645f66b7dfc09fb86c8aad566dbc5ce22f674a1
4
- data.tar.gz: 8090d0663be19753429b213a39b23ab21b8f0c6f
3
+ metadata.gz: 349e8ab2c6ff7e544c14a8e14beba5408cec7c6e
4
+ data.tar.gz: a843c93b9d2b35993c57b76d39ac8781eb8fbc5a
5
5
  SHA512:
6
- metadata.gz: 6a670675c314346521bf3f4e0ff8a00b3287e3f273344bd075456fc48e0473f6ce66e8e71d7a26ca2b44c642e03633f0690456be8c9adf4f188534fb7c3468c6
7
- data.tar.gz: b0202c952fb37d2177d1fa4bb00e55de035c588713009df030741d244c556e2e6c540d95656caecc96eb68a26fd0a3ec967a545229920a958647d9336556f826
6
+ metadata.gz: a41664f161e846c1c60832b4aa844d7e6a78980d4d6a34a48b9d15be89c0750f68251a1bb4c6d438ec48b9c869dfcc90a41994027df9e9ac14d06e1f307fcc48
7
+ data.tar.gz: bb88f43ae654c457706a047d105bc3a446dedf0460217d4fba10a4ae8e2a7124f3dcdc8e9e6ce23cb62afcd7b2168a139d29f01b39717afbee390e00c0cbe186
@@ -3,7 +3,7 @@ module Occi
3
3
  MAJOR_VERSION = 5 # Major update constant
4
4
  MINOR_VERSION = 0 # Minor update constant
5
5
  PATCH_VERSION = 0 # Patch/Fix version constant
6
- STAGE_VERSION = 'beta.7'.freeze # use `nil` for production releases
6
+ STAGE_VERSION = 'beta.8'.freeze # use `nil` for production releases
7
7
 
8
8
  unless defined?(::Occi::Core::VERSION)
9
9
  VERSION = [
@@ -20,6 +20,8 @@ module Occi
20
20
  IPNETWORKINTERFACE_MIXIN = 'http://schemas.ogf.org/occi/infrastructure/networkinterface#ipnetworkinterface'.freeze
21
21
  OS_TPL_MIXIN = 'http://schemas.ogf.org/occi/infrastructure#os_tpl'.freeze
22
22
  RESOURCE_TPL_MIXIN = 'http://schemas.ogf.org/occi/infrastructure#resource_tpl'.freeze
23
+ USER_DATA_MIXIN = 'http://schemas.ogf.org/occi/infrastructure/compute#user_data'.freeze
24
+ SSH_KEY_MIXIN = 'http://schemas.ogf.org/occi/infrastructure/credentials#ssh_key'.freeze
23
25
  end
24
26
  end
25
27
  end
@@ -0,0 +1,7 @@
1
+ ---
2
+ type: !ruby/class String
3
+ required: false
4
+ mutable: true
5
+ default: ~
6
+ description: Contextualization data formatted as Base64-encoded string (ref. 'cloud-config')
7
+ pattern: !ruby/regexp '/^.+$/'
@@ -0,0 +1,7 @@
1
+ ---
2
+ type: !ruby/class String
3
+ required: false
4
+ mutable: true
5
+ default: ~
6
+ description: Public SSH key formatted as Base64-encoded string (ref. 'authorized_keys')
7
+ pattern: !ruby/regexp '/^.+$/'
@@ -0,0 +1,9 @@
1
+ ---
2
+ term: ssh_key
3
+ schema: http://schemas.ogf.org/occi/infrastructure/credentials#
4
+ title: OCCI SSH public key to be injected into a compute instance
5
+ attributes:
6
+ - occi.credentials.ssh.publickey
7
+ location: /mixin/ssh_key
8
+ applies:
9
+ - http://schemas.ogf.org/occi/infrastructure#compute
@@ -0,0 +1,9 @@
1
+ ---
2
+ term: user_data
3
+ schema: http://schemas.ogf.org/occi/infrastructure/compute#
4
+ title: OCCI contextualization data to be injected into a compute instance
5
+ attributes:
6
+ - occi.compute.userdata
7
+ location: /mixin/user_data
8
+ applies:
9
+ - http://schemas.ogf.org/occi/infrastructure#compute
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: occi-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0.beta.7
4
+ version: 5.0.0.beta.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boris Parak
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-07-20 00:00:00.000000000 Z
13
+ date: 2017-07-26 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: json
@@ -511,6 +511,8 @@ files:
511
511
  - lib/occi/infrastructure/warehouse/kinds/storagelink.yml
512
512
  - lib/occi/infrastructure/warehouse/mixins/.gitkeep
513
513
  - lib/occi/infrastructure/warehouse/mixins/attributes/.gitkeep
514
+ - lib/occi/infrastructure/warehouse/mixins/attributes/occi.compute.userdata.yml
515
+ - lib/occi/infrastructure/warehouse/mixins/attributes/occi.credentials.ssh.publickey.yml
514
516
  - lib/occi/infrastructure/warehouse/mixins/attributes/occi.network.address.yml
515
517
  - lib/occi/infrastructure/warehouse/mixins/attributes/occi.network.allocation.yml
516
518
  - lib/occi/infrastructure/warehouse/mixins/attributes/occi.network.gateway.yml
@@ -519,6 +521,8 @@ files:
519
521
  - lib/occi/infrastructure/warehouse/mixins/attributes/occi.networkinterface.gateway.yml
520
522
  - lib/occi/infrastructure/warehouse/mixins/ipnetwork.yml
521
523
  - lib/occi/infrastructure/warehouse/mixins/ipnetworkinterface.yml
524
+ - lib/occi/infrastructure/warehouse/mixins/ssh_key.yml
525
+ - lib/occi/infrastructure/warehouse/mixins/user_data.yml
522
526
  - lib/occi/infrastructure_ext/constants.rb
523
527
  - lib/occi/infrastructure_ext/instance_builder.rb
524
528
  - lib/occi/infrastructure_ext/ipreservation.rb