Skip to content

Instantly share code, notes, and snippets.

View shettyg's full-sized avatar

Gurucharan Shetty shettyg

  • Google
  • Sunnyvale
View GitHub Profile
@shettyg
shettyg / gist:b028011663dcf95209d963d358a4b809
Created November 8, 2018 18:05
OVN policy with port groups
Ingress Policy Testing
=========
=========
* Create namespace "ns1"
kubectl create -f ~/policy/ns1.yaml
# Should create an empty address_set for that namespace
PS C:\Windows\system32> hnsdiag list all
Networks:
Name ID
l2bridge 4B50C87A-4D40-4942-B5C7-AEBACB9B2986
External F75BCC96-E38E-4F43-BBD1-714C57E20603
Endpoints:
Name ID Virtual Network Name
db6f9018d102ccc5c17d17e0205f11e06b8a19a9de32e5f715f9702a4cf7a0d2_l2bridge de23ff03-1f61-4e4f-8118-c8518cbaa579 l2bridge
Ethernet ab6d4ed1-c2e8-40f3-bfde-a53d18e33bc3 l2bridge