Skip to content

Commit

Permalink
Resolve issue with updating existing entries within policy objects (C…
Browse files Browse the repository at this point in the history
  • Loading branch information
seconroy authored Nov 20, 2024
1 parent 01d7ec6 commit f86bf9e
Show file tree
Hide file tree
Showing 66 changed files with 83 additions and 191 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ minimum_version: 20.12.0
test_tags: [SDWAN_2012]
skip_minimum_test: true
parcel_type: policy_object
full_update: true
attributes:
- tf_name: feature_profile_id
reference: true
Expand All @@ -20,13 +21,11 @@ attributes:
mandatory: true
attributes:
- model_name: color
id: true
mandatory: true
example: 3g
- model_name: dscp
example: 45
- model_name: forwardingClass
id: true
mandatory: true
example: classlist1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ minimum_version: 20.12.0
test_tags: [SDWAN_2012]
skip_minimum_test: true
parcel_type: policy_object
full_update: true
attributes:
- tf_name: feature_profile_id
reference: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ minimum_version: 20.12.0
test_tags: [SDWAN_2012]
skip_minimum_test: true
parcel_type: policy_object
full_update: true
attributes:
- tf_name: feature_profile_id
reference: true
Expand All @@ -22,7 +23,6 @@ attributes:
attributes:
- model_name: asPath
tf_name: as_path_list
id: true
mandatory: true
example: 110

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ minimum_version: 20.12.0
test_tags: [SDWAN_2012]
skip_minimum_test: true
parcel_type: policy_object
full_update: true
attributes:
- tf_name: feature_profile_id
reference: true
Expand All @@ -17,7 +18,6 @@ attributes:
mandatory: true
attributes:
- model_name: queue
id: true
mandatory: true
example: 0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ minimum_version: 20.12.0
test_tags: [SDWAN_2012]
skip_minimum_test: true
parcel_type: policy_object
full_update: true
attributes:
- tf_name: feature_profile_id
reference: true
Expand All @@ -17,7 +18,6 @@ attributes:
mandatory: true
attributes:
- model_name: color
id: true
mandatory: true
example: blue

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ minimum_version: 20.12.0
test_tags: [SDWAN_2012]
skip_minimum_test: true
parcel_type: policy_object
full_update: true
attributes:
- tf_name: feature_profile_id
reference: true
Expand All @@ -17,7 +18,6 @@ attributes:
mandatory: true
attributes:
- model_name: ipv4Address
id: true
mandatory: true
example: 10.0.0.0
- model_name: ipv4PrefixLength
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ minimum_version: 20.12.0
test_tags: [SDWAN_2012]
skip_minimum_test: true
parcel_type: policy_object
full_update: true
attributes:
- tf_name: feature_profile_id
reference: true
Expand All @@ -17,7 +18,6 @@ attributes:
mandatory: true
attributes:
- model_name: ipv6Address
id: true
mandatory: true
example: 2001:db8:85a3::8a2e:370:7334
- model_name: ipv6PrefixLength
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ minimum_version: 20.12.0
test_tags: [SDWAN_2012]
skip_minimum_test: true
parcel_type: policy_object
full_update: true
attributes:
- tf_name: feature_profile_id
reference: true
Expand All @@ -15,7 +16,6 @@ attributes:
test_value: sdwan_policy_object_feature_profile.test.id
- model_name: expandedCommunityList
tf_name: expanded_community_lists
id: true
mandatory: true
example: abcd

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ minimum_version: 20.12.0
test_tags: [SDWAN_2012]
skip_minimum_test: true
parcel_type: policy_object
full_update: true
attributes:
- tf_name: feature_profile_id
reference: true
Expand All @@ -18,7 +19,6 @@ attributes:
attributes:
- model_name: extCommunity
tf_name: extended_community
id: true
mandatory: true
example: "soo 10.0.0.1:30"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ rest_endpoint: /v1/feature-profile/sdwan/policy-object/%v/prefix
minimum_version: 20.12.0
test_tags: [SDWAN_2012]
parcel_type: policy_object
full_update: true
attributes:
- tf_name: feature_profile_id
reference: true
Expand All @@ -16,12 +17,10 @@ attributes:
mandatory: true
attributes:
- model_name: ipv4Address
id: true
mandatory: true
example: 10.0.0.0
minimum_test_value: '"10.0.0.0"'
- model_name: ipv4PrefixLength
id: true
mandatory: true
example: 8
minimum_test_value: "8"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ rest_endpoint: /v1/feature-profile/sdwan/policy-object/%v/ipv6-prefix
minimum_version: 20.12.0
test_tags: [SDWAN_2012]
parcel_type: policy_object
full_update: true
attributes:
- tf_name: feature_profile_id
reference: true
Expand All @@ -16,12 +17,10 @@ attributes:
mandatory: true
attributes:
- model_name: ipv6Address
id: true
mandatory: true
example: 2001:db8:85a3::8a2e:370:7334
minimum_test_value: '"2001:db8:85a3::8a2e:370:7334"'
- model_name: ipv6PrefixLength
id: true
mandatory: true
example: 64
minimum_test_value: "64"
Expand Down
3 changes: 1 addition & 2 deletions gen/definitions/profile_parcels/policy_object_mirror.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ minimum_version: 20.12.0
test_tags: [SDWAN_2012]
skip_minimum_test: true
parcel_type: policy_object
full_update: true
attributes:
- tf_name: feature_profile_id
reference: true
Expand All @@ -18,12 +19,10 @@ attributes:
attributes:
- model_name: remoteDestIp
tf_name: remote_destination_ip
id: true
mandatory: true
example: 10.0.0.1
- model_name: sourceIp
tf_name: source_ip
id: true
mandatory: true
example: 10.0.0.2

Expand Down
4 changes: 1 addition & 3 deletions gen/definitions/profile_parcels/policy_object_policer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ minimum_version: 20.12.0
test_tags: [SDWAN_2012]
skip_minimum_test: true
parcel_type: policy_object
full_update: true
attributes:
- tf_name: feature_profile_id
reference: true
Expand All @@ -18,17 +19,14 @@ attributes:
attributes:
- model_name: burst
tf_name: burst_bytes
id: true
mandatory: true
example: 56500
- model_name: exceed
tf_name: exceed_action
id: true
mandatory: true
example: remark
- model_name: rate
tf_name: rate_bps
id: true
mandatory: true
example: 60000

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ minimum_version: 20.12.0
test_tags: [SDWAN_2012]
skip_minimum_test: true
parcel_type: policy_object
full_update: true
attributes:
- tf_name: feature_profile_id
reference: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ minimum_version: 20.12.0
test_tags: [SDWAN_2012]
skip_minimum_test: true
parcel_type: policy_object
full_update: true
attributes:
- tf_name: feature_profile_id
reference: true
Expand All @@ -17,7 +18,6 @@ attributes:
mandatory: true
attributes:
- model_name: ipPrefix
id: true
mandatory: true
example: 10.0.0.0/12

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ minimum_version: 20.12.0
test_tags: [SDWAN_2012]
skip_minimum_test: true
parcel_type: policy_object
full_update: true
attributes:
- tf_name: feature_profile_id
reference: true
Expand All @@ -17,7 +18,6 @@ attributes:
mandatory: true
attributes:
- model_name: pattern
id: true
mandatory: true
example: cisco.com

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ minimum_version: 20.12.0
test_tags: [SDWAN_2012]
skip_minimum_test: true
parcel_type: policy_object
full_update: true
attributes:
- tf_name: feature_profile_id
reference: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ minimum_version: 20.12.0
test_tags: [SDWAN_2012]
skip_minimum_test: true
parcel_type: policy_object
full_update: true
attributes:
- tf_name: feature_profile_id
reference: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ minimum_version: 20.12.0
test_tags: [SDWAN_2012]
parcel_type: policy_object
skip_minimum_test: true
full_update: true
attributes:
- tf_name: feature_profile_id
reference: true
Expand All @@ -17,11 +18,9 @@ attributes:
mandatory: true
attributes:
- model_name: generatorId
id: true
mandatory: true
example: 1234
- model_name: signatureId
id: true
mandatory: true
example: 5678

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ minimum_version: 20.12.0
test_tags: [SDWAN_2012]
skip_minimum_test: true
parcel_type: policy_object
full_update: true
attributes:
- tf_name: feature_profile_id
reference: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ minimum_version: 20.12.0
test_tags: [SDWAN_2012]
skip_minimum_test: true
parcel_type: policy_object
full_update: true
attributes:
- tf_name: feature_profile_id
reference: true
Expand All @@ -18,7 +19,6 @@ attributes:
attributes:
- model_name: nameServer
tf_name: local_domain
id: true
mandatory: true
example: hello.com

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ minimum_version: 20.12.0
test_tags: [SDWAN_2012]
skip_minimum_test: true
parcel_type: policy_object
full_update: true
attributes:
- tf_name: feature_profile_id
reference: true
Expand All @@ -17,7 +18,6 @@ attributes:
mandatory: true
attributes:
- model_name: port
id: true
mandatory: true
example: 100

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ minimum_version: 20.12.0
test_tags: [SDWAN_2012]
skip_minimum_test: true
parcel_type: policy_object
full_update: true
attributes:
- tf_name: feature_profile_id
reference: true
Expand All @@ -16,11 +17,9 @@ attributes:
mandatory: true
attributes:
- model_name: sgtName
id: true
mandatory: true
example: ANY
- model_name: tag
id: true
mandatory: true
example: 65535

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ test_tags: [SDWAN_2012]
skip_minimum_test: true
parcel_type: policy_object
type_value: urlallowed
full_update: true
attributes:
- tf_name: feature_profile_id
reference: true
Expand All @@ -18,7 +19,6 @@ attributes:
mandatory: true
attributes:
- model_name: pattern
id: true
mandatory: true
example: www.cisco.com

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ test_tags: [SDWAN_2012]
skip_minimum_test: true
parcel_type: policy_object
type_value: urlblocked
full_update: true
attributes:
- tf_name: feature_profile_id
reference: true
Expand All @@ -18,7 +19,6 @@ attributes:
mandatory: true
attributes:
- model_name: pattern
id: true
mandatory: true
example: www.cisco.com

Expand Down
Loading

0 comments on commit f86bf9e

Please sign in to comment.