go.ligato.io/vpp-agent/v3@v3.5.0/examples/kvscheduler/mock_plugins/ifplugin/model/interface.proto (about)

     1  syntax = "proto3";
     2  
     3  package mock.interfaces;
     4  
     5  option go_package = "go.ligato.io/vpp-agent/v3/examples/kvscheduler/mock_plugins/ifplugin/model;mock_interfaces";
     6  
     7  message Interface {
     8      enum Type {
     9          UNDEFINED_TYPE = 0;
    10          LOOPBACK = 1;
    11          TAP = 2;
    12      };
    13  
    14      string name = 1;         /* interface name (in our simplified example used as both logical and host name) */
    15      Type type = 2;           /* interface type */
    16      bool enabled = 3;        /* interface admin status (UP/DOWN) */
    17      string phys_address = 4; /* interface MAC address */
    18  };
    19