Package jnipap

Examples of jnipap.Prefix.save()


    prefix1.prefix = "192.168.0.0/16";
    prefix1.type = "reservation";
    prefix1.description = "RFC1918 class B block";

    try {
      prefix1.save(this.connection);
      prefix2 = Prefix.get(this.connection, prefix1.id);
    } catch (JnipapException e) {
      fail("Operation resulted in " + e.getClass().getName() + " with message \"" + e.getMessage() + "\"");
      return;
    }
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.