Skip to content

Commit

Permalink
Implement image fetcher feature
Browse files Browse the repository at this point in the history
Sync nsx.vmware.com/node-id annotation of subnetport with nsx-t.
Sync wcp.vmware.com/image-fetcher: "true" and namespace_uid label of subnetport with tags of nsx-t.

Signed-off-by: Xie Zheng <[email protected]>
  • Loading branch information
zhengxiexie committed Feb 23, 2024
1 parent 6dc108a commit 352b46c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
8 changes: 0 additions & 8 deletions pkg/nsx/services/securitypolicy/builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,6 @@ func TestBuildTargetTags(t *testing.T) {
Scope: &tagScopeNamespace,
Tag: &tagValueNS,
},
{
Scope: &tagScopeNamespaceUID,
Tag: &tagValueNSUID,
},
{
Scope: &tagScopeSecurityPolicyCRName,
Tag: &tagValuePolicyCRName,
Expand Down Expand Up @@ -300,10 +296,6 @@ func TestBuildPeerTags(t *testing.T) {
Scope: &tagScopeNamespace,
Tag: &tagValueNS,
},
{
Scope: &tagScopeNamespaceUID,
Tag: &tagValueNSUID,
},
{
Scope: &tagScopeSecurityPolicyCRName,
Tag: &tagValuePolicyCRName,
Expand Down
5 changes: 0 additions & 5 deletions pkg/nsx/services/securitypolicy/firewall_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ var (
tagScopeGroupType = common.TagScopeGroupType
tagScopeCluster = common.TagScopeCluster
tagScopeNamespace = common.TagScopeNamespace
tagScopeNamespaceUID = common.TagScopeNamespaceUID
tagScopeSecurityPolicyCRName = common.TagValueScopeSecurityPolicyName
tagScopeSecurityPolicyCRUID = common.TagValueScopeSecurityPolicyUID
tagScopeRuleID = common.TagScopeRuleID
Expand Down Expand Up @@ -263,10 +262,6 @@ var (
Scope: &tagScopeNamespace,
Tag: &tagValueNS,
},
{
Scope: &tagScopeNamespaceUID,
Tag: &tagValueNSUID,
},
{
Scope: &tagScopeSecurityPolicyCRName,
Tag: &tagValuePolicyCRName,
Expand Down

0 comments on commit 352b46c

Please sign in to comment.