help_pages.devices_help_viewsΒΆ
This module contains all views concerning the help pages used within the devices app.
ClassesΒΆ
Base help view that constructs the context. |
|
Strategy for building the no-onboarding CMP shared-secret help page. |
|
Help view for the case of no onboarding using CMP shared-secret for generic device abstractions. |
|
Help view for the case of no onboarding using CMP shared-secret for OPC-UA GDS abstractions. |
|
Strategy for building the no-onboarding EST username and password help page. |
|
Help view for the case of no onboarding using EST username and password generic device abstractions. |
|
Help view for the case of no onboarding using EST username and password for OPC-UA GDS abstractions. |
|
Strategy for building the onboarding CMP shared-secret help page. |
|
Help view for the case of onboarding using CMP with a domain credential for generic device abstractions. |
|
Help view for the case of onboarding using CMP with a domain credential for OPC-UA GDS abstractions. |
|
Strategy for building the onboarding est username and password help page. |
|
Help view for the case of onboarding using EST username & password for generic device abstractions. |
|
|
Help view for the case of onboarding using EST username & password for OPC-UA GDS abstractions. |
Strategy for building the onboarding cmp app certificate help page. |
|
Help view for the case of onboarding using CMP with client cert for generic device abstractions. |
|
|
Help view for the case of onboarding using CMP with client cert for OPC-UA GDS abstractions. |
Strategy for building the onboarding EST username and password help page. |
|
Help view for the case of onboarding using EST with client cert for generic device abstractions. |
|
|
Help view for the case of onboarding using EST with client cert for OPC-UA GDS abstractions. |
Strategy for building the OPC UA GDS Push onboarding help page. |
|
Help view for OPC UA GDS Push application certificates. |
|
Help view for OPC UA GDS Push onboarding. |
Module ContentsΒΆ
- class help_pages.devices_help_views.BaseHelpView[source]ΒΆ
Bases:
trustpoint.page_context.PageContextMixin,django.views.generic.detail.DetailView[devices.models.DeviceModel]Base help view that constructs the context.
Bases:
help_pages.base.HelpPageStrategyStrategy for building the no-onboarding CMP shared-secret help page.
Builds the required sections.
- Parameters:
help_context (help_pages.base.HelpContext)
- Return type:
tuple[list[help_pages.help_section.HelpSection], str]
Bases:
BaseHelpViewHelp view for the case of no onboarding using CMP shared-secret for generic device abstractions.
Bases:
BaseHelpViewHelp view for the case of no onboarding using CMP shared-secret for OPC-UA GDS abstractions.
- class help_pages.devices_help_views.NoOnboardingEstUsernamePasswordStrategy[source]ΒΆ
Bases:
help_pages.base.HelpPageStrategyStrategy for building the no-onboarding EST username and password help page.
- build_sections(help_context)[source]ΒΆ
Builds the required sections.
- Parameters:
help_context (help_pages.base.HelpContext)
- Return type:
tuple[list[help_pages.help_section.HelpSection], str]
- class help_pages.devices_help_views.DeviceNoOnboardingEstUsernamePasswordHelpView[source]ΒΆ
Bases:
BaseHelpViewHelp view for the case of no onboarding using EST username and password generic device abstractions.
- class help_pages.devices_help_views.OpcUaGdsNoOnboardingEstUsernamePasswordHelpView[source]ΒΆ
Bases:
BaseHelpViewHelp view for the case of no onboarding using EST username and password for OPC-UA GDS abstractions.
Bases:
help_pages.base.HelpPageStrategyStrategy for building the onboarding CMP shared-secret help page.
Builds the required sections.
- Parameters:
help_context (help_pages.base.HelpContext)
- Return type:
tuple[list[help_pages.help_section.HelpSection], str]
Bases:
BaseHelpViewHelp view for the case of onboarding using CMP with a domain credential for generic device abstractions.
Bases:
BaseHelpViewHelp view for the case of onboarding using CMP with a domain credential for OPC-UA GDS abstractions.
- class help_pages.devices_help_views.OnboardingDomainCredentialEstUsernamePasswordStrategy[source]ΒΆ
Bases:
help_pages.base.HelpPageStrategyStrategy for building the onboarding est username and password help page.
- build_sections(help_context)[source]ΒΆ
Builds the required sections.
- Parameters:
help_context (help_pages.base.HelpContext)
- Return type:
tuple[list[help_pages.help_section.HelpSection], str]
- class help_pages.devices_help_views.DeviceOnboardingDomainCredentialEstUsernamePasswordHelpView[source]ΒΆ
Bases:
BaseHelpViewHelp view for the case of onboarding using EST username & password for generic device abstractions.
- class help_pages.devices_help_views.OpcUaGdsOnboardingDomainCredentialEstUsernamePasswordHelpView[source]ΒΆ
Bases:
BaseHelpViewHelp view for the case of onboarding using EST username & password for OPC-UA GDS abstractions.
- class help_pages.devices_help_views.ApplicationCertificateWithCmpDomainCredentialStrategy[source]ΒΆ
Bases:
help_pages.base.HelpPageStrategyStrategy for building the onboarding cmp app certificate help page.
- build_sections(help_context)[source]ΒΆ
Builds the required sections.
- Parameters:
help_context (help_pages.base.HelpContext)
- Return type:
tuple[list[help_pages.help_section.HelpSection], str]
- class help_pages.devices_help_views.DeviceApplicationCertificateWithCmpDomainCredentialHelpView[source]ΒΆ
Bases:
BaseHelpViewHelp view for the case of onboarding using CMP with client cert for generic device abstractions.
- class help_pages.devices_help_views.OpcUaGdsApplicationCertificateWithCmpDomainCredentialHelpView[source]ΒΆ
Bases:
BaseHelpViewHelp view for the case of onboarding using CMP with client cert for OPC-UA GDS abstractions.
- class help_pages.devices_help_views.ApplicationCertificateWithEstDomainCredentialStrategy[source]ΒΆ
Bases:
help_pages.base.HelpPageStrategyStrategy for building the onboarding EST username and password help page.
- build_sections(help_context)[source]ΒΆ
Builds the required sections.
- Parameters:
help_context (help_pages.base.HelpContext)
- Return type:
tuple[list[help_pages.help_section.HelpSection], str]
- class help_pages.devices_help_views.DeviceApplicationCertificateWithEstDomainCredentialHelpView[source]ΒΆ
Bases:
BaseHelpViewHelp view for the case of onboarding using EST with client cert for generic device abstractions.
- class help_pages.devices_help_views.OpcUaGdsApplicationCertificateWithEstDomainCredentialHelpView[source]ΒΆ
Bases:
BaseHelpViewHelp view for the case of onboarding using EST with client cert for OPC-UA GDS abstractions.
- class help_pages.devices_help_views.OpcUaGdsPushOnboardingStrategy[source]ΒΆ
Bases:
help_pages.base.HelpPageStrategyStrategy for building the OPC UA GDS Push onboarding help page.
- build_sections(help_context)[source]ΒΆ
Builds the required sections.
- Parameters:
help_context (help_pages.base.HelpContext)
- Return type:
tuple[list[help_pages.help_section.HelpSection], str]
- _build_summary_section(help_context)[source]ΒΆ
Build the summary section with basic device information.
- Parameters:
help_context (help_pages.base.HelpContext)
- Return type:
- _build_actions_section(device)[source]ΒΆ
Build the actions section with available operations.
- Parameters:
device (devices.models.DeviceModel)
- Return type:
- _build_ca_hierarchy_section(device)[source]ΒΆ
Build the CA hierarchy section with certificate chain information.
- Parameters:
device (devices.models.DeviceModel)
- Return type:
- _build_download_section(device)[source]ΒΆ
Build the download section for trust bundle.
- Parameters:
device (devices.models.DeviceModel)
- Return type:
- class help_pages.devices_help_views.OpcUaGdsPushApplicationCertificateHelpView[source]ΒΆ
Bases:
BaseHelpViewHelp view for OPC UA GDS Push application certificates.