Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
✪ vi4m Marcin Kliks
@vi4m
to gather some examples and play with it
Pete
@kasim1r
ok, and the "accept" and "content-type" headers cannot be mixed, i just realized
next problem right away:
{"hostname":["This field must be unique."],"sn":["This field must be unique."]}
forget it, he already took the request :)
very nice
i'm doing this in Powershell, so bear with me
✪ vi4m Marcin Kliks
@vi4m
are you adopting Ralph for some back office purposes ?
Pete
@kasim1r
yes, we have a cluster of hypervisors, and I want to automate inventory of VMs
nobody wants to sit in front of a web interface to add VMs by hand :)
albeit the web interface is cool
:P
✪ vi4m Marcin Kliks
@vi4m
yeah, we did it the same, using bunch of scripts
Pete
@kasim1r
oh maybe you want to share these scripts ... for shortening the learning curve?
✪ vi4m Marcin Kliks
@vi4m
so this API for virtualservers should be sufficient to add complete set of properties
it's very simple, you just discovered 30% of it already, by yourself
Pete
@kasim1r
do ihave to add ethernets before the VM so that i can "connect" the ethernet to the VM?
✪ vi4m Marcin Kliks
@vi4m
i'm not sure..
Pete
@kasim1r
thanks for your help anyway.
and a hint for the "installation" howto: change "apt-get install mysql-server" to "mysql-server-5.6" or so
because otherwise installtion fails
✪ vi4m Marcin Kliks
@vi4m
oh, thanks
we are working on the CLI tool, too, http://ralph-cli.readthedocs.io/en/latest/quickstart/
which helps "discovering" in an automatically manner, devices
Pete
@kasim1r
aha
✪ vi4m Marcin Kliks
@vi4m
but we're currently using it only for phiscal hardware, to discover hardware information
so it cannot create new device, rather update components(cpu, memory, ethernets)
Pete
@kasim1r
cool, but dracs are in a saprate physical LAN, not routed to infrstructure
so, hypervisors will still have to be manual :)
✪ vi4m Marcin Kliks
@vi4m
yeah.
Pete
@kasim1r
signing off now, thanks again, will surely come back with more questions :)
cucu
✪ vi4m Marcin Kliks
@vi4m
see you later
Pete
@kasim1r
Good morning!
✪ vi4m Marcin Kliks
@vi4m
morning
Pete
@kasim1r
I have another, more basic, question
what about switches, resp. switch ports?
am I blind? cannot find them....
Pete
@kasim1r
i see, no such device implemented... yet?
✪ vi4m Marcin Kliks
@vi4m
you can add switches as well
but there is no GUI for connections management
you can use notes or something like that
✪ vi4m Marcin Kliks
@vi4m
we use also descriptions which rack is connected to other rack
Zrzut ekranu 2016-09-15 o 12.55.03.png
but direct ports descriptions and connections is something we plan to ship next quarter
Pete
@kasim1r
aha, ok
is the switch object just a "datacenter asset"?
except for not being a physical server?
✪ vi4m Marcin Kliks
@vi4m
data center asset with category Router or similar
Pete
@kasim1r
ok