[ansible-project] Ansible raw module cisco error

2017-07-03 Thread David Zheng
I have issue with issue command via raw module against cisco device


ansible r1 -m raw -a "show vlan brief"
SSH password:
r1 | SUCCESS | rc=0 >>

Line has invalid autocommand "show vlan brief"


But "show ver/show clock" works fine 

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/807e65e0-cf01-4e34-971f-865ea09f3828%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[no subject]

2014-09-28 Thread David Zheng


Please reply for a probate claim.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: What does login() and logout() actually do?

2011-12-30 Thread David Zheng
Thanks.

On Fri, Dec 30, 2011 at 4:55 PM, Mario Gudelj wrote:

> Hey,
>
> All that code is in django.contrib.auth. The login() function is is in
> views.py in that directory.
>
> Cheers,
>
>
>
> On 31 December 2011 11:34, David Zheng  wrote:
>
>> Hi, all.
>>
>> In Django Document - User authentication in Django, it talks about how
>> to log a user in and out. But I really what to know what happens under
>> the hood when calling the functions login() and logout(). There is
>> little content concerned with this topic. I've read almost every
>> article or document I could find and the only thing I know is that
>> login() function
>> "
>> i) uses the session framework to save the cookie we’ve seen in the
>> first section of this article.
>> ii) login() saves the user's ID in the session
>> "
>> Does anyone know where can I find the source code of the login() and
>> logout() function or any articles talking about these two functions in
>> detail. I really need to know what happens behind the scene to better
>> understand Django's session framework.
>>
>> Thanks.
>>
>> -David.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: What does login() and logout() actually do?

2011-12-30 Thread David Zheng
Yeah, that's what i want. Thanks.

On Fri, Dec 30, 2011 at 4:50 PM, Sebastian Goll wrote:

> On Fri, 30 Dec 2011 16:34:13 -0800 (PST)
> David Zheng  wrote:
>
> > Does anyone know where can I find the source code of the login() and
> > logout() function or any articles talking about these two functions in
> > detail. I really need to know what happens behind the scene to better
> > understand Django's session framework.
>
> The relevant source code is accessible in the django.contrib.auth package:
>
>
> https://code.djangoproject.com/browser/django/trunk/django/contrib/auth/__init__.py
>
> Some further details on how these functions work is given in the docs:
>
>  https://docs.djangoproject.com/en/dev/topics/auth/#how-to-log-a-user-in
>  https://docs.djangoproject.com/en/dev/topics/auth/#how-to-log-a-user-out
>
> Regards,
> Sebastian.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



What does login() and logout() actually do?

2011-12-30 Thread David Zheng
Hi, all.

In Django Document - User authentication in Django, it talks about how
to log a user in and out. But I really what to know what happens under
the hood when calling the functions login() and logout(). There is
little content concerned with this topic. I've read almost every
article or document I could find and the only thing I know is that
login() function
"
i) uses the session framework to save the cookie we’ve seen in the
first section of this article.
ii) login() saves the user's ID in the session
"
Does anyone know where can I find the source code of the login() and
logout() function or any articles talking about these two functions in
detail. I really need to know what happens behind the scene to better
understand Django's session framework.

Thanks.

-David.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.