mvn clean protobuf:compile-custom compile
- Start
AvailableZonesServer
main method fromserver
module - Enjoy
Client part using spring-shell
to interact with user
- Start
App.java
fromclient
module - type
help
to get list of commands - to get any result you can type:
get --cpus 1 --ram 1 --disk 40 --vport 4 --sriov --location "some location"
All arguments are mandatory (--sriov it's boolean so you can omit it to false value)
AvailableZonesGrpc
and all sub-classes are auto generated from your .proto file