---
apiVersion: core.eda.nokia.com/v1
kind: NodeProfile
metadata:
  labels: 
    eda.nokia.com/security-profile: managed
  name: {{ profile_name }}
  namespace: {{ namespace }}
spec:
  annotate: {{ annotate | default("true") }}
  dhcp:
    dhcp4Options:
      - option: 6-DomainNameServer
        value:
          - 10.2.255.1
    managementPoolv4: ipv4-mgmt-pool
    preferredAddressFamily: IPv4
  images:
  - image: fake.bin
    imageMd5: fake.bin.md5
  license: {{ license }}
  nodeUser: {{ node_user }}
  onboardingPassword: {{ onboarding_password }}
  onboardingUsername: {{ onboarding_username }}
  operatingSystem: {{ operating_system }}
  port: {{ gnmi_port }}
  version: {{ sw_version }}
{% if version_path is defined and version_path != "" %}
  versionPath: {{ version_path }}
{% else %}
  versionPath: ""
{% endif %}
{% if version_match is defined and version_match != "" %}
  versionMatch: {{ version_match }}
{% else %}
  versionMatch: ""
{% endif %}
  yang: {{ yang_path }}
