github.com/k8snetworkplumbingwg/sriov-network-operator@v1.2.1-0.20240408194816-2d2e5a45d453/pkg/platforms/openstack/testdata/network_data.json (about)

     1  {                                                                                                                                                                                                                                                                                 
     2    "links": [                                                                                                                                                                                                                                                   
     3      {                                                                                                                                    
     4        "id": "tapa046a03c-49",                                                                                                                                                                                                                                  
     5        "vif_id": "a046a03c-4996-4212-8f23-3b8f197b03b3",                                                                                                                                                                                                        
     6        "type": "ovs",                                                                                                                                                                                                                                           
     7        "mtu": 1500,                                                                                                             
     8        "ethernet_mac_address": "fa:16:3e:9c:9f:89"                                                                              
     9      },                                                                                                                         
    10      {                                                                                                                          
    11        "id": "tapdc2a9cd3-f7",                                                                                                  
    12        "vif_id": "dc2a9cd3-f7f5-40df-9d52-328f86e6011b",                                                                        
    13        "type": "hw_veb",                                                                                                        
    14        "mtu": 9000,                                                                                                             
    15        "ethernet_mac_address": "fa:16:3e:00:00:00"                                                                              
    16      },                                                                                                                         
    17      {                                                                                                                          
    18        "id": "tapce5054e4-c6",                                                                                                  
    19        "vif_id": "ce5054e4-c65a-4c28-843c-155ab8fed825",                                                                        
    20        "type": "hw_veb",                                                                                                                                                                                                                                        
    21        "mtu": 9000,                                                                                                             
    22        "ethernet_mac_address": "fa:16:3e:11:11:11"                                                                                                                                                                                                              
    23      }                                                                                                                          
    24    ],                                                                                                                           
    25    "networks": [                                                                                                                
    26      {                                                                                                                          
    27        "id": "network0",                                                                                                        
    28        "type": "ipv4_dhcp",                                                                                                                                                                                                                                     
    29        "link": "tapa046a03c-49",                                                                                                
    30        "network_id": "5765e37b-0a13-49d2-a598-537178ce254f"                                                                     
    31      },                                                    
    32      {                                                                    
    33        "id": "network1",                                                  
    34        "type": "ipv4",                                                    
    35        "link": "tapdc2a9cd3-f7",                                          
    36        "ip_address": "192.168.177.4",                                           
    37        "netmask": "255.255.255.0",                                              
    38        "routes": [                                                              
    39          {                                                                      
    40            "network": "0.0.0.0",                                                
    41            "netmask": "0.0.0.0",                                                
    42            "gateway": "192.168.177.1"                                                   
    43          }                                                                              
    44        ],                                                                               
    45        "network_id": "b3ba899a-e06c-49da-93c5-c992048390b2",                            
    46        "services": []                                                                   
    47      },                                                                                 
    48      {                                                                                  
    49        "id": "network2",                                                                
    50        "type": "ipv4",                                                                  
    51        "link": "tapce5054e4-c6",                                                        
    52        "ip_address": "192.168.178.107",                                                 
    53        "netmask": "255.255.255.0",                                                              
    54        "routes": [                                                                              
    55          {                                                                                      
    56            "network": "0.0.0.0",                                                                
    57            "netmask": "0.0.0.0",                                                                
    58            "gateway": "192.168.178.1"                                                                      
    59          }                                                                                                 
    60        ],                                                                                                  
    61        "network_id": "a81317cb-aa3d-4675-99cf-aa049f964a3c",                                               
    62        "services": []                                                                                      
    63      }                                                                                                     
    64    ],                                                                                                      
    65    "services": [                                                                                           
    66      {                                                                                                     
    67        "type": "dns",                                                                                      
    68        "address": "10.1.2.3"                                                                            
    69      }                                                                                                    
    70    ]                                                                                                                    
    71  }