Installing Software Packages
Install Activate Patch (Example 1 of 2)
Install Activate Patch (Example 1 of 2)
POST http://<mgmt0_IP>//api/mo/sys/action.json
{
"actionLCont": {
"children": [
{
"actionLSubj": {
"attributes": {
"dn": "sys/action/lsubj-[sys]"
},
"children" : [
{
"topSystemSwpkgsInstallLTask": {
"attributes": {
"dn": "sys/action/lsubj-[sys]/topSystemSwpkgsInstallLTask",
"pkgAction": "activate",
"adminSt": "start",
"url": "nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000.rpm"
}
}
}
]
}
}
]
}
}
Note: This example was added in Release 9.3(3).
CLI Command
install activate nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000.rpm
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.
MO | DN |
---|---|
actionLCont | sys/action |
actionLSubj | sys/action/lsubj-{[oDn]} |
topSystemSwpkgsInstallLTask | sys/action/lsubj-{[oDn]}/topSystemSwpkgsInstallLTask |
actionLSubj Properties
The following table contains information about the actionLSubj 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. |
topSystemSwpkgsInstallLTask Properties
The following table contains information about the topSystemSwpkgsInstallLTask 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. | |
pkgAction | swpkgs:PackageAction scalar:Enum8 | NO COMMENTS | SELECTION:
|
adminSt | action:AdminSt scalar:Enum8 | The administrative state of the object or policy. | SELECTION:
|
url | reference:URI string:Basic | The external firmware URL. | RANGE: Min: "0" Max: "512" |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Install Activate Patch (Example 2 of 2)
Install Activate Patch (Example 2 of 2)
POST http://<mgmt0_IP>//api/mo/sys/action.json
{
"actionLCont": {
"children": [
{
"actionLSubj": {
"attributes": {
"dn": "sys/action/lsubj-[sys]"
},
"children" : [
{
"topSystemSwpkgsInstallLTask": {
"attributes": {
"dn": "sys/action/lsubj-[sys]/topSystemSwpkgsInstallLTask",
"pkgAction": "activate",
"adminSt": "start",
"url": "nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000"
}
}
}
]
}
}
]
}
}
Note: This example was added in Release 9.3(3).
CLI Command
install activate nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000
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.
MO | DN |
---|---|
actionLCont | sys/action |
actionLSubj | sys/action/lsubj-{[oDn]} |
topSystemSwpkgsInstallLTask | sys/action/lsubj-{[oDn]}/topSystemSwpkgsInstallLTask |
actionLSubj Properties
The following table contains information about the actionLSubj 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. |
topSystemSwpkgsInstallLTask Properties
The following table contains information about the topSystemSwpkgsInstallLTask 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. | |
pkgAction | swpkgs:PackageAction scalar:Enum8 | NO COMMENTS | SELECTION:
|
adminSt | action:AdminSt scalar:Enum8 | The administrative state of the object or policy. | SELECTION:
|
url | reference:URI string:Basic | The external firmware URL. | RANGE: Min: "0" Max: "512" |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Install Add Activate Bootflash Patch
Install Add Activate Bootflash Patch
POST http://<mgmt0_IP>//api/mo/sys/action.json
{
"actionLCont": {
"children": [
{
"actionLSubj": {
"attributes": {
"dn": "sys/action/lsubj-[sys]"
},
"children" : [
{
"topSystemSwpkgsInstallLTask": {
"attributes": {
"dn": "sys/action/lsubj-[sys]/topSystemSwpkgsInstallLTask",
"pkgAction": "add-activate",
"adminSt": "start",
"url": "bootflash:nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000.rpm"
}
}
}
]
}
}
]
}
}
Note: This example was added in Release 9.3(3).
CLI Command
install add bootflash:nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000.rpm activate
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.
MO | DN |
---|---|
actionLCont | sys/action |
actionLSubj | sys/action/lsubj-{[oDn]} |
topSystemSwpkgsInstallLTask | sys/action/lsubj-{[oDn]}/topSystemSwpkgsInstallLTask |
actionLSubj Properties
The following table contains information about the actionLSubj 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. |
topSystemSwpkgsInstallLTask Properties
The following table contains information about the topSystemSwpkgsInstallLTask 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. | |
pkgAction | swpkgs:PackageAction scalar:Enum8 | NO COMMENTS | SELECTION:
|
adminSt | action:AdminSt scalar:Enum8 | The administrative state of the object or policy. | SELECTION:
|
url | reference:URI string:Basic | The external firmware URL. | RANGE: Min: "0" Max: "512" |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Install Add Activate FTP Patch
Install Add Activate FTP Patch
POST http://<mgmt0_IP>//api/mo/sys/action.json
{
"actionLCont": {
"children": [
{
"actionLSubj": {
"attributes": {
"dn": "sys/action/lsubj-[sys]"
},
"children" : [
{
"topSystemSwpkgsInstallLTask": {
"attributes": {
"dn": "sys/action/lsubj-[sys]/topSystemSwpkgsInstallLTask",
"pkgAction": "add-activate",
"adminSt": "start",
"url": "ftp://tester:test123@172.27.250.42/auto/tftpboot/tester/nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000.rpm"
}
}
}
]
}
}
]
}
}
Note: This example was added in Release 9.3(3).
CLI Command
install add ftp://tester:test123@172.27.250.42/auto/tftpboot/tester/nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000.rpm vrf management activate
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.
MO | DN |
---|---|
actionLCont | sys/action |
actionLSubj | sys/action/lsubj-{[oDn]} |
topSystemSwpkgsInstallLTask | sys/action/lsubj-{[oDn]}/topSystemSwpkgsInstallLTask |
actionLSubj Properties
The following table contains information about the actionLSubj 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. |
topSystemSwpkgsInstallLTask Properties
The following table contains information about the topSystemSwpkgsInstallLTask 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. | |
pkgAction | swpkgs:PackageAction scalar:Enum8 | NO COMMENTS | SELECTION:
|
adminSt | action:AdminSt scalar:Enum8 | The administrative state of the object or policy. | SELECTION:
|
url | reference:URI string:Basic | The external firmware URL. | RANGE: Min: "0" Max: "512" |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Install Add Activate TFTP Patch
Install Add Activate TFTP Patch
POST http://<mgmt0_IP>//api/mo/sys/action.json
{
"actionLCont": {
"children": [
{
"actionLSubj": {
"attributes": {
"dn": "sys/action/lsubj-[sys]"
},
"children" : [
{
"topSystemSwpkgsInstallLTask": {
"attributes": {
"dn": "sys/action/lsubj-[sys]/topSystemSwpkgsInstallLTask",
"pkgAction": "add-activate",
"adminSt": "start",
"url": "tftp://172.27.250.42/auto/tftpboot/tester/nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000.rpm"
}
}
}
]
}
}
]
}
}
Note: This example was added in Release 9.3(3).
CLI Command
install add tftp://172.27.250.42/auto/tftpboot/tester/nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000.rpm vrf management activate
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.
MO | DN |
---|---|
actionLCont | sys/action |
actionLSubj | sys/action/lsubj-{[oDn]} |
topSystemSwpkgsInstallLTask | sys/action/lsubj-{[oDn]}/topSystemSwpkgsInstallLTask |
actionLSubj Properties
The following table contains information about the actionLSubj 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. |
topSystemSwpkgsInstallLTask Properties
The following table contains information about the topSystemSwpkgsInstallLTask 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. | |
pkgAction | swpkgs:PackageAction scalar:Enum8 | NO COMMENTS | SELECTION:
|
adminSt | action:AdminSt scalar:Enum8 | The administrative state of the object or policy. | SELECTION:
|
url | reference:URI string:Basic | The external firmware URL. | RANGE: Min: "0" Max: "512" |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Install Add Bootflash Patch
Install Add Bootflash Patch
POST http://<mgmt0_IP>//api/mo/sys/action.json
{
"actionLCont": {
"children": [
{
"actionLSubj": {
"attributes": {
"dn": "sys/action/lsubj-[sys]"
},
"children" : [
{
"topSystemSwpkgsInstallLTask": {
"attributes": {
"dn": "sys/action/lsubj-[sys]/topSystemSwpkgsInstallLTask",
"pkgAction": "add",
"adminSt": "start",
"url": "bootflash:nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000.rpm"
}
}
}
]
}
}
]
}
}
Note: This example was added in Release 9.3(3).
CLI Command
install add bootflash:nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000.rpm
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.
MO | DN |
---|---|
actionLCont | sys/action |
actionLSubj | sys/action/lsubj-{[oDn]} |
topSystemSwpkgsInstallLTask | sys/action/lsubj-{[oDn]}/topSystemSwpkgsInstallLTask |
actionLSubj Properties
The following table contains information about the actionLSubj 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. |
topSystemSwpkgsInstallLTask Properties
The following table contains information about the topSystemSwpkgsInstallLTask 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. | |
pkgAction | swpkgs:PackageAction scalar:Enum8 | NO COMMENTS | SELECTION:
|
adminSt | action:AdminSt scalar:Enum8 | The administrative state of the object or policy. | SELECTION:
|
url | reference:URI string:Basic | The external firmware URL. | RANGE: Min: "0" Max: "512" |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Install Add FTP Patch
Install Add FTP Patch
POST http://<mgmt0_IP>//api/mo/sys/action.json
{
"actionLCont": {
"children": [
{
"actionLSubj": {
"attributes": {
"dn": "sys/action/lsubj-[sys]"
},
"children" : [
{
"topSystemSwpkgsInstallLTask": {
"attributes": {
"dn": "sys/action/lsubj-[sys]/topSystemSwpkgsInstallLTask",
"pkgAction": "add",
"adminSt": "start",
"url": "ftp://tester:test123@172.27.250.42/auto/tftpboot/tester/nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000.rpm"
}
}
}
]
}
}
]
}
}
Note: This example was added in Release 9.3(3).
CLI Command
install add ftp://tester:test123@172.27.250.42/auto/tftpboot/tester/nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000.rpm vrf management
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.
MO | DN |
---|---|
actionLCont | sys/action |
actionLSubj | sys/action/lsubj-{[oDn]} |
topSystemSwpkgsInstallLTask | sys/action/lsubj-{[oDn]}/topSystemSwpkgsInstallLTask |
actionLSubj Properties
The following table contains information about the actionLSubj 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. |
topSystemSwpkgsInstallLTask Properties
The following table contains information about the topSystemSwpkgsInstallLTask 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. | |
pkgAction | swpkgs:PackageAction scalar:Enum8 | NO COMMENTS | SELECTION:
|
adminSt | action:AdminSt scalar:Enum8 | The administrative state of the object or policy. | SELECTION:
|
url | reference:URI string:Basic | The external firmware URL. | RANGE: Min: "0" Max: "512" |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Install Add TFTP Patch
Install Add TFTP Patch
POST http://<mgmt0_IP>//api/mo/sys/action.json
{
"actionLCont": {
"children": [
{
"actionLSubj": {
"attributes": {
"dn": "sys/action/lsubj-[sys]"
},
"children" : [
{
"topSystemSwpkgsInstallLTask": {
"attributes": {
"dn": "sys/action/lsubj-[sys]/topSystemSwpkgsInstallLTask",
"pkgAction": "add",
"adminSt": "start",
"url": "tftp://172.27.250.42/auto/tftpboot/tester/nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000.rpm"
}
}
}
]
}
}
]
}
}
Note: This example was added in Release 9.3(3).
CLI Command
install add tftp://172.27.250.42/auto/tftpboot/tester/nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000.rpm vrf management
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.
MO | DN |
---|---|
actionLCont | sys/action |
actionLSubj | sys/action/lsubj-{[oDn]} |
topSystemSwpkgsInstallLTask | sys/action/lsubj-{[oDn]}/topSystemSwpkgsInstallLTask |
actionLSubj Properties
The following table contains information about the actionLSubj 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. |
topSystemSwpkgsInstallLTask Properties
The following table contains information about the topSystemSwpkgsInstallLTask 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. | |
pkgAction | swpkgs:PackageAction scalar:Enum8 | NO COMMENTS | SELECTION:
|
adminSt | action:AdminSt scalar:Enum8 | The administrative state of the object or policy. | SELECTION:
|
url | reference:URI string:Basic | The external firmware URL. | RANGE: Min: "0" Max: "512" |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Install Commit Patch (Example 1 of 2)
Install Commit Patch (Example 1 of 2)
POST http://<mgmt0_IP>//api/mo/sys/action.json
{
"actionLCont": {
"children": [
{
"actionLSubj": {
"attributes": {
"dn": "sys/action/lsubj-[sys]"
},
"children" : [
{
"topSystemSwpkgsInstallLTask": {
"attributes": {
"dn": "sys/action/lsubj-[sys]/topSystemSwpkgsInstallLTask",
"pkgAction": "commit",
"adminSt": "start",
"url": "nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000.rpm"
}
}
}
]
}
}
]
}
}
Note: This example was added in Release 9.3(3).
CLI Command
install commit nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000.rpm
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.
MO | DN |
---|---|
actionLCont | sys/action |
actionLSubj | sys/action/lsubj-{[oDn]} |
topSystemSwpkgsInstallLTask | sys/action/lsubj-{[oDn]}/topSystemSwpkgsInstallLTask |
actionLSubj Properties
The following table contains information about the actionLSubj 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. |
topSystemSwpkgsInstallLTask Properties
The following table contains information about the topSystemSwpkgsInstallLTask 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. | |
pkgAction | swpkgs:PackageAction scalar:Enum8 | NO COMMENTS | SELECTION:
|
adminSt | action:AdminSt scalar:Enum8 | The administrative state of the object or policy. | SELECTION:
|
url | reference:URI string:Basic | The external firmware URL. | RANGE: Min: "0" Max: "512" |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Install Commit Patch (Example 2 of 2)
Install Commit Patch (Example 2 of 2)
POST http://<mgmt0_IP>//api/mo/sys/action.json
{
"actionLCont": {
"children": [
{
"actionLSubj": {
"attributes": {
"dn": "sys/action/lsubj-[sys]"
},
"children" : [
{
"topSystemSwpkgsInstallLTask": {
"attributes": {
"dn": "sys/action/lsubj-[sys]/topSystemSwpkgsInstallLTask",
"pkgAction": "commit",
"adminSt": "start",
"url": "nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000"
}
}
}
]
}
}
]
}
}
Note: This example was added in Release 9.3(3).
CLI Command
install commit nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000
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.
MO | DN |
---|---|
actionLCont | sys/action |
actionLSubj | sys/action/lsubj-{[oDn]} |
topSystemSwpkgsInstallLTask | sys/action/lsubj-{[oDn]}/topSystemSwpkgsInstallLTask |
actionLSubj Properties
The following table contains information about the actionLSubj 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. |
topSystemSwpkgsInstallLTask Properties
The following table contains information about the topSystemSwpkgsInstallLTask 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. | |
pkgAction | swpkgs:PackageAction scalar:Enum8 | NO COMMENTS | SELECTION:
|
adminSt | action:AdminSt scalar:Enum8 | The administrative state of the object or policy. | SELECTION:
|
url | reference:URI string:Basic | The external firmware URL. | RANGE: Min: "0" Max: "512" |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Install Deactivate Patch (Example 1 of 2)
Install Deactivate Patch (Example 1 of 2)
POST http://<mgmt0_IP>//api/mo/sys/action.json
{
"actionLCont": {
"children": [
{
"actionLSubj": {
"attributes": {
"dn": "sys/action/lsubj-[sys]"
},
"children" : [
{
"topSystemSwpkgsInstallLTask": {
"attributes": {
"dn": "sys/action/lsubj-[sys]/topSystemSwpkgsInstallLTask",
"pkgAction": "deactivate",
"adminSt": "start",
"url": "nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000.rpm"
}
}
}
]
}
}
]
}
}
Note: This example was added in Release 9.3(3).
CLI Command
install deactivate nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000.rpm
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.
MO | DN |
---|---|
actionLCont | sys/action |
actionLSubj | sys/action/lsubj-{[oDn]} |
topSystemSwpkgsInstallLTask | sys/action/lsubj-{[oDn]}/topSystemSwpkgsInstallLTask |
actionLSubj Properties
The following table contains information about the actionLSubj 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. |
topSystemSwpkgsInstallLTask Properties
The following table contains information about the topSystemSwpkgsInstallLTask 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. | |
pkgAction | swpkgs:PackageAction scalar:Enum8 | NO COMMENTS | SELECTION:
|
adminSt | action:AdminSt scalar:Enum8 | The administrative state of the object or policy. | SELECTION:
|
url | reference:URI string:Basic | The external firmware URL. | RANGE: Min: "0" Max: "512" |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Install Deactivate Patch (Example 2 of 2)
Install Deactivate Patch (Example 2 of 2)
POST http://<mgmt0_IP>//api/mo/sys/action.json
{
"actionLCont": {
"children": [
{
"actionLSubj": {
"attributes": {
"dn": "sys/action/lsubj-[sys]"
},
"children" : [
{
"topSystemSwpkgsInstallLTask": {
"attributes": {
"dn": "sys/action/lsubj-[sys]/topSystemSwpkgsInstallLTask",
"pkgAction": "deactivate",
"adminSt": "start",
"url": "nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000"
}
}
}
]
}
}
]
}
}
Note: This example was added in Release 9.3(3).
CLI Command
install deactivate nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000
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.
MO | DN |
---|---|
actionLCont | sys/action |
actionLSubj | sys/action/lsubj-{[oDn]} |
topSystemSwpkgsInstallLTask | sys/action/lsubj-{[oDn]}/topSystemSwpkgsInstallLTask |
actionLSubj Properties
The following table contains information about the actionLSubj 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. |
topSystemSwpkgsInstallLTask Properties
The following table contains information about the topSystemSwpkgsInstallLTask 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. | |
pkgAction | swpkgs:PackageAction scalar:Enum8 | NO COMMENTS | SELECTION:
|
adminSt | action:AdminSt scalar:Enum8 | The administrative state of the object or policy. | SELECTION:
|
url | reference:URI string:Basic | The external firmware URL. | RANGE: Min: "0" Max: "512" |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Install Remove Patch (Example 1 of 2)
Install Remove Patch (Example 1 of 2)
POST http://<mgmt0_IP>//api/mo/sys/action.json
{
"actionLCont": {
"children": [
{
"actionLSubj": {
"attributes": {
"dn": "sys/action/lsubj-[sys]"
},
"children" : [
{
"topSystemSwpkgsInstallLTask": {
"attributes": {
"dn": "sys/action/lsubj-[sys]/topSystemSwpkgsInstallLTask",
"pkgAction": "remove",
"adminSt": "start",
"url": "nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000.rpm"
}
}
}
]
}
}
]
}
}
Note: This example was added in Release 9.3(3).
CLI Command
install remove nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000.rpm
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.
MO | DN |
---|---|
actionLCont | sys/action |
actionLSubj | sys/action/lsubj-{[oDn]} |
topSystemSwpkgsInstallLTask | sys/action/lsubj-{[oDn]}/topSystemSwpkgsInstallLTask |
actionLSubj Properties
The following table contains information about the actionLSubj 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. |
topSystemSwpkgsInstallLTask Properties
The following table contains information about the topSystemSwpkgsInstallLTask 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. | |
pkgAction | swpkgs:PackageAction scalar:Enum8 | NO COMMENTS | SELECTION:
|
adminSt | action:AdminSt scalar:Enum8 | The administrative state of the object or policy. | SELECTION:
|
url | reference:URI string:Basic | The external firmware URL. | RANGE: Min: "0" Max: "512" |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Install Remove Patch (Example 2 of 2)
Install Remove Patch (Example 2 of 2)
POST http://<mgmt0_IP>//api/mo/sys/action.json
{
"actionLCont": {
"children": [
{
"actionLSubj": {
"attributes": {
"dn": "sys/action/lsubj-[sys]"
},
"children" : [
{
"topSystemSwpkgsInstallLTask": {
"attributes": {
"dn": "sys/action/lsubj-[sys]/topSystemSwpkgsInstallLTask",
"pkgAction": "remove",
"adminSt": "start",
"url": "nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000"
}
}
}
]
}
}
]
}
}
Note: This example was added in Release 9.3(3).
CLI Command
install remove nxos.CSC12345-n9k_ALL-1.0.0-9.3.3.lib32_n9000
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.
MO | DN |
---|---|
actionLCont | sys/action |
actionLSubj | sys/action/lsubj-{[oDn]} |
topSystemSwpkgsInstallLTask | sys/action/lsubj-{[oDn]}/topSystemSwpkgsInstallLTask |
actionLSubj Properties
The following table contains information about the actionLSubj 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. |
topSystemSwpkgsInstallLTask Properties
The following table contains information about the topSystemSwpkgsInstallLTask 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 Name | Data Type | Description | Values |
---|---|---|---|
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. | |
pkgAction | swpkgs:PackageAction scalar:Enum8 | NO COMMENTS | SELECTION:
|
adminSt | action:AdminSt scalar:Enum8 | The administrative state of the object or policy. | SELECTION:
|
url | reference:URI string:Basic | The external firmware URL. | RANGE: Min: "0" Max: "512" |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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: