savanna-all team mailing list archive
-
savanna-all team
-
Mailing list archive
-
Message #00124
Re: General API questions
Here is the objects structure:
Cluster
- NodeGroup
-- Instance
You will only receive cluster object in plugin's methods and then you can iterate over the node groups and etc.
Sincerely yours,
Sergey Lukjanov
Software Engineer
Mirantis Inc.
GTalk: me@xxxxxxxxxxx
Skype: lukjanovsv
On May 30, 2013, at 19:05, Jon Maron <jmaron@xxxxxxxxxxxxxxx> wrote:
>
> On May 30, 2013, at 11:00 AM, Sergey Lukjanov <slukjanov@xxxxxxxxxxxx> wrote:
>
>> Jon, as for credentials - I think that we'll automatically generate unique keypairs per cluster and store it in the Cluster object.
>
> Those key pairs can be used to create an ssh connection to any instance in the cluster? Can we have a reference to the cluster object from each instance?
>
>>
>> Sincerely yours,
>> Sergey Lukjanov
>> Software Engineer
>> Mirantis Inc.
>> GTalk: me@xxxxxxxxxxx
>> Skype: lukjanovsv
>>
>> On May 30, 2013, at 18:57, Jon Maron <jmaron@xxxxxxxxxxxxxxx> wrote:
>>
>>> And yet another question ;)
>>>
>>> - instance credentials - I assume that object will have username and password attributes?
>>>
>>> On May 30, 2013, at 10:52 AM, Jon Maron <jmaron@xxxxxxxxxxxxxxx> wrote:
>>>
>>>> One more question:
>>>>
>>>> - It may be beneficial to include an attribute in the Instance object referencing its node group. Thoughts?
>>>>
>>>> -- Jon
>>>>
>>>> On May 30, 2013, at 10:50 AM, Jon Maron <jmaron@xxxxxxxxxxxxxxx> wrote:
>>>>
>>>>> 1) Can we include a hostname attribute in the Instance object, or is that the intent of instance_id? We do need the hostname for some operations
>>>>>
>>>>> 2) In addition to the management ip attribute of an instance, we would also need the public ip for some scenarios. Can we add that attribute?
>>>>>
>>>>> -- Jon
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> Mailing list: https://launchpad.net/~savanna-all
>>> Post to : savanna-all@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~savanna-all
>>> More help : https://help.launchpad.net/ListHelp
>>
>
References