Hi all,

Currently, it's not allowed to do the following as you cannot wrap case 
statements in a grouping.

grouping common-cases {
  case b {
    leaf b {
    }
  }

  case c {
    leaf c {
    }
  }
}

container alpha {
  choice my-first-choice {
    case a {
      leaf a {
      }
    }

    uses common-cases;
  }
}

container beta {
  choice my-second-choice {
    case d {
      leaf d {
      }
    }
    uses common-cases;
  }
}



I was wondering why this restriction is in place.  I know you have to be 
careful with name collisions but that's true of just a grouping of leafs.  Am I 
missing something?

Best Regards,
Joey

_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to