Configuring User-Defined Fields

Configuring UDF Names

Configuring UDF Names 
POST http://<mgmt0_IP>/api/mo/sys/pltfm/udf.json
{
  "platformUdfEntity": {
    "children": [
      {
        "platformUdf": {
          "attributes": {
            "name": "SampleString_123",
            "offsetBase": "inner-header-l4",
            "offsetLength": "2",
            "offsetPosition": "1"
}}}]}}
{
    imdata:[]
}
<System>
  <pltfm-items>
    <udf-items>
      <udf-items>
        <Udf-list>
          <name>SampleString_123</name>
          <offsetBase>inner-header-l4</offsetBase>
          <offsetLength>2</offsetLength>
          <offsetPosition>1</offsetPosition>
        </Udf-list>
      </udf-items>
    </udf-items>
  </pltfm-items>
</System>

Note: This example was added in Release 9.3(1).


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.

udf SampleString_123 header inner l4 1 2


Verifying a DME Configuration

The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.

MODN
platformUdfsys/pltfm/udf/udf-SampleString_123
platformUdfEntitysys/pltfm/udf


platformUdf Properties

The following table contains information about the platformUdf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.

Property NameData TypeDescriptionValues
namestring:Basic
Udf Name
RANGE: [1 , 16]
offsetBaseplatform:UdfOffsetBase
(scalar:Enum8)
Offset BaseSELECTION:
0 - packet-start
1 - outer-header-l3
2 - outer-header-l4
3 - inner-header-l3
4 - inner-header-l4
DEFAULT: packet-start
offsetLengthscalar:UByte
offsetLength 1-2
RANGE: [1 , 2]
offsetPositionscalar:UByte
offsetPosition from base 0-127
RANGE: [0 , 127]


Related Documentation

Note: The property information for this example was added in Release 9.3(3).


Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.

MODN
platformUdfEntity sys/pltfm/udf
platformUdf sys/pltfm/udf/udf-{name}


platformUdf Properties

The following table contains information about the platformUdf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.

Property NameData TypeDescriptionValues
namestring:Basic
Udf Name
RANGE: [1 , 16]
offsetBaseplatform:UdfOffsetBase
(scalar:Enum8)
Offset BaseSELECTION:
0 - packet-start
1 - outer-header-l3
2 - outer-header-l4
3 - inner-header-l3
4 - inner-header-l4
DEFAULT: packet-start
offsetLengthscalar:UByte
offsetLength 1-2
RANGE: [1 , 2]
offsetPositionscalar:UByte
offsetPosition from base 0-127
RANGE: [0 , 127]


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:

https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Deleting UDF Names

Deleting UDF Names 
POST http://<mgmt0_IP>/api/mo/sys/pltfm/udf.json
{
  "platformUdfEntity": {
    "children": [
      {
        "platformUdf": {
          "attributes": {
            "name": "SampleString_123",
            "status": "deleted"
}}}]}}
{
    imdata:[]
}
<System>
  <pltfm-items>
    <udf-items>
      <udf-items>
        <Udf-list xc:operation="delete">
          <name>SampleString_123</name>
        </Udf-list>
      </udf-items>
    </udf-items>
  </pltfm-items>
</System>

Note: This example was added in Release 9.3(1).


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.

no udf SampleString_123 header inner l4 1 2


Verifying a DME Configuration

The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.

MODN
platformUdfsys/pltfm/udf/udf-SampleString_123
platformUdfEntitysys/pltfm/udf


platformUdf Properties

The following table contains information about the platformUdf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.

Property NameData TypeDescriptionValues
namestring:Basic
Udf Name
RANGE: [1 , 16]
statusmo:ModificationStatus
(scalar:Bitmask32)
The upgrade status. This property is for internal use only.SELECTION:
2 - created
4 - modified
8 - deleted
16 - replaced


Related Documentation

Note: The property information for this example was added in Release 9.3(3).


Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.

MODN
platformUdfEntity sys/pltfm/udf
platformUdf sys/pltfm/udf/udf-{name}


platformUdf Properties

The following table contains information about the platformUdf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.

Property NameData TypeDescriptionValues
namestring:Basic
Udf Name
RANGE: [1 , 16]
statusmo:ModificationStatus
(scalar:Bitmask32)
The upgrade status. This property is for internal use only.SELECTION:
2 - created
4 - modified
8 - deleted
16 - replaced


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:

https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Configuring Offset Base From L3 Header

Configuring Offset Base From L3 Header 
POST http://<mgmt0_IP>/api/mo/sys/pltfm/udf.json
{
  "platformUdfEntity": {
    "children": [
      {
        "platformUdf": {
          "attributes": {
            "name": "SampleString_123",
            "offsetBase": "outer-header-l3",
            "offsetLength": "2",
            "offsetPosition": "1"
}}}]}}
{
    imdata:[]
}
<System>
  <pltfm-items>
    <udf-items>
      <udf-items>
        <Udf-list>
          <name>SampleString_123</name>
          <offsetBase>outer-header-l3</offsetBase>
          <offsetLength>2</offsetLength>
          <offsetPosition>1</offsetPosition>
        </Udf-list>
      </udf-items>
    </udf-items>
  </pltfm-items>
</System>

Note: This example was added in Release 9.3(1).


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.

udf SampleString_123 header outer l3 1 2


Verifying a DME Configuration

The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.

MODN
platformUdfsys/pltfm/udf/udf-SampleString_123
platformUdfEntitysys/pltfm/udf


platformUdf Properties

The following table contains information about the platformUdf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.

Property NameData TypeDescriptionValues
namestring:Basic
Udf Name
RANGE: [1 , 16]
offsetBaseplatform:UdfOffsetBase
(scalar:Enum8)
Offset BaseSELECTION:
0 - packet-start
1 - outer-header-l3
2 - outer-header-l4
3 - inner-header-l3
4 - inner-header-l4
DEFAULT: packet-start
offsetLengthscalar:UByte
offsetLength 1-2
RANGE: [1 , 2]
offsetPositionscalar:UByte
offsetPosition from base 0-127
RANGE: [0 , 127]


Related Documentation

Note: The property information for this example was added in Release 9.3(3).


Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.

MODN
platformUdfEntity sys/pltfm/udf
platformUdf sys/pltfm/udf/udf-{name}


platformUdf Properties

The following table contains information about the platformUdf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.

Property NameData TypeDescriptionValues
namestring:Basic
Udf Name
RANGE: [1 , 16]
offsetBaseplatform:UdfOffsetBase
(scalar:Enum8)
Offset BaseSELECTION:
0 - packet-start
1 - outer-header-l3
2 - outer-header-l4
3 - inner-header-l3
4 - inner-header-l4
DEFAULT: packet-start
offsetLengthscalar:UByte
offsetLength 1-2
RANGE: [1 , 2]
offsetPositionscalar:UByte
offsetPosition from base 0-127
RANGE: [0 , 127]


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:

https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Deleting Offset Base From L3 Header

Deleting Offset Base From L3 Header 
POST http://<mgmt0_IP>/api/mo/sys/pltfm/udf.json
{
  "platformUdfEntity": {
    "children": [
      {
        "platformUdf": {
          "attributes": {
            "name": "SampleString_123",
            "status": "deleted"
}}}]}}
{
    imdata:[]
}
<System>
  <pltfm-items>
    <udf-items>
      <udf-items>
        <Udf-list xc:operation="delete">
          <name>SampleString_123</name>
        </Udf-list>
      </udf-items>
    </udf-items>
  </pltfm-items>
</System>

Note: This example was added in Release 9.3(1).


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.

no udf SampleString_123 header outer l3 1 2


Verifying a DME Configuration

The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.

MODN
platformUdfsys/pltfm/udf/udf-SampleString_123
platformUdfEntitysys/pltfm/udf


platformUdf Properties

The following table contains information about the platformUdf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.

Property NameData TypeDescriptionValues
namestring:Basic
Udf Name
RANGE: [1 , 16]
statusmo:ModificationStatus
(scalar:Bitmask32)
The upgrade status. This property is for internal use only.SELECTION:
2 - created
4 - modified
8 - deleted
16 - replaced


Related Documentation

Note: The property information for this example was added in Release 9.3(3).


Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.

MODN
platformUdfEntity sys/pltfm/udf
platformUdf sys/pltfm/udf/udf-{name}


platformUdf Properties

The following table contains information about the platformUdf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.

Property NameData TypeDescriptionValues
namestring:Basic
Udf Name
RANGE: [1 , 16]
statusmo:ModificationStatus
(scalar:Bitmask32)
The upgrade status. This property is for internal use only.SELECTION:
2 - created
4 - modified
8 - deleted
16 - replaced


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:

https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Configuring Offset Base From L4 Header

Configuring Offset Base From L4 Header 
POST http://<mgmt0_IP>/api/mo/sys/pltfm/udf.json
{
  "platformUdfEntity": {
    "children": [
      {
        "platformUdf": {
          "attributes": {
            "name": "SampleString_123",
            "offsetBase": "outer-header-l4",
            "offsetLength": "2",
            "offsetPosition": "1"
}}}]}}
{
    imdata:[]
}
<System>
  <pltfm-items>
    <udf-items>
      <udf-items>
        <Udf-list>
          <name>SampleString_123</name>
          <offsetBase>outer-header-l4</offsetBase>
          <offsetLength>2</offsetLength>
          <offsetPosition>1</offsetPosition>
        </Udf-list>
      </udf-items>
    </udf-items>
  </pltfm-items>
</System>

Note: This example was added in Release 9.3(1).


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.

udf SampleString_123 header outer l4 1 2


Verifying a DME Configuration

The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.

MODN
platformUdfsys/pltfm/udf/udf-SampleString_123
platformUdfEntitysys/pltfm/udf


platformUdf Properties

The following table contains information about the platformUdf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.

Property NameData TypeDescriptionValues
namestring:Basic
Udf Name
RANGE: [1 , 16]
offsetBaseplatform:UdfOffsetBase
(scalar:Enum8)
Offset BaseSELECTION:
0 - packet-start
1 - outer-header-l3
2 - outer-header-l4
3 - inner-header-l3
4 - inner-header-l4
DEFAULT: packet-start
offsetLengthscalar:UByte
offsetLength 1-2
RANGE: [1 , 2]
offsetPositionscalar:UByte
offsetPosition from base 0-127
RANGE: [0 , 127]


Related Documentation

Note: The property information for this example was added in Release 9.3(3).


Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.

MODN
platformUdfEntity sys/pltfm/udf
platformUdf sys/pltfm/udf/udf-{name}


platformUdf Properties

The following table contains information about the platformUdf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.

Property NameData TypeDescriptionValues
namestring:Basic
Udf Name
RANGE: [1 , 16]
offsetBaseplatform:UdfOffsetBase
(scalar:Enum8)
Offset BaseSELECTION:
0 - packet-start
1 - outer-header-l3
2 - outer-header-l4
3 - inner-header-l3
4 - inner-header-l4
DEFAULT: packet-start
offsetLengthscalar:UByte
offsetLength 1-2
RANGE: [1 , 2]
offsetPositionscalar:UByte
offsetPosition from base 0-127
RANGE: [0 , 127]


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:

https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Deleting Offset Base From L4 Header

Deleting Offset Base From L4 Header 
POST http://<mgmt0_IP>/api/mo/sys/pltfm/udf.json
{
  "platformUdfEntity": {
    "children": [
      {
        "platformUdf": {
          "attributes": {
            "name": "SampleString_123",
            "status": "deleted"
}}}]}}
{
    imdata:[]
}
<System>
  <pltfm-items>
    <udf-items>
      <udf-items>
        <Udf-list xc:operation="delete">
          <name>SampleString_123</name>
        </Udf-list>
      </udf-items>
    </udf-items>
  </pltfm-items>
</System>

Note: This example was added in Release 9.3(1).


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.

no udf SampleString_123 header outer l4 1 2


Verifying a DME Configuration

The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.

MODN
platformUdfsys/pltfm/udf/udf-SampleString_123
platformUdfEntitysys/pltfm/udf


platformUdf Properties

The following table contains information about the platformUdf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.

Property NameData TypeDescriptionValues
namestring:Basic
Udf Name
RANGE: [1 , 16]
statusmo:ModificationStatus
(scalar:Bitmask32)
The upgrade status. This property is for internal use only.SELECTION:
2 - created
4 - modified
8 - deleted
16 - replaced


Related Documentation

Note: The property information for this example was added in Release 9.3(3).


Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.

MODN
platformUdfEntity sys/pltfm/udf
platformUdf sys/pltfm/udf/udf-{name}


platformUdf Properties

The following table contains information about the platformUdf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.

Property NameData TypeDescriptionValues
namestring:Basic
Udf Name
RANGE: [1 , 16]
statusmo:ModificationStatus
(scalar:Bitmask32)
The upgrade status. This property is for internal use only.SELECTION:
2 - created
4 - modified
8 - deleted
16 - replaced


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:

https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Configuring Offset Base From L2 Header

Configuring Offset Base From L2 Header 
POST http://<mgmt0_IP>/api/mo/sys/pltfm/udf.json
{
  "platformUdfEntity": {
    "children": [
      {
        "platformUdf": {
          "attributes": {
            "name": "SampleString_123",
            "offsetBase": "packet-start",
            "offsetLength": "2",
            "offsetPosition": "1"
}}}]}}
{
    imdata:[]
}
<System>
  <pltfm-items>
    <udf-items>
      <udf-items>
        <Udf-list>
          <name>SampleString_123</name>
          <offsetBase>packet-start</offsetBase>
          <offsetLength>2</offsetLength>
          <offsetPosition>1</offsetPosition>
        </Udf-list>
      </udf-items>
    </udf-items>
  </pltfm-items>
</System>

Note: This example was added in Release 9.3(1).


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.

udf SampleString_123 packet-start 1 2


Verifying a DME Configuration

The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.

MODN
platformUdfsys/pltfm/udf/udf-SampleString_123
platformUdfEntitysys/pltfm/udf


platformUdf Properties

The following table contains information about the platformUdf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.

Property NameData TypeDescriptionValues
namestring:Basic
Udf Name
RANGE: [1 , 16]
offsetBaseplatform:UdfOffsetBase
(scalar:Enum8)
Offset BaseSELECTION:
0 - packet-start
1 - outer-header-l3
2 - outer-header-l4
3 - inner-header-l3
4 - inner-header-l4
DEFAULT: packet-start
offsetLengthscalar:UByte
offsetLength 1-2
RANGE: [1 , 2]
offsetPositionscalar:UByte
offsetPosition from base 0-127
RANGE: [0 , 127]


Related Documentation

Note: The property information for this example was added in Release 9.3(3).


Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.

MODN
platformUdfEntity sys/pltfm/udf
platformUdf sys/pltfm/udf/udf-{name}


platformUdf Properties

The following table contains information about the platformUdf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.

Property NameData TypeDescriptionValues
namestring:Basic
Udf Name
RANGE: [1 , 16]
offsetBaseplatform:UdfOffsetBase
(scalar:Enum8)
Offset BaseSELECTION:
0 - packet-start
1 - outer-header-l3
2 - outer-header-l4
3 - inner-header-l3
4 - inner-header-l4
DEFAULT: packet-start
offsetLengthscalar:UByte
offsetLength 1-2
RANGE: [1 , 2]
offsetPositionscalar:UByte
offsetPosition from base 0-127
RANGE: [0 , 127]


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:

https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Deleting Offset Base From L2 Header

Deleting Offset Base From L2 Header 
POST http://<mgmt0_IP>/api/mo/sys/pltfm/udf.json
{
  "platformUdfEntity": {
    "children": [
      {
        "platformUdf": {
          "attributes": {
            "name": "SampleString_123",
            "status": "deleted"
}}}]}}
{
    imdata:[]
}
<System>
  <pltfm-items>
    <udf-items>
      <udf-items>
        <Udf-list xc:operation="delete">
          <name>SampleString_123</name>
        </Udf-list>
      </udf-items>
    </udf-items>
  </pltfm-items>
</System>

Note: This example was added in Release 9.3(1).


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.

no udf SampleString_123 packet-start 1 2


Verifying a DME Configuration

The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.

MODN
platformUdfsys/pltfm/udf/udf-SampleString_123
platformUdfEntitysys/pltfm/udf


platformUdf Properties

The following table contains information about the platformUdf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.

Property NameData TypeDescriptionValues
namestring:Basic
Udf Name
RANGE: [1 , 16]
statusmo:ModificationStatus
(scalar:Bitmask32)
The upgrade status. This property is for internal use only.SELECTION:
2 - created
4 - modified
8 - deleted
16 - replaced


Related Documentation

Note: The property information for this example was added in Release 9.3(3).


Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.

MODN
platformUdfEntity sys/pltfm/udf
platformUdf sys/pltfm/udf/udf-{name}


platformUdf Properties

The following table contains information about the platformUdf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.

Property NameData TypeDescriptionValues
namestring:Basic
Udf Name
RANGE: [1 , 16]
statusmo:ModificationStatus
(scalar:Bitmask32)
The upgrade status. This property is for internal use only.SELECTION:
2 - created
4 - modified
8 - deleted
16 - replaced


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:

https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html