Capability

class ydk.path.Capability(model, revision)

An instance of Capability is defined by the module name and revision.

Parameters
  • model – (str) Model name.

  • revision – (str) Model revision.

Note

If no revision is provided, use empty string:

>>> from ydk.path import Capability
>>> cap1 = Capability('openconfig-bgp', '')
>>> cap2 = Capability('openconfig-bgp', '2015-10-09')