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

endpoints_sdwan.yaml is not formatted properly for UX2.0 #60

Open
tzarski0 opened this issue Oct 21, 2024 · 0 comments
Open

endpoints_sdwan.yaml is not formatted properly for UX2.0 #60

tzarski0 opened this issue Oct 21, 2024 · 0 comments

Comments

@tzarski0
Copy link
Contributor

tzarski0 commented Oct 21, 2024

For UX2.0, when /v1/ APIs are formatted and child is nested more than 1 time, the formatting is wrong. For example currently for transport interface, the formatting is:

- name: transport_feature_profile
  endpoint: /v1/feature-profile/sdwan/transport
  children:
  - name: transport_tracker
    endpoint: /tracker
  - name: transport_routing_bgp
    endpoint: /routing/bgp
  - name: transport_wan_vpn_interface_cellular
    endpoint: /wan/vpn/%s/interface/cellular
  - name: transport_routing_ospfv3_ipv4
    endpoint: /routing/ospfv3/ipv4
  - name: transport_t1_e1_controller
    endpoint: /t1-e1-controller
  - name: transport_gps
    endpoint: /gps
  - name: transport_wan_vpn_interface_gre
    endpoint: /wan/vpn/%s/interface/gre
  - name: transport_wan_vpn
    endpoint: /wan/vpn

And the proper format should be:

- name: transport_feature_profile
  endpoint: /v1/feature-profile/sdwan/transport
  children:
  - name: transport_tracker
    endpoint: /tracker
  - name: transport_routing_bgp
    endpoint: /routing/bgp
  - name: transport_routing_ospfv3_ipv4
    endpoint: /routing/ospfv3/ipv4
  - name: transport_t1_e1_controller
    endpoint: /t1-e1-controller
  - name: transport_gps
    endpoint: /gps
  - name: transport_wan_vpn
    endpoint: /wan/vpn
    children:
    - name: transport_wan_vpn_interface_cellular
      endpoint: /interface/cellular
    - name: transport_wan_vpn_interface_gre
      endpoint: /interface/gre
@tzarski0 tzarski0 changed the title endpoints_sdwan.yaml is not formatted properly endpoints_sdwan.yaml is not formatted properly for UX2.0 Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant