Package org.jclouds.byon.domain
Class YamlNode
java.lang.Object
org.jclouds.byon.domain.YamlNode
Serializes to the following
id: cluster-1 name: cluster-1 description: xyz hostname: cluster-1.mydomain.com location_id: virginia os_arch: x86 os_family: linux os_description: redhat os_version: 5.3 os_64bit: 5.3 login_port: 2022 group: hadoop tags: - vanilla metadata: key1: val1 username: kelvin credential: password_or_rsa or credential_url: password_or_rsa_file ex. resource:///id_rsa will get the classpath /id_rsa; file://path/to/id_rsa sudo_password: password
-
Field Details
-
id
-
name
-
description
-
hostname
-
location_id
-
os_arch
-
os_family
-
os_description
-
os_version
-
login_port
public int login_port -
os_64bit
public boolean os_64bit -
group
-
tags
-
metadata
-
username
-
credential
-
credential_url
-
sudo_password
-
toNode
-
byteSourceToYamlNode
public static final com.google.common.base.Function<com.google.common.io.ByteSource,YamlNode> byteSourceToYamlNode -
yamlNodeToByteSource
public static final com.google.common.base.Function<YamlNode,com.google.common.io.ByteSource> yamlNodeToByteSource -
nodeToYamlNode
-
-
Constructor Details
-
YamlNode
public YamlNode()
-
-
Method Details
-
toNode
-
fromYaml
-
toYaml
public com.google.common.io.ByteSource toYaml() -
fromNode
-