blob: 7c6ccbf7e53da566dcfd207b7cdaf41e3ad9fcd2 [file] [log] [blame]
module ietf-inet2 {
namespace "yang:all2";
prefix "inet2";
yang-version 1;
rpc get-port {
input {
leaf port {
type int32;
}
leaf-list port-id {
type string;
}
}
output {
container port {
leaf port-number {
type enumeration {
enum zero-0;
}
}
leaf ip {
type int32;
}
}
}
}
}