help_pages.devices_help_views¶
This module contains all views concerning the help pages used within the devices app.
Classes¶
The application certificate profile data class that holds both value an label. |
|
Allowed application credential profiles. |
|
Provides a get method that redirects to the ULR returned by get_redirect_url. |
|
Abstract help view for the case of no onboarding using CMP shared-secret. |
|
Help view for the case of no onboarding using CMP shared-secret for generic devices. |
|
Help view for the case of no onboarding using CMP shared-secret for generic devices. |
|
Abstract help view for the case of no onboarding using CMP shared-secret. |
|
Help view for the case of no onboarding using CMP shared-secret for generic devices. |
|
Help view for the case of no onboarding using CMP shared-secret for generic devices. |
|
Abstract help view for the case of no onboarding using CMP shared-secret. |
|
abc. |
|
abc. |
|
|
Abstract help view for the case of no onboarding using CMP shared-secret. |
abc. |
|
|
abc. |
Abstract help view for the case of onboarding using CMP shared-secret. |
|
Help view for the case of no onboarding using CMP shared-secret for generic devices. |
|
Help view for the case of no onboarding using CMP shared-secret for generic devices. |
|
Abstract help view for the case of no onboarding using CMP shared-secret. |
|
abc. |
|
abc. |
Module Contents¶
- class help_pages.devices_help_views.ApplicationCertificateProfileData[source]¶
The application certificate profile data class that holds both value an label.
- class help_pages.devices_help_views.ApplicationCertificateProfile(*args, **kwds)[source]¶
Bases:
enum.EnumAllowed application credential profiles.
- property name: str[source]¶
Return the name of the profile.
- Returns:
The name of the profile.
- Return type:
str
- property label: str[source]¶
Return the label of the profile.
- Returns:
The label of the profile.
- Return type:
str
- class help_pages.devices_help_views.GetRedirectMixin[source]¶
Provides a get method that redirects to the ULR returned by get_redirect_url.
- get(request, *args, **kwargs)[source]¶
Pro.
- Parameters:
request (django.http.HttpRequest) – The django HttpRequest object.
*args (Any) – Positional arguments are passed to self.get_redirect.url()
**kwargs (Any) – Keyword arguments are passed to self.get_redirect.url()
- Returns:
The corresponding redirect.
- Return type:
django.http.HttpResponse
Bases:
trustpoint.page_context.PageContextMixin,django.views.generic.detail.DetailView[devices.models.DeviceModel]Abstract help view for the case of no onboarding using CMP shared-secret.
Adds information about the required OpenSSL commands to the context.
- Parameters:
**kwargs (Any) – Keyword arguments passed to super().get_context_data.
- Returns:
The context to render the page.
- Return type:
dict[str, Any]
- Return type:
- Parameters:
hidden (bool)
- Return type:
- Parameters:
hidden (bool)
- Return type:
- Parameters:
hidden (bool)
- Return type:
- Parameters:
hidden (bool)
- Return type:
- Return type:
- Return type:
django.utils.safestring.SafeString
- Return type:
- Return type:
str
- Return type:
str
Bases:
AbstractNoOnboardingCmpSharedSecretHelpViewHelp view for the case of no onboarding using CMP shared-secret for generic devices.
Bases:
AbstractNoOnboardingCmpSharedSecretHelpViewHelp view for the case of no onboarding using CMP shared-secret for generic devices.
- class help_pages.devices_help_views.AbstractNoOnboardingEstUsernamePasswordHelpView[source]¶
Bases:
trustpoint.page_context.PageContextMixin,django.views.generic.detail.DetailView[devices.models.DeviceModel]Abstract help view for the case of no onboarding using CMP shared-secret.
- get_context_data(**kwargs)[source]¶
Adds information about the required OpenSSL commands to the context.
- Parameters:
**kwargs (Any) – Keyword arguments passed to super().get_context_data.
- Returns:
The context to render the page.
- Return type:
dict[str, Any]
- _get_cmp_tls_client_profile_cmd_section(*, hidden=False)[source]¶
- Parameters:
hidden (bool)
- Return type:
- _get_cmp_tls_server_profile_cmd_section(*, hidden=False)[source]¶
- Parameters:
hidden (bool)
- Return type:
- _get_cmp_opc_ua_client_profile_cmd_section(*, hidden=False)[source]¶
- Parameters:
hidden (bool)
- Return type:
- _get_cmp_opc_ua_server_profile_cmd_section(*, hidden=False)[source]¶
- Parameters:
hidden (bool)
- Return type:
- Return type:
str
- class help_pages.devices_help_views.DeviceNoOnboardingEstUsernamePasswordHelpView[source]¶
Bases:
AbstractNoOnboardingEstUsernamePasswordHelpViewHelp view for the case of no onboarding using CMP shared-secret for generic devices.
- class help_pages.devices_help_views.OpcUaGdsNoOnboardingEstUsernamePasswordHelpView[source]¶
Bases:
AbstractNoOnboardingEstUsernamePasswordHelpViewHelp view for the case of no onboarding using CMP shared-secret for generic devices.
Bases:
trustpoint.page_context.PageContextMixin,django.views.generic.detail.DetailView[devices.models.DeviceModel]Abstract help view for the case of no onboarding using CMP shared-secret.
Adds information about the required OpenSSL commands to the context.
- Parameters:
**kwargs (Any) – Keyword arguments passed to super().get_context_data.
- Returns:
The context to render the page.
- Return type:
dict[str, Any]
- Return type:
- Parameters:
hidden (bool)
- Return type:
- Return type:
- Return type:
django.utils.safestring.SafeString
- Return type:
- Return type:
str
- Return type:
str
- class help_pages.devices_help_views.AbstractOnboardingDomainCredentialEstUsernamePasswordHelpView[source]¶
Bases:
trustpoint.page_context.PageContextMixin,django.views.generic.detail.DetailView[devices.models.DeviceModel]Abstract help view for the case of no onboarding using CMP shared-secret.
- get_context_data(**kwargs)[source]¶
Adds information about the required OpenSSL commands to the context.
- Parameters:
**kwargs (Any) – Keyword arguments passed to super().get_context_data.
- Returns:
The context to render the page.
- Return type:
dict[str, Any]
- _get_est_domain_cred_profile_cmd_section(*, hidden=False)[source]¶
- Parameters:
hidden (bool)
- Return type:
- class help_pages.devices_help_views.DeviceOnboardingDomainCredentialEstUsernamePasswordHelpView[source]¶
Bases:
AbstractOnboardingDomainCredentialEstUsernamePasswordHelpViewabc.
- class help_pages.devices_help_views.OpcUaGdsOnboardingDomainCredentialEstUsernamePasswordHelpView[source]¶
Bases:
AbstractOnboardingDomainCredentialEstUsernamePasswordHelpViewabc.
- class help_pages.devices_help_views.AbstractOnboardingCmpDomainCredentialHelpView[source]¶
Bases:
trustpoint.page_context.PageContextMixin,django.views.generic.detail.DetailView[devices.models.DeviceModel]Abstract help view for the case of onboarding using CMP shared-secret.
- get_context_data(**kwargs)[source]¶
Adds information about the required OpenSSL commands to the context.
- Parameters:
**kwargs (Any) – Keyword arguments passed to super().get_context_data.
- Returns:
The context to render the page.
- Return type:
dict[str, Any]
- _get_cmp_tls_client_profile_cmd_section(*, hidden=False)[source]¶
- Parameters:
hidden (bool)
- Return type:
- _get_cmp_tls_server_profile_cmd_section(*, hidden=False)[source]¶
- Parameters:
hidden (bool)
- Return type:
- _get_cmp_opc_ua_client_profile_cmd_section(*, hidden=False)[source]¶
- Parameters:
hidden (bool)
- Return type:
- _get_cmp_opc_ua_server_profile_cmd_section(*, hidden=False)[source]¶
- Parameters:
hidden (bool)
- Return type:
- class help_pages.devices_help_views.DeviceOnboardingCmpDomainCredentialHelpView[source]¶
Bases:
AbstractOnboardingCmpDomainCredentialHelpViewHelp view for the case of no onboarding using CMP shared-secret for generic devices.
- class help_pages.devices_help_views.OpcUaGdsOnboardingCmpDomainCredentialHelpView[source]¶
Bases:
AbstractOnboardingCmpDomainCredentialHelpViewHelp view for the case of no onboarding using CMP shared-secret for generic devices.
- class help_pages.devices_help_views.AbstractDeviceOnboardingEstDomainCredentialHelpView[source]¶
Bases:
trustpoint.page_context.PageContextMixin,django.views.generic.detail.DetailView[devices.models.DeviceModel]Abstract help view for the case of no onboarding using CMP shared-secret.
- get_context_data(**kwargs)[source]¶
Adds information about the required OpenSSL commands to the context.
- Parameters:
**kwargs (Any) – Keyword arguments passed to super().get_context_data.
- Returns:
The context to render the page.
- Return type:
dict[str, Any]
- _get_cmp_tls_client_profile_cmd_section(*, hidden=False)[source]¶
- Parameters:
hidden (bool)
- Return type:
- _get_cmp_tls_server_profile_cmd_section(*, hidden=False)[source]¶
- Parameters:
hidden (bool)
- Return type:
- _get_cmp_opc_ua_client_profile_cmd_section(*, hidden=False)[source]¶
- Parameters:
hidden (bool)
- Return type:
- _get_cmp_opc_ua_server_profile_cmd_section(*, hidden=False)[source]¶
- Parameters:
hidden (bool)
- Return type:
- class help_pages.devices_help_views.DeviceOnboardingEstDomainCredentialHelpView[source]¶
Bases:
AbstractDeviceOnboardingEstDomainCredentialHelpViewabc.
- class help_pages.devices_help_views.OpcUaGdsOnboardingEstDomainCredentialHelpView[source]¶
Bases:
AbstractDeviceOnboardingEstDomainCredentialHelpViewabc.