Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login details for servers #3

Closed
ariunbayar opened this issue Dec 24, 2012 · 0 comments
Closed

Login details for servers #3

ariunbayar opened this issue Dec 24, 2012 · 0 comments
Assignees

Comments

@ariunbayar
Copy link
Owner

Each server needs to have multiple login information. For example: radius, cisco, snmp.

So what we need here is to add new model called "LoginInfo". See following as sample:

from server.models import Server
class LoginInfo(db.Model):
    url = db.StringProperty()
    username = db.StringProperty()
    password = db.StringProperty()
    server = db.ReferenceProperty(Server)

ReferenceProperty is the field that points to our server. So that we can have multiple login info for each server.

Please allow a user to enter login info on server show page.

@ghost ghost assigned Qlio and ariunbayar Dec 24, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants