Examples of IdentityProvides_Type


Examples of org.nimbustools.ctxbroker.generated.gt4_0.description.IdentityProvides_Type

        args.setCluster(clusta);
        this.ctxRetrieve.setRetrieveSend(args);
    }

    private IdentityProvides_Type getFake_0() {
        final IdentityProvides_Type id = new IdentityProvides_Type();
        id.set_interface("publicnic");
        id.setIp("1.2.3.4");
        id.setHostname("example.com");
        id.setPubkey("pubkey text");
        return id;
    }
View Full Code Here

Examples of org.nimbustools.ctxbroker.generated.gt4_0.description.IdentityProvides_Type

        id.setPubkey("pubkey text");
        return id;
    }

    private IdentityProvides_Type getFake_1() {
        final IdentityProvides_Type id = new IdentityProvides_Type();
        id.set_interface("localnic");
        id.setIp("7.8.9.0");
        id.setHostname("example2.com");
        id.setPubkey("pubkey text 2");
        return id;
    }
View Full Code Here

Examples of org.nimbustools.ctxbroker.generated.gt4_0.description.IdentityProvides_Type

    private String identitiesDump(IdentityProvides_Type[] identities) {
        final StringBuffer buf = new StringBuffer();
        for (int i = 0; i < identities.length; i++) {
            buf.append("IdentityProvides_Type #")
               .append(i);
            IdentityProvides_Type id = identities[i];
            if (id == null) {
                buf.append(" is null.\n");
            } else {
               buf.append(":\n")
                  .append(" - interface: '")
                  .append(id.get_interface())
                  .append("'\n");
               buf.append(" - ip: '")
                  .append(id.getIp())
                  .append("'\n");
                buf.append(" - hostname: '")
                  .append(id.getHostname())
                  .append("'\n");
                buf.append(" - ssh pubkey: '")
                  .append(id.getPubkey())
                  .append("'\n");
            }
        }
        return buf.toString();
    }
View Full Code Here

Examples of org.nimbustools.ctxbroker.generated.gt4_0.description.IdentityProvides_Type

            }
        }
    }

    public static void main(String[] args) throws Exception {
        IdentityProvides_Type id = new IdentityProvides_Type();
        id.set_interface(null);
        id.setHostname("xyz");
        id.setIp("1.2.3.4");
        id.setPubkey("ssh-rsa 132reoi3nfoi3nfoin3f#$@$@#$@#$@#$@#$");

        IdentityProvides_Type[] ids = {id};
        Node_Type node = new Node_Type();
        node.setIdentity(ids);
        Node_Type[] nodes = {node};
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.